summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-10-17 20:01:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-10-17 20:01:27 +0900
commite38e61479b866b20cfc5cb30143988cdfaf636ae (patch)
tree906086c730d2d9a227f97b4fd85455a889e4d7b5 /client
parentc3e158a8a13de4d5d382e8b3a72e5fe62236c34c (diff)
downloadtwin-style-fahrenheit-e38e61479b866b20cfc5cb30143988cdfaf636ae.tar.gz
twin-style-fahrenheit-e38e61479b866b20cfc5cb30143988cdfaf636ae.zip
Raw KDE->TDE conversion using tde/scripts/conversions/kde-tde/convert_existing_kde3_app_to_tde
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'client')
-rw-r--r--client/fahrenheit.desktop2
-rw-r--r--client/fahrenheitclient.cc14
2 files changed, 8 insertions, 8 deletions
diff --git a/client/fahrenheit.desktop b/client/fahrenheit.desktop
index d0cfde1..6ffe692 100644
--- a/client/fahrenheit.desktop
+++ b/client/fahrenheit.desktop
@@ -2,4 +2,4 @@
[Desktop Entry]
Encoding=UTF-8
Name=Fahrenheit
-X-KDE-Library=kwin3_fahrenheit
+X-TDE-Library=twin3_fahrenheit
diff --git a/client/fahrenheitclient.cc b/client/fahrenheitclient.cc
index 7af9359..3269266 100644
--- a/client/fahrenheitclient.cc
+++ b/client/fahrenheitclient.cc
@@ -7,10 +7,10 @@
// Please see the header file for copyright and license information.
//////////////////////////////////////////////////////////////////////////////
-#include <kconfig.h>
-#include <kglobal.h>
-#include <kglobalsettings.h>
-#include <klocale.h>
+#include <tdeconfig.h>
+#include <tdeglobal.h>
+#include <tdeglobalsettings.h>
+#include <tdelocale.h>
#include <kstandarddirs.h>
#include <ntqbitmap.h>
@@ -98,7 +98,7 @@ bool FahrenheitFactory::reset(unsigned long changed)
bool FahrenheitFactory::readConfig()
{
// create a config object
- KConfig config("kwinfahrenheitrc");
+ TDEConfig config("twinfahrenheitrc");
config.setGroup("General");
// grab settings
@@ -150,8 +150,8 @@ void FahrenheitButton::setPixmap(TQString pixmap)
{
if (!pixmap) return; // probably the menu button
- TQString buttonLocation_ = KGlobal::dirs()->findResource ("data",
- TQString("kwin/fahrenheit/") + pixmap + ".png");
+ TQString buttonLocation_ = TDEGlobal::dirs()->findResource ("data",
+ TQString("twin/fahrenheit/") + pixmap + ".png");
if (deco_) delete deco_;
deco_ = new TQPixmap(buttonLocation_);