qt5base-lts/tests/manual
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
..
cocoa CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
corelib/tools Use QList instead of QVector in other qtbase tests 2020-07-07 11:48:45 +02:00
diaglib QLogging: purge deprecated qInstallMsgHandler(QtMsgHandler) 2020-07-23 11:05:53 +02:00
dialogs CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
embeddedintoforeignwindow Fix some compiler errors caused by bit-rot in manual tests 2020-07-27 11:20:35 +02:00
filetest CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
foreignwindows CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
gestures Fix some compiler errors caused by bit-rot in manual tests 2020-07-27 11:20:35 +02:00
highdpi Fix some compiler errors caused by bit-rot in manual tests 2020-07-27 11:20:35 +02:00
inputmethodhints CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
keypadnavigation CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
lance CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
markdown CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
mkspecs Updated license headers 2016-01-21 18:55:18 +00:00
network_remote_stresstest CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
network_stresstest Clean up manual network stress-test 2020-07-27 11:25:11 +02:00
qcursor CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qdesktopservices CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qgraphicsitem CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qgraphicsitemgroup CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qgraphicslayout/flicker Fix some compiler errors caused by bit-rot in manual tests 2020-07-27 11:20:35 +02:00
qhttpnetworkconnection Fix some compiler errors caused by bit-rot in manual tests 2020-07-27 11:20:35 +02:00
qimagereader CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qlayout CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qlocale CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qmetatype CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qmimedatabase CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qnetconmonitor CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qnetworkaccessmanager/qget CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qnetworkreply Fix some compiler errors caused by bit-rot in manual tests 2020-07-27 11:20:35 +02:00
qopenglcontext CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qopengltextureblitter CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qopenglwidget/openglwidget CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qopenglwindow/multiwindow CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qprintdevice_dump CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qscreen CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qssloptions CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qsslsocket CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qstorageinfo CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qsysinfo Fix some compiler errors caused by bit-rot in manual tests 2020-07-27 11:20:35 +02:00
qt_poll CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qtabbar Fix some compiler errors caused by bit-rot in manual tests 2020-07-27 11:20:35 +02:00
qtabletevent CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qtbug-8933 CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qtbug-52641 CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qtexteditlist CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qtexttableborders CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qtouchevent CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qvulkaninstance CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qwidget_zorder CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
repaint CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
rhi CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
shortcuts CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
socketengine CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
startsystemmove Add QWindow::startSystemMove and startSystemResize 2020-01-28 16:52:13 +01:00
textrendering Make QFontDatabase member functions static 2020-08-06 11:43:24 +02:00
touch Manual touch test: Add a settings dialog for windows 2020-07-22 19:46:09 +02:00
touchGraphicsItem Refactor pointer event hierarchy 2020-07-10 14:32:56 +02:00
transientwindow CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
triangulator CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
unc CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
wasm wasm: support all cursor shapes 2019-12-30 14:30:22 +03:00
widgetgrab CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
widgets Remove last remaining bits of QtPlatformHeaders 2020-08-04 07:12:32 +02:00
windowchildgeometry CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
windowflags Fix some compiler errors caused by bit-rot in manual tests 2020-07-27 11:20:35 +02:00
windowgeometry Fix some compiler errors caused by bit-rot in manual tests 2020-07-27 11:20:35 +02:00
windowmodality CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
windowtransparency CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
xcb_gl_integration CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
xembed-raster CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
xembed-widgets CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
.prev_CMakeLists.txt CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
CMakeLists.txt CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
manual.pro QtNetwork: Delete bearer management 2020-04-05 16:41:08 +02:00