summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowstheme.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-03-02 12:12:55 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-03-05 08:56:30 +0000
commiteee4c6f190d427ab6d5a9acf9fe6327df6cf8c2d (patch)
treebb1e215abff1c4e057f10c927dd2bd609c4cbb68 /src/plugins/platforms/windows/qwindowstheme.h
parente1ae71d3c30c5616b8fc889745365965ec0d95e0 (diff)
Clean headers in the Windows plugin.
Change-Id: Ibc6b904e6e0b21f5daa0730a7eda2cae43cd3dcf Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowstheme.h')
-rw-r--r--src/plugins/platforms/windows/qwindowstheme.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/platforms/windows/qwindowstheme.h b/src/plugins/platforms/windows/qwindowstheme.h
index 3840e978cd..b2f8e13b64 100644
--- a/src/plugins/platforms/windows/qwindowstheme.h
+++ b/src/plugins/platforms/windows/qwindowstheme.h
@@ -35,9 +35,6 @@
#define QWINDOWSTHEME_H
#include <qpa/qplatformtheme.h>
-#include <QtGui/QColor>
-
-#include "qtwindows_additional.h"
QT_BEGIN_NAMESPACE
@@ -79,12 +76,6 @@ private:
QFont *m_fonts[NFonts];
};
-static inline COLORREF qColorToCOLORREF(const QColor &color)
-{ return RGB(color.red(), color.green(), color.blue()); }
-
-static inline QColor COLORREFToQColor(COLORREF cr)
-{ return QColor(GetRValue(cr), GetGValue(cr), GetBValue(cr)); }
-
QT_END_NAMESPACE
#endif // QWINDOWSTHEME_H