qt5base-lts/tests/auto/widgets/dialogs
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
..
qcolordialog CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qdialog Fix warnings about unused variables and functions in tests 2020-07-26 18:06:46 +02:00
qerrormessage CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qfiledialog CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qfiledialog2 CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qfilesystemmodel CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qfontdialog Make QFontDatabase member functions static 2020-08-06 11:43:24 +02:00
qinputdialog CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qmessagebox CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qprogressdialog CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qsidebar CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qwizard CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
dialogs.pro Remove winrt 2020-06-06 20:25:49 +02:00