summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsnativeinterface.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-24 15:26:13 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-25 21:59:37 +0200
commit6d4b3582adaf3cea23b0ef777a1bf3e7597fd8da (patch)
treee5ba098842acc19330caa11ac542f3752b0a5034 /src/plugins/platforms/windows/qwindowsnativeinterface.h
parentf06dfb60b96004971917a27559713314b7f60de6 (diff)
Windows QPA: Move dark mode handling to the new interface
Move options to new interface, making them settable from code on this occasion. Task-number: QTBUG-83252 Change-Id: Idd80667c502a8cde5d7c66d7e597ea34c22738e7 Reviewed-by: André de la Rocha <andre.rocha@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsnativeinterface.h')
-rw-r--r--src/plugins/platforms/windows/qwindowsnativeinterface.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/platforms/windows/qwindowsnativeinterface.h b/src/plugins/platforms/windows/qwindowsnativeinterface.h
index 6b3740a17b..bb7801f398 100644
--- a/src/plugins/platforms/windows/qwindowsnativeinterface.h
+++ b/src/plugins/platforms/windows/qwindowsnativeinterface.h
@@ -63,8 +63,6 @@ class QWindowsNativeInterface : public QPlatformNativeInterface
{
Q_OBJECT
Q_PROPERTY(bool asyncExpose READ asyncExpose WRITE setAsyncExpose)
- Q_PROPERTY(bool darkMode READ isDarkMode STORED false NOTIFY darkModeChanged)
- Q_PROPERTY(bool darkModeStyle READ isDarkModeStyle STORED false)
Q_PROPERTY(QVariant gpu READ gpu STORED false)
Q_PROPERTY(QVariant gpuList READ gpuList STORED false)
@@ -92,14 +90,8 @@ public:
bool asyncExpose() const;
void setAsyncExpose(bool value);
- bool isDarkMode() const;
- bool isDarkModeStyle() const;
-
QVariant gpu() const;
QVariant gpuList() const;
-
-Q_SIGNALS:
- void darkModeChanged(bool);
};
QT_END_NAMESPACE