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>
pull/1/head
Michele Calgaro 7 months ago
parent c3e158a8a1
commit e38e61479b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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.

@ -2,4 +2,4 @@
[Desktop Entry]
Encoding=UTF-8
Name=Fahrenheit
X-KDE-Library=kwin3_fahrenheit
X-TDE-Library=twin3_fahrenheit

@ -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_);

Loading…
Cancel
Save