summaryrefslogtreecommitdiffstats
path: root/twin/lib
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /twin/lib
parent79b21d47bce1ee428affc97534cd8b257232a871 (diff)
downloadtdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz
tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'twin/lib')
-rw-r--r--twin/lib/kdecoration_p.cpp2
-rw-r--r--twin/lib/kdecoration_p.h4
-rw-r--r--twin/lib/kdecoration_plugins_p.cpp4
-rw-r--r--twin/lib/kdecoration_plugins_p.h6
4 files changed, 8 insertions, 8 deletions
diff --git a/twin/lib/kdecoration_p.cpp b/twin/lib/kdecoration_p.cpp
index fbf35c285..66d886aec 100644
--- a/twin/lib/kdecoration_p.cpp
+++ b/twin/lib/kdecoration_p.cpp
@@ -63,7 +63,7 @@ void KDecorationOptionsPrivate::defaultKWinSettings()
OpMaxButtonLeftClick = HMaximizeOp;
}
-unsigned long KDecorationOptionsPrivate::updateKWinSettings( KConfig* config )
+unsigned long KDecorationOptionsPrivate::updateKWinSettings( TDEConfig* config )
{
unsigned long changed = 0;
TQString old_group = config->group();
diff --git a/twin/lib/kdecoration_p.h b/twin/lib/kdecoration_p.h
index 58f386c9b..2634ea140 100644
--- a/twin/lib/kdecoration_p.h
+++ b/twin/lib/kdecoration_p.h
@@ -33,7 +33,7 @@ DEALINGS IN THE SOFTWARE.
#include <tqwidget.h>
#include <tqvaluelist.h>
-class KConfig;
+class TDEConfig;
class KWIN_EXPORT KDecorationOptionsPrivate : public KDecorationDefines
{
@@ -41,7 +41,7 @@ class KWIN_EXPORT KDecorationOptionsPrivate : public KDecorationDefines
KDecorationOptionsPrivate();
virtual ~KDecorationOptionsPrivate();
void defaultKWinSettings(); // shared implementation
- unsigned long updateKWinSettings( KConfig* ); // shared implementation
+ unsigned long updateKWinSettings( TDEConfig* ); // shared implementation
BorderSize findPreferredBorderSize( BorderSize size, TQValueList< BorderSize > ) const; // shared implementation
TQColor colors[NUM_COLORS*2];
diff --git a/twin/lib/kdecoration_plugins_p.cpp b/twin/lib/kdecoration_plugins_p.cpp
index b680170c3..e6c6cfe36 100644
--- a/twin/lib/kdecoration_plugins_p.cpp
+++ b/twin/lib/kdecoration_plugins_p.cpp
@@ -36,7 +36,7 @@ DEALINGS IN THE SOFTWARE.
#include "kdecorationfactory.h"
-KDecorationPlugins::KDecorationPlugins( KConfig* cfg )
+KDecorationPlugins::KDecorationPlugins( TDEConfig* cfg )
: create_ptr( NULL ),
library( NULL ),
fact( NULL ),
@@ -95,7 +95,7 @@ bool KDecorationPlugins::loadPlugin( TQString nameStr )
{
if( nameStr.isEmpty())
{
- KConfigGroupSaver saver( config, "Style" );
+ TDEConfigGroupSaver saver( config, "Style" );
nameStr = config->readEntry("PluginLib", defaultPlugin );
}
// make sure people can switch between HEAD and twin_iii branch
diff --git a/twin/lib/kdecoration_plugins_p.h b/twin/lib/kdecoration_plugins_p.h
index 81dbb6b68..e45f5b674 100644
--- a/twin/lib/kdecoration_plugins_p.h
+++ b/twin/lib/kdecoration_plugins_p.h
@@ -37,7 +37,7 @@ DEALINGS IN THE SOFTWARE.
#include "kdecoration.h"
class KLibrary;
-class KConfig;
+class TDEConfig;
class KDecoration;
class KDecorationBridge;
class KDecorationFactory;
@@ -46,7 +46,7 @@ class KWIN_EXPORT KDecorationPlugins
: public KDecorationProvides
{
public:
- KDecorationPlugins( KConfig* cfg );
+ KDecorationPlugins( TDEConfig* cfg );
virtual ~KDecorationPlugins();
bool loadPlugin( TQString name );
void destroyPreviousPlugin();
@@ -64,7 +64,7 @@ class KWIN_EXPORT KDecorationPlugins
KLibrary *old_library;
KDecorationFactory* old_fact;
TQString pluginStr;
- KConfig* config;
+ TDEConfig* config;
};
/*