aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickswitch_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-05-10 12:47:51 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2017-05-26 08:52:15 +0000
commit9099ce294c82799f3550f13393a90963055e0ba5 (patch)
tree0c90537234550413d2ee038aab5f3a5a30b12748 /src/quicktemplates2/qquickswitch_p.h
parent68aea0a4234e6f0faa108ea186643b7c27ab8ce7 (diff)
Implement defaultPalette()
Change-Id: I4345f6a3b61476287b6161d89b752735757f3a7e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickswitch_p.h')
-rw-r--r--src/quicktemplates2/qquickswitch_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickswitch_p.h b/src/quicktemplates2/qquickswitch_p.h
index 5b93cd32..ebcfea53 100644
--- a/src/quicktemplates2/qquickswitch_p.h
+++ b/src/quicktemplates2/qquickswitch_p.h
@@ -81,6 +81,8 @@ protected:
void nextCheckState() override;
void buttonChange(ButtonChange change) override;
+ QPalette defaultPalette() const override;
+
private:
Q_DISABLE_COPY(QQuickSwitch)
Q_DECLARE_PRIVATE(QQuickSwitch)