summaryrefslogtreecommitdiffstats
path: root/src/SUSE2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SUSE2.cpp')
-rw-r--r--src/SUSE2.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/SUSE2.cpp b/src/SUSE2.cpp
index 570309b..f336167 100644
--- a/src/SUSE2.cpp
+++ b/src/SUSE2.cpp
@@ -27,9 +27,9 @@
#include <tqpainter.h>
#include <tqbitmap.h>
-#include <kconfig.h>
-#include <klocale.h>
-#include <kglobal.h>
+#include <tdeconfig.h>
+#include <tdelocale.h>
+#include <tdeglobal.h>
#include <kstandarddirs.h>
#include <kpixmap.h>
@@ -47,8 +47,8 @@ SUSE2Handler::SUSE2Handler()
{
memset(m_pixmaps, 0, sizeof(TQPixmap *) * NumButtonStatus * NumButtonIcons); // set elements to 0
- KGlobal::locale()->insertCatalogue("kwin_clients");
- KGlobal::locale()->insertCatalogue("kwin_SUSE2");
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin_SUSE2");
reset(0);
}
@@ -140,7 +140,7 @@ bool SUSE2Handler::supports( Ability ability ) const
void SUSE2Handler::readConfig()
{
// create a config object
- KConfig config("kwinSUSE2rc");
+ TDEConfig config("twinSUSE2rc");
config.setGroup("General");
// grab settings
@@ -186,7 +186,7 @@ void SUSE2Handler::readConfig()
m_titleLogo = config.readBoolEntry("TitleBarLogo", true);
m_titleLogoOffset = config.readNumEntry("TitleBarLogoOffset", 3);
- m_titleLogoURL = config.readEntry("TitleBarLogoURL", locate("data", "kwin/pics/titlebar_decor.png"));
+ m_titleLogoURL = config.readEntry("TitleBarLogoURL", locate("data", "twin/pics/titlebar_decor.png"));
}
TQColor SUSE2Handler::getColor(KWinSUSE2::ColorType type, const bool active) const