summaryrefslogtreecommitdiffstats
path: root/plugin/simplestyleplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/simplestyleplugin.cpp')
-rw-r--r--plugin/simplestyleplugin.cpp12
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