diff options
author | Michele Calgaro <[email protected]> | 2023-10-17 20:01:27 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-10-17 20:01:27 +0900 |
commit | e38e61479b866b20cfc5cb30143988cdfaf636ae (patch) | |
tree | 906086c730d2d9a227f97b4fd85455a889e4d7b5 | |
parent | c3e158a8a13de4d5d382e8b3a72e5fe62236c34c (diff) | |
download | twin-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 <[email protected]>
-rw-r--r-- | BUGS | 2 | ||||
-rw-r--r-- | INSTALL | 2 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | client/fahrenheit.desktop | 2 | ||||
-rw-r--r-- | client/fahrenheitclient.cc | 14 |
5 files changed, 11 insertions, 11 deletions
@@ -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: @@ -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. @@ -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 <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_); |