qt5base-lts/tests/auto/widgets
Eskil Abrahamsen Blomfeldt 76068d0114 Make QFontDatabase member functions static
QFontDatabase is a singleton and all instances would share
a single, mutex-protected global data pointer. But some functions
were implemented as non-static functions. This caused a lot
of code on the form

	QFontDatabase().families(...)

since there was no static access. Other functions were implemented
as static.

To consolidate, we make all functions static. This should be
source-compatible, but not binary compatible.

[ChangeLog][QtGui][Fonts] Some functions in QFontDatabase were in
principle static, but previously not implemented as such. All
member functions have now been made static, so that constructing
objects of QFontDatabase is no longer necessary to access certain
functionality.

Fixes: QTBUG-83284
Change-Id: Ifd8c15016281c71f631b53387402c942cd9c43f6
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
2020-08-06 11:43:24 +02:00
..
dialogs Make QFontDatabase member functions static 2020-08-06 11:43:24 +02:00
effects CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
graphicsview tst_QGraphicsSceneIndex::clear: Don't assume only one repaint 2020-07-23 10:04:01 +02:00
itemviews Fix misplaced nullptr, used for a flag value 2020-07-27 11:20:14 +02:00
kernel qnsview: don't active QWindows inside NSWindows that are not key 2020-07-22 09:08:32 +02:00
styles Add missing enumeration case in tst_QMacStyle::setSize 2020-07-29 14:33:19 +02:00
util Refactor pointer event hierarchy 2020-07-10 14:32:56 +02:00
widgets Fix warnings about unused variables and functions in tests 2020-07-26 18:06:46 +02:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00