From e38e61479b866b20cfc5cb30143988cdfaf636ae Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 17 Oct 2023 20:01:27 +0900 Subject: Raw KDE->TDE conversion using tde/scripts/conversions/kde-tde/convert_existing_kde3_app_to_tde Signed-off-by: Michele Calgaro --- BUGS | 2 +- INSTALL | 2 +- README | 2 +- client/fahrenheit.desktop | 2 +- client/fahrenheitclient.cc | 14 +++++++------- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/BUGS b/BUGS index c84bb8d..64c3b10 100644 --- a/BUGS +++ b/BUGS @@ -1,7 +1,7 @@ - When moving a shaded window, the window sometimes unshades poorly and following error occurs: - kwin: X_ConfigureWindow(0x0): BadValue (integer parameter out of range + twin: X_ConfigureWindow(0x0): BadValue (integer parameter out of range for operation) To restore and resize the window, there are two options: diff --git a/INSTALL b/INSTALL index b00f393..ef18572 100644 --- a/INSTALL +++ b/INSTALL @@ -49,7 +49,7 @@ that the required KDE 3.2 or greater libraries are installed. Several systems have broken this into several packages. You will need both the runtime and the development packages. -If you still have problems, set the KDEDIR environment variable and +If you still have problems, set the TDEDIR environment variable and the --prefix configure option to the location where you installed KDE. Also make sure that you are using GNU make and not the standard make everyone else uses. diff --git a/README b/README index 0c4ef02..c2d93cc 100644 --- a/README +++ b/README @@ -64,7 +64,7 @@ THANKS Inspiration: Fahrenheit was inspired by the mock-up screenshots of a hypothetical future BeOS window border, GonX. See the screenshots at http://cotito.free.fr/projects/. - David Johnson on the kwin mailing list was of great help to me + David Johnson on the twin mailing list was of great help to me while writing this decoration. His Example decoration (http://www.kde-look.org/content/show.php?content=6332) is also a great framework for creating new decorations as well. 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 -#include -#include -#include +#include +#include +#include +#include #include #include @@ -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_); -- cgit v1.2.1