summaryrefslogtreecommitdiffstats
path: root/client/deKoratorclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/deKoratorclient.cpp')
-rw-r--r--client/deKoratorclient.cpp16
1 files changed, 11 insertions, 5 deletions
diff --git a/client/deKoratorclient.cpp b/client/deKoratorclient.cpp
index c92cb02..406248d 100644
--- a/client/deKoratorclient.cpp
+++ b/client/deKoratorclient.cpp
@@ -31,9 +31,9 @@
// Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////
-
-
-
+#if defined(HAVE_CONFIG_H)
+# include "config.h"
+#endif
#include "deKoratorclient.h"
@@ -176,9 +176,12 @@ TQString DeKoratorFactory::buttonsPath_ = "";
TQString DeKoratorFactory::masksPath_ = "";
-extern "C" KDecorationFactory* create_factory()
+extern "C"
{
- return new DeKorator::DeKoratorFactory();
+ KDE_EXPORT KDecorationFactory* create_factory()
+ {
+ return new DeKorator::DeKoratorFactory();
+ }
}
//////////////////////////////////////////////////////////////////////////////
@@ -187,6 +190,9 @@ extern "C" KDecorationFactory* create_factory()
// Constructor
DeKoratorFactory::DeKoratorFactory()
{
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin_deKorator");
+
readConfig();
initialized_ = TRUE;