summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/themes/genericunix/qgenericunixthemes_p.h
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@nokia.com>2012-05-29 10:21:13 +0900
committerQt by Nokia <qt-info@nokia.com>2012-07-09 11:18:17 +0200
commitd04e06dc3279bd812d5a060c3f045b84ea345f35 (patch)
treea6022b61cfe388c31b7a3d654aeb80137b3ffb48 /src/platformsupport/themes/genericunix/qgenericunixthemes_p.h
parent5b0273fc7a27785b6079a3b39681c3db22926742 (diff)
Remove Library dependency on Settings
made QLibraryInfo available with QT_NO_SETTINGS. QKdeTheme is removed when QT_NO_SETTINGS is defined. Change-Id: I63d619bb305e6c23985d9ea50c72d39a697b7a4b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/platformsupport/themes/genericunix/qgenericunixthemes_p.h')
-rw-r--r--src/platformsupport/themes/genericunix/qgenericunixthemes_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/platformsupport/themes/genericunix/qgenericunixthemes_p.h b/src/platformsupport/themes/genericunix/qgenericunixthemes_p.h
index a1b50865ed..64b2db0a10 100644
--- a/src/platformsupport/themes/genericunix/qgenericunixthemes_p.h
+++ b/src/platformsupport/themes/genericunix/qgenericunixthemes_p.h
@@ -77,6 +77,7 @@ public:
static const char *name;
};
+#ifndef QT_NO_SETTINGS
class QKdeTheme : public QPlatformTheme
{
QKdeTheme(const QString &kdeHome, int kdeVersion);
@@ -107,6 +108,7 @@ private:
int m_toolButtonStyle;
int m_toolBarIconSize;
};
+#endif // QT_NO_SETTINGS
class QGnomeTheme : public QPlatformTheme
{