summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsfontdatabase.h
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2014-01-30 05:21:29 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-30 12:44:23 +0100
commite4588b70dde3fe5ba8f77a0b749ec1b071346767 (patch)
tree0349d0f7cc3297a26a99bc4be92747906927543b /src/plugins/platforms/windows/qwindowsfontdatabase.h
parentd437457becef4409682caee15e1050889a977f91 (diff)
QWindowsFontDatabaseFT: Code deduplication
Re-use a private helper API from QWindowsFontDatabase. This also helped in consolidating the behavior between these two. Change-Id: I93ba0a486a2c11fdefd328af090497dde5b0fbdb Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsfontdatabase.h')
-rw-r--r--src/plugins/platforms/windows/qwindowsfontdatabase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/windows/qwindowsfontdatabase.h b/src/plugins/platforms/windows/qwindowsfontdatabase.h
index b9e6c38eaa..7dfcfbc2b5 100644
--- a/src/plugins/platforms/windows/qwindowsfontdatabase.h
+++ b/src/plugins/platforms/windows/qwindowsfontdatabase.h
@@ -103,6 +103,8 @@ public:
static qreal fontSmoothingGamma();
static LOGFONT fontDefToLOGFONT(const QFontDef &fontDef);
+ static QStringList extraTryFontsForFamily(const QString &family);
+
private:
void populate(const QString &family = QString());
void removeApplicationFonts();