summaryrefslogtreecommitdiffstats
path: root/twin/data/update_window_settings.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:30:47 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /twin/data/update_window_settings.cpp
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/data/update_window_settings.cpp')
-rw-r--r--twin/data/update_window_settings.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/twin/data/update_window_settings.cpp b/twin/data/update_window_settings.cpp
index 0cbd28353..40b25db9c 100644
--- a/twin/data/update_window_settings.cpp
+++ b/twin/data/update_window_settings.cpp
@@ -62,7 +62,7 @@ NET::WindowType txtToWindowType( const char* txt )
return static_cast< NET::WindowType >( -2 ); // undefined
}
-void loadFakeSessionInfo( KConfig* config )
+void loadFakeSessionInfo( TDEConfig* config )
{
fakeSession.clear();
config->setGroup("FakeSession" );
@@ -97,7 +97,7 @@ void loadFakeSessionInfo( KConfig* config )
config->deleteGroup( "FakeSession" );
}
-void writeRules( KConfig& cfg )
+void writeRules( TDEConfig& cfg )
{
cfg.setGroup( "General" );
int pos = cfg.readNumEntry( "count" );
@@ -156,8 +156,8 @@ void writeRules( KConfig& cfg )
int main()
{
TDEInstance inst( "twin_update_window_settings" );
- KConfig src_cfg( "twinrc" );
- KConfig dest_cfg( "twinrulesrc" );
+ TDEConfig src_cfg( "twinrc" );
+ TDEConfig dest_cfg( "twinrulesrc" );
loadFakeSessionInfo( &src_cfg );
writeRules( dest_cfg );
src_cfg.sync();