diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-12 18:49:05 +0900 | 
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-12 18:49:05 +0900 | 
| commit | 3651f7e38682f40aa505d3cba1d6e69c15614db1 (patch) | |
| tree | 3b952676d0c5e3cca20210bc23fe996dd403114e | |
| parent | 5b4685c0df85649d6d14f46ef3e3286cdb308fa5 (diff) | |
| download | tdemultimedia-3651f7e38682f40aa505d3cba1d6e69c15614db1.tar.gz tdemultimedia-3651f7e38682f40aa505d3cba1d6e69c15614db1.zip  | |
Use TDESimpleConfig
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
| -rw-r--r-- | arts/builder/main.h | 2 | ||||
| -rw-r--r-- | arts/builder/module.h | 2 | ||||
| -rw-r--r-- | juk/filerenamer.cpp | 4 | ||||
| -rw-r--r-- | krec/krecfile.cpp | 6 | ||||
| -rw-r--r-- | krec/krecfile.h | 4 | ||||
| -rw-r--r-- | noatun/library/playlistsaver.cpp | 6 | ||||
| -rw-r--r-- | noatun/library/pluginloader.cpp | 4 | ||||
| -rw-r--r-- | noatun/modules/splitplaylist/view.cpp | 2 | ||||
| -rw-r--r-- | noatun/modules/winskin/waRegion.cpp | 4 | 
9 files changed, 17 insertions, 17 deletions
diff --git a/arts/builder/main.h b/arts/builder/main.h index 135e3bc4..5fd9b8bf 100644 --- a/arts/builder/main.h +++ b/arts/builder/main.h @@ -27,7 +27,7 @@  #include <kdockwidget.h>  #include <tdeapplication.h>  #include <tdefiledialog.h> -#include <ksimpleconfig.h> +#include <tdesimpleconfig.h>  #include <list> diff --git a/arts/builder/module.h b/arts/builder/module.h index 44466bc0..1d323b82 100644 --- a/arts/builder/module.h +++ b/arts/builder/module.h @@ -27,7 +27,7 @@  #include <tqpixmap.h>  #include <tqstring.h>  #include <tqrect.h> -#include <ksimpleconfig.h> +#include <tdesimpleconfig.h>  #include "artsbuilder.h"  #include "scomponent.h" diff --git a/juk/filerenamer.cpp b/juk/filerenamer.cpp index e57702ed..667a20fe 100644 --- a/juk/filerenamer.cpp +++ b/juk/filerenamer.cpp @@ -32,7 +32,7 @@  #include <kpushbutton.h>  #include <tdeapplication.h>  #include <tdemessagebox.h> -#include <ksimpleconfig.h> +#include <tdesimpleconfig.h>  #include <tqfile.h>  #include <tqhbox.h> @@ -948,7 +948,7 @@ void FileRenamer::setFolderIcon(const KURL &dst, const PlaylistItem *item)              TQPixmap thumb = item->file().coverInfo()->pixmap(CoverInfo::Thumbnail);              thumb.save(path + "/.juk-thumbnail.png", "PNG"); -            KSimpleConfig config(path + "/.directory"); +            TDESimpleConfig config(path + "/.directory");              config.setGroup("Desktop Entry");              if(!config.hasKey("Icon")) { diff --git a/krec/krecfile.cpp b/krec/krecfile.cpp index 24053d45..08faa7d2 100644 --- a/krec/krecfile.cpp +++ b/krec/krecfile.cpp @@ -25,7 +25,7 @@  #include <ktar.h>  #include <tdeio/job.h>  #include <tdelocale.h> -#include <ksimpleconfig.h> +#include <tdesimpleconfig.h>  #include <tqdir.h>  #include <tqfileinfo.h>  #include <tdemessagebox.h> @@ -40,7 +40,7 @@ void KRecFile::init() {  	_filename = TQString();  	_currentBuffer = 0;  	_dir = new KTempDir(); -	_config = new KSimpleConfig( _dir->name()+"project.rc", false ); +	_config = new TDESimpleConfig( _dir->name()+"project.rc", false );  }  KRecFile::KRecFile( TQObject* p, const char* n ) @@ -85,7 +85,7 @@ KRecFile::KRecFile( const TQString &filename, TQObject* p, const char* n )  	dir->copyTo( _dir->name() );  	delete _config; -	_config = new KSimpleConfig( _dir->name()+"project.rc", false ); +	_config = new TDESimpleConfig( _dir->name()+"project.rc", false );  	loadProps();  	int c = _config->readNumEntry( "Files" );  	//kdDebug( 60005 ) << c << " Files to load" << endl; diff --git a/krec/krecfile.h b/krec/krecfile.h index 86c29c77..ae9e7337 100644 --- a/krec/krecfile.h +++ b/krec/krecfile.h @@ -22,7 +22,7 @@  class KRecBuffer;  class KTempDir; -class KSimpleConfig; +class TDESimpleConfig;  class TQFile;  class KRecFileViewWidget; @@ -112,7 +112,7 @@ private:  	int _currentBuffer;  	TQValueList<KRecBuffer*> _buffers;  	KTempDir *_dir; -	KSimpleConfig *_config; +	TDESimpleConfig *_config;  	int _pos, _size;  	void init(); diff --git a/noatun/library/playlistsaver.cpp b/noatun/library/playlistsaver.cpp index 1450804d..418c2a42 100644 --- a/noatun/library/playlistsaver.cpp +++ b/noatun/library/playlistsaver.cpp @@ -5,7 +5,7 @@  #include <tqtextstream.h>  #include <noatun/app.h>  #include "ksaver.h" -#include <ksimpleconfig.h> +#include <tdesimpleconfig.h>  #include <kmimetype.h>  #include <tdelocale.h>  #include <tqregexp.h> @@ -485,7 +485,7 @@ bool PlaylistSaver::loadM3U(const KURL &file, int /*opt*/)  	// if it's a PLS, transfer control, again (TDEIO bug?)  #if 0  	{ -		KSimpleConfig list(local, true); +		TDESimpleConfig list(local, true);  		list.setGroup("playlist");  		// some stupid Windows lusers like to be case insensitive @@ -712,7 +712,7 @@ bool PlaylistSaver::loadPLS(const KURL &file, int /*opt*/)  	} -	KSimpleConfig list(localFile, true); +	TDESimpleConfig list(localFile, true);  	//list.setGroup("playlist");  	// some stupid Windows lusers like to be case insensitive diff --git a/noatun/library/pluginloader.cpp b/noatun/library/pluginloader.cpp index c402607c..bc1cc2ff 100644 --- a/noatun/library/pluginloader.cpp +++ b/noatun/library/pluginloader.cpp @@ -1,7 +1,7 @@  #include <tqfile.h>  #include <tdeglobal.h>  #include <tqdir.h> -#include <ksimpleconfig.h> +#include <tdesimpleconfig.h>  #include <tdestandarddirs.h>  #include <knotifyclient.h>  #include <tdelocale.h> @@ -138,7 +138,7 @@ NoatunLibraryInfo LibraryLoader::getInfo(const TQString &spec) const  	TQString specPath = (spec[0]=='/') ? spec : TDEGlobal::dirs()->findResource("appdata", spec);  	if (!TQFile::exists(specPath))  		return info; -	KSimpleConfig file(specPath); +	TDESimpleConfig file(specPath);  	if (spec.find('/')>=0)  		info.specfile=KURL(spec).fileName();  	else diff --git a/noatun/modules/splitplaylist/view.cpp b/noatun/modules/splitplaylist/view.cpp index bda6aec2..f724d490 100644 --- a/noatun/modules/splitplaylist/view.cpp +++ b/noatun/modules/splitplaylist/view.cpp @@ -26,7 +26,7 @@  #include <tdeio/netaccess.h>  #include <tdelocale.h>  #include <tdemenubar.h> -#include <ksimpleconfig.h> +#include <tdesimpleconfig.h>  #include <tdestandarddirs.h>  #include <kstdaction.h>  #include <kedittoolbar.h> diff --git a/noatun/modules/winskin/waRegion.cpp b/noatun/modules/winskin/waRegion.cpp index fdbad9af..d4285022 100644 --- a/noatun/modules/winskin/waRegion.cpp +++ b/noatun/modules/winskin/waRegion.cpp @@ -10,7 +10,7 @@   */ -#include <ksimpleconfig.h> +#include <tdesimpleconfig.h>  #include <tqbitmap.h>  #include <tqpainter.h>  #include <tqregexp.h> @@ -28,7 +28,7 @@ const char *numPointsNames[] = {"NumPoints", "numpoints", "Numpoints", "numPoint  WaRegion::WaRegion(TQString filename) {      // Load the region file, which happens to be in TDEConfig format -    KSimpleConfig regionFile(filename, true); +    TDESimpleConfig regionFile(filename, true);      // Clear our variables by default      window_mask = 0;  | 
