diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-21 21:39:35 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-21 21:39:35 -0500 |
commit | bd425eca72d136ba29cfdd2822019b36913a3889 (patch) | |
tree | 870f334b81ce40b2abceac03d17d733c47f18fde /plugin/simplestyleplugin.cpp | |
parent | 2d9dac868d803304f7653a8175294ff0d815051d (diff) | |
download | qt4-tqt-theme-engine-bd425eca72d136ba29cfdd2822019b36913a3889.tar.gz qt4-tqt-theme-engine-bd425eca72d136ba29cfdd2822019b36913a3889.zip |
Rename theme engine from SimpleStyle
Fix drawing glitches in menus and tabbars
Diffstat (limited to 'plugin/simplestyleplugin.cpp')
-rw-r--r-- | plugin/simplestyleplugin.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugin/simplestyleplugin.cpp b/plugin/simplestyleplugin.cpp index a474217..9c8b29e 100644 --- a/plugin/simplestyleplugin.cpp +++ b/plugin/simplestyleplugin.cpp @@ -44,21 +44,21 @@ #include "simplestyle.h" //! [0] -QStringList SimpleStylePlugin::keys() const +QStringList Qt4TDEStylePlugin::keys() const { - return QStringList() << "SimpleStyle"; + return QStringList() << "Qt4TDEStyle"; } //! [0] //! [1] -QStyle *SimpleStylePlugin::create(const QString &key) +QStyle *Qt4TDEStylePlugin::create(const QString &key) { - if (key.toLower() == "simplestyle") - return new SimpleStyle; + if (key.toLower() == "qt4tdestyle") + return new Qt4TDEStyle; return 0; } //! [1] QT_BEGIN_NAMESPACE -Q_EXPORT_PLUGIN2(simplestyleplugin, SimpleStylePlugin) +Q_EXPORT_PLUGIN2(simplestyleplugin, Qt4TDEStylePlugin) QT_END_NAMESPACE |