summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--knights/audio.cpp6
-rw-r--r--knights/resource.cpp10
2 files changed, 8 insertions, 8 deletions
diff --git a/knights/audio.cpp b/knights/audio.cpp
index 0b46eab..1a6aa79 100644
--- a/knights/audio.cpp
+++ b/knights/audio.cpp
@@ -20,7 +20,7 @@
#include <arts/dispatcher.h>
#include <arts/flowsystem.h>
#include <arts/connect.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#include <tdeio/netaccess.h>
#include <tqptrlist.h>
#include <tqfile.h>
@@ -105,7 +105,7 @@ void audio::play( const int snd )
void audio::setTheme( const TQString &newTheme )
{
TQString configFile;
- KSimpleConfig *themeConfig;
+ TDESimpleConfig *themeConfig;
if( !enabled || !a->enabled )
return;
@@ -118,7 +118,7 @@ void audio::setTheme( const TQString &newTheme )
kdWarning() << "audio::setTheme: Can not access theme.conf from " << newTheme << endl;
return;
}
- themeConfig = new KSimpleConfig( configFile, true );
+ themeConfig = new TDESimpleConfig( configFile, true );
/* Read the details about this theme */
themeConfig->setGroup( "General" );
diff --git a/knights/resource.cpp b/knights/resource.cpp
index 0d4da88..680a4d4 100644
--- a/knights/resource.cpp
+++ b/knights/resource.cpp
@@ -17,7 +17,7 @@
/* KDE */
#include <tdestandarddirs.h>
#include <tdeglobalsettings.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#include <tdeconfig.h>
#include <kiconloader.h>
#include <kmdcodec.h>
@@ -625,8 +625,8 @@ void resource::setTheme( int BoardIndex, int ChessmenIndex )
TQString chessmenURL;
TQString boardConf;
TQString chessmenConf;
- KSimpleConfig *boardConfig;
- KSimpleConfig *chessmenConfig;
+ TDESimpleConfig *boardConfig;
+ TDESimpleConfig *chessmenConfig;
/* Make sure the Indexes are valid */
if( BoardIndex > (signed)Boards.count() )
@@ -661,11 +661,11 @@ void resource::setTheme( int BoardIndex, int ChessmenIndex )
/* load the theme.conf files */
if( !TDEIO::NetAccess::download( boardURL + "theme.conf", boardConf ) )
kdWarning() << "Can not read theme.conf from " << boardURL << endl;
- boardConfig = new KSimpleConfig( boardConf, true );
+ boardConfig = new TDESimpleConfig( boardConf, true );
if( !TDEIO::NetAccess::download( chessmenURL + "theme.conf", chessmenConf ) )
kdWarning() << "Can not read theme.conf from " << chessmenURL << endl;
- chessmenConfig = new KSimpleConfig( chessmenConf, true );
+ chessmenConfig = new TDESimpleConfig( chessmenConf, true );
/* Read the headers */
boardConfig->setGroup( "General" );