diff options
author | Robert Griebl <rgriebl@trolltech.com> | 2009-11-03 15:17:31 (GMT) |
---|---|---|
committer | Robert Griebl <rgriebl@trolltech.com> | 2009-11-03 20:55:53 (GMT) |
commit | db3d38df589aac5eb8098a7ed74257b9ecd6b8a1 (patch) | |
tree | 31651b491dc1edb37e4748f90f0cae011881a969 /src/gui/styles/qcommonstyle_p.h | |
parent | 54da8a50c1ab643c0e9903175a18414f8ec76fef (diff) | |
download | Qt-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/styles/qcommonstyle_p.h')
-rw-r--r-- | src/gui/styles/qcommonstyle_p.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/gui/styles/qcommonstyle_p.h b/src/gui/styles/qcommonstyle_p.h index a905601..6122f81 100644 --- a/src/gui/styles/qcommonstyle_p.h +++ b/src/gui/styles/qcommonstyle_p.h @@ -62,25 +62,6 @@ QT_BEGIN_NAMESPACE class QStringList; -#ifdef Q_WS_X11 -class QIconTheme -{ -public: - QIconTheme(QHash <int, QString> dirList, QStringList parents) : - _dirList(dirList), _parents(parents), _valid(true){ } - QIconTheme() : _valid(false){ } - - QHash <int, QString> dirList() {return _dirList;} - QStringList parents() {return _parents;} - bool isValid() {return _valid;} - -private: - QHash <int, QString> _dirList; - QStringList _parents; - bool _valid; -}; -#endif - // Private class class QCommonStylePrivate : public QStylePrivate { |