summaryrefslogtreecommitdiffstats
path: root/src/SUSE2.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-06-25 19:06:28 +0300
committerMavridis Philippe <[email protected]>2021-06-25 19:15:54 +0300
commit9523b86a5b99317135eb3dcdb7d10199361eab97 (patch)
treef14a290de015a0a199336df095271fce158bb41a /src/SUSE2.cpp
parenta26e231b46ac6433f6500ddc9ed6b466cf38cc21 (diff)
downloadtwin-style-suse2-9523b86a5b99317135eb3dcdb7d10199361eab97.tar.gz
twin-style-suse2-9523b86a5b99317135eb3dcdb7d10199361eab97.zip
Conversion KDE3→TDE
Signed-off-by: Mavridis Philippe <[email protected]>
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