summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qguiplatformplugin.cpp
diff options
context:
space:
mode:
authorRobert Griebl <rgriebl@trolltech.com>2009-11-03 15:17:31 (GMT)
committerRobert Griebl <rgriebl@trolltech.com>2009-11-03 20:55:53 (GMT)
commitdb3d38df589aac5eb8098a7ed74257b9ecd6b8a1 (patch)
tree31651b491dc1edb37e4748f90f0cae011881a969 /src/gui/kernel/qguiplatformplugin.cpp
parent54da8a50c1ab643c0e9903175a18414f8ec76fef (diff)
downloadQt-db3d38df589aac5eb8098a7ed74257b9ecd6b8a1.zip
Qt-db3d38df589aac5eb8098a7ed74257b9ecd6b8a1.tar.gz
Qt-db3d38df589aac5eb8098a7ed74257b9ecd6b8a1.tar.bz2
QGtkStyle refactoring
The QGtk class has been refactored into a private d class for QGtkStyle. This allows us to re-use a lot of code for the Maemo5 style without changing a single line in QGtkStyle itself plus we can easily add virtual functions where the two styles need to behave different. There shouldn't be any new functionality added (or old functionality lost) by this commit. Reviewed-By: jbache Reviewed-By: Ralf Engels
Diffstat (limited to 'src/gui/kernel/qguiplatformplugin.cpp')
-rw-r--r--src/gui/kernel/qguiplatformplugin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/kernel/qguiplatformplugin.cpp b/src/gui/kernel/qguiplatformplugin.cpp
index b01d40f..e6efec1 100644
--- a/src/gui/kernel/qguiplatformplugin.cpp
+++ b/src/gui/kernel/qguiplatformplugin.cpp
@@ -59,9 +59,9 @@ extern bool qt_wince_is_pocket_pc(); //qguifunctions_wince.cpp
#if defined(Q_WS_X11)
-#include "qkde_p.h"
-#include "qt_x11_p.h"
-#include <private/gtksymbols_p.h>
+#include <private/qkde_p.h>
+#include <private/qgtkstyle_p.h>
+#include <private/qt_x11_p.h>
#endif
@@ -206,7 +206,7 @@ QString QGuiPlatformPlugin::systemIconThemeName()
if (X11->desktopEnvironment == DE_GNOME) {
result = QString::fromLatin1("gnome");
#ifndef QT_NO_STYLE_GTK
- result = QGtk::getGConfString(QLatin1String("/desktop/gnome/interface/icon_theme"), result);
+ result = QGtkStylePrivate::getGConfString(QLatin1String("/desktop/gnome/interface/icon_theme"), result);
#endif
} else if (X11->desktopEnvironment == DE_KDE) {
result = X11->desktopVersion >= 4 ? QString::fromLatin1("oxygen") : QString::fromLatin1("crystalsvg");