qt6-bb10/src/plugins
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
..
doc/snippets/code Doc: Move literal code block to a separate file 2018-10-15 10:55:18 +00:00
generic tslib: Add missing override annotation 2020-07-28 09:29:33 +02:00
imageformats cmake: Slience bening warnings in 3rdparty code 2020-07-20 10:35:39 +02:00
platforminputcontexts Use QList instead of QVector in plugins 2020-07-06 13:43:20 +02:00
platforms Make QFontDatabase member functions static 2020-08-06 11:43:24 +02:00
platformthemes Use QList instead of QVector in plugins 2020-07-06 13:43:20 +02:00
printsupport Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
sqldrivers Fix some MSVC int conversion warnings 2020-07-17 22:14:43 +02:00
styles Windows QPA: Move some internal functions to the new interface 2020-07-28 13:21:10 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
plugins.pro Remove winrt 2020-06-06 20:25:49 +02:00