diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-08-18 10:14:48 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2013-08-18 10:14:48 -0500 |
commit | dad42352f4ad47d34caf50040367dc2a95772baa (patch) | |
tree | 6d2887d13f9b1403b8ce15be48a6ea7cec32fd96 /tdestyles/klegacy/plugin.cpp | |
parent | 365f03061337a81bcffb4a45c4ad637edad27019 (diff) | |
download | tdelibs-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.cpp | 29 |
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()); +} |