From bd425eca72d136ba29cfdd2822019b36913a3889 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Mar 2012 21:39:35 -0500 Subject: Rename theme engine from SimpleStyle Fix drawing glitches in menus and tabbars --- plugin/simplestyleplugin.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugin/simplestyleplugin.cpp') 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 -- cgit v1.2.1