aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquicktheme_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2018-05-16 13:57:00 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2018-05-22 14:20:53 +0000
commit1a3c1a089ff088482c9d093f4fa002e2d47cc103 (patch)
treebc6c399af2fe531de7cc4851df0efe9fc5f4170f /src/quicktemplates2/qquicktheme_p.h
parentf40dc11886e8130bad5771ed80920e6e72dfc09e (diff)
QQuickTheme: rename themeFont() and themePalette()
We don't have the conflicting virtual getters anymore. Change-Id: Ia20bfa0a0b1aa67c35a23270eb0241018f8e0ada Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquicktheme_p.h')
-rw-r--r--src/quicktemplates2/qquicktheme_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quicktemplates2/qquicktheme_p.h b/src/quicktemplates2/qquicktheme_p.h
index 47f9a166..44610c09 100644
--- a/src/quicktemplates2/qquicktheme_p.h
+++ b/src/quicktemplates2/qquicktheme_p.h
@@ -87,8 +87,8 @@ public:
Tumbler
};
- static QFont themeFont(Scope scope);
- static QPalette themePalette(Scope scope);
+ static QFont font(Scope scope);
+ static QPalette palette(Scope scope);
protected:
void setFont(Scope scope, const QFont &font);