summaryrefslogtreecommitdiffstats
path: root/twin/rules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/rules.cpp')
-rw-r--r--twin/rules.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/twin/rules.cpp b/twin/rules.cpp
index 63fc0e37b..aa4b7904a 100644
--- a/twin/rules.cpp
+++ b/twin/rules.cpp
@@ -14,7 +14,7 @@ License. See the file "COPYING" for the exact licensing terms.
#include <tdeconfig.h>
#include <tqregexp.h>
#include <tdetempfile.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#include <tqfile.h>
#ifndef KCMRULES
@@ -75,7 +75,7 @@ Rules::Rules( const TQString& str, bool temporary )
f->writeBlock( s.data(), s.length());
}
file.close();
- KSimpleConfig cfg( file.name());
+ TDESimpleConfig cfg( file.name());
readFromCfg( cfg );
if( description.isEmpty())
description = "temporary";
@@ -1008,7 +1008,7 @@ void Workspace::gotTemporaryRulesMessage( const TQString& message )
Rules* rule = new Rules( message, true );
rules.prepend( rule ); // highest priority first
if( !was_temporary )
- TQTimer::singleShot( 60000, this, TQT_SLOT( cleanupTemporaryRules()));
+ TQTimer::singleShot( 60000, this, TQ_SLOT( cleanupTemporaryRules()));
}
void Workspace::cleanupTemporaryRules()
@@ -1028,7 +1028,7 @@ void Workspace::cleanupTemporaryRules()
}
}
if( has_temporary )
- TQTimer::singleShot( 60000, this, TQT_SLOT( cleanupTemporaryRules()));
+ TQTimer::singleShot( 60000, this, TQ_SLOT( cleanupTemporaryRules()));
}
void Workspace::discardUsedWindowRules( Client* c, bool withdrawn )