summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/config/configdialog.cc2
-rwxr-xr-xclient/config/polyesterconfig.cc18
-rwxr-xr-xclient/config/polyesterconfig.h10
-rwxr-xr-xclient/polyester.cc14
-rwxr-xr-xclient/polyester.desktop2
-rwxr-xr-xclient/shadow.cpp2
-rwxr-xr-xclient/shadow.h2
7 files changed, 25 insertions, 25 deletions
diff --git a/client/config/configdialog.cc b/client/config/configdialog.cc
index 75f6623..4e6db04 100644
--- a/client/config/configdialog.cc
+++ b/client/config/configdialog.cc
@@ -1,5 +1,5 @@
#include <kdialog.h>
-#include <klocale.h>
+#include <tdelocale.h>
/****************************************************************************
** Form implementation generated from reading ui file './configdialog.ui'
**
diff --git a/client/config/polyesterconfig.cc b/client/config/polyesterconfig.cc
index 24c5ce8..7f322fb 100755
--- a/client/config/polyesterconfig.cc
+++ b/client/config/polyesterconfig.cc
@@ -10,9 +10,9 @@
// Please see the header file for copyright and license information.
//////////////////////////////////////////////////////////////////////////////
-#include <kconfig.h>
-#include <klocale.h>
-#include <kglobal.h>
+#include <tdeconfig.h>
+#include <tdelocale.h>
+#include <tdeglobal.h>
#include <tqbuttongroup.h>
#include <tqgroupbox.h>
#include <tqradiobutton.h>
@@ -29,11 +29,11 @@
// -------------
// Constructor
-polyesterConfig::polyesterConfig(KConfig* config, TQWidget* parent)
+polyesterConfig::polyesterConfig(TDEConfig* config, TQWidget* parent)
: TQObject(parent), config_(0), dialog_(0) {
// create the configuration object
- config_ = new KConfig("kwinpolyesterrc");
- KGlobal::locale()->insertCatalogue("kwin_polyester_config");
+ config_ = new TDEConfig("twinpolyesterrc");
+ TDEGlobal::locale()->insertCatalogue("twin_polyester_config");
// create and show the configuration dialog
dialog_ = new ConfigDialog(parent);
@@ -104,7 +104,7 @@ void polyesterConfig::selectionChanged(int) {
// ------
// Load configuration data
-void polyesterConfig::load(KConfig*) {
+void polyesterConfig::load(TDEConfig*) {
config_->setGroup("General");
TQString value = config_->readEntry("TitleAlignment", "AlignHCenter");
@@ -141,7 +141,7 @@ void polyesterConfig::load(KConfig*) {
// ------
// Save configuration data
-void polyesterConfig::save(KConfig*) {
+void polyesterConfig::save(TDEConfig*) {
config_->setGroup("General");
TQRadioButton *button = (TQRadioButton*)dialog_->titlealign->selected();
@@ -197,7 +197,7 @@ void polyesterConfig::defaults() {
//////////////////////////////////////////////////////////////////////////////
extern "C" {
- TQObject* allocate_config(KConfig* config, TQWidget* parent) {
+ TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return (new polyesterConfig(config, parent));
}
}
diff --git a/client/config/polyesterconfig.h b/client/config/polyesterconfig.h
index 34c84ce..cd7e05c 100755
--- a/client/config/polyesterconfig.h
+++ b/client/config/polyesterconfig.h
@@ -32,28 +32,28 @@
#include <tqobject.h>
-class KConfig;
+class TDEConfig;
class ConfigDialog;
class polyesterConfig : public TQObject {
TQ_OBJECT
public:
- polyesterConfig(KConfig* config, TQWidget* parent);
+ polyesterConfig(TDEConfig* config, TQWidget* parent);
~polyesterConfig();
signals:
void changed();
public slots:
- void load(KConfig*);
- void save(KConfig*);
+ void load(TDEConfig*);
+ void save(TDEConfig*);
void defaults();
protected slots:
void selectionChanged(int);
private:
- KConfig *config_;
+ TDEConfig *config_;
ConfigDialog *dialog_;
};
diff --git a/client/polyester.cc b/client/polyester.cc
index 2ef4044..edafebd 100755
--- a/client/polyester.cc
+++ b/client/polyester.cc
@@ -14,11 +14,11 @@
//////////////////////////////////////////////////////////////////////////////
-#include <kconfig.h>
-#include <kdeversion.h>
-#include <kglobal.h>
-#include <kglobalsettings.h>
-#include <klocale.h>
+#include <tdeconfig.h>
+#include <tdeversion.h>
+#include <tdeglobal.h>
+#include <tdeglobalsettings.h>
+#include <tdelocale.h>
#include <kpixmap.h>
#include <kimageeffect.h>
#include <kpixmapeffect.h>
@@ -136,7 +136,7 @@ bool polyesterFactory::reset(unsigned long changed) {
bool polyesterFactory::readConfig() {
// create a config object
- KConfig config("kwinpolyesterrc");
+ TDEConfig config("twinpolyesterrc");
config.setGroup("General");
// grab settings
@@ -1408,7 +1408,7 @@ void polyesterClient::mouseDoubleClickEvent(TQMouseEvent *e) {
// Mousewheel over titlebar
void polyesterClient::wheelEvent(TQWheelEvent * e) {
-#if KDE_VERSION > KDE_MAKE_VERSION(3,4,3)
+#if TDE_VERSION > TDE_MAKE_VERSION(3,4,3)
if (titleLayout_->geometry().contains(e->pos()))
titlebarMouseWheelOperation(e->delta());
#endif
diff --git a/client/polyester.desktop b/client/polyester.desktop
index a5f4459..30f8b1d 100755
--- a/client/polyester.desktop
+++ b/client/polyester.desktop
@@ -2,4 +2,4 @@
[Desktop Entry]
Encoding=UTF-8
Name=Polyester
-X-KDE-Library=kwin3_polyester
+X-TDE-Library=twin3_polyester
diff --git a/client/shadow.cpp b/client/shadow.cpp
index 8b94933..d7b26e1 100755
--- a/client/shadow.cpp
+++ b/client/shadow.cpp
@@ -1,6 +1,6 @@
/* Copyright (C) 2003 by Sandro Giessl
* based on the nice CVS KDesktop KShadowEngine class. thanks!
- * looking forward to see KShadowEngine in kdefx somewhen btw.. :)
+ * looking forward to see KShadowEngine in tdefx somewhen btw.. :)
* ------------------------------------------------------------------------
* these are the original copyright notes:
* This file is proposed to be part of the KDE libraries.
diff --git a/client/shadow.h b/client/shadow.h
index 0434201..fe76dfe 100755
--- a/client/shadow.h
+++ b/client/shadow.h
@@ -1,6 +1,6 @@
/* Copyright (C) 2003 by Sandro Giessl
* based on the nice CVS KDesktop KShadowEngine class. thanks!
- * looking forward to see KShadowEngine in kdefx somewhen btw.. :)
+ * looking forward to see KShadowEngine in tdefx somewhen btw.. :)
* ------------------------------------------------------------------------
* these are the original copyright notes:
* This file is proposed to be part of the KDE libraries.