summaryrefslogtreecommitdiffstats
path: root/tdestyles/klegacy/plugin.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-08-18 10:14:48 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-08-18 10:14:48 -0500
commitdad42352f4ad47d34caf50040367dc2a95772baa (patch)
tree6d2887d13f9b1403b8ce15be48a6ea7cec32fd96 /tdestyles/klegacy/plugin.cpp
parent365f03061337a81bcffb4a45c4ad637edad27019 (diff)
downloadtdelibs-dad42352f4ad47d34caf50040367dc2a95772baa.tar.gz
tdelibs-dad42352f4ad47d34caf50040367dc2a95772baa.zip
Rename KStyle to TDEStyle to avoid conflicts with KDE4.
Diffstat (limited to 'tdestyles/klegacy/plugin.cpp')
-rw-r--r--tdestyles/klegacy/plugin.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/tdestyles/klegacy/plugin.cpp b/tdestyles/klegacy/plugin.cpp
new file mode 100644
index 000000000..558b54e73
--- /dev/null
+++ b/tdestyles/klegacy/plugin.cpp
@@ -0,0 +1,29 @@
+#include "klegacystyle.h"
+#include <tdelocale.h>
+
+extern "C" {
+ TDEStyle* allocate();
+ int minor_version();
+ int major_version();
+ const char *description();
+}
+
+TDEStyle* allocate()
+{
+ return(new KLegacyStyle());
+}
+
+int minor_version()
+{
+ return(0);
+}
+
+int major_version()
+{
+ return(1);
+}
+
+const char *description()
+{
+ return(i18n("KDE LegacyStyle plugin").utf8());
+}