From c327636f4934564a4f1f7c7ce3b6ab73eaec230d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Jul 2025 18:57:41 +0900 Subject: Use TDESimpleConfig Signed-off-by: Michele Calgaro --- knotes/knoteslegacy.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'knotes/knoteslegacy.cpp') diff --git a/knotes/knoteslegacy.cpp b/knotes/knoteslegacy.cpp index dd08063e..ebe3f3ae 100644 --- a/knotes/knoteslegacy.cpp +++ b/knotes/knoteslegacy.cpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include @@ -52,7 +52,7 @@ void KNotesLegacy::cleanUp() // remove old (KDE 1.x) local config file if it still exists TQString configfile = TDEGlobal::dirs()->saveLocation( "config" ) + "knotesrc"; if ( TQFile::exists( configfile ) ) { - KSimpleConfig *test = new KSimpleConfig( configfile ); + TDESimpleConfig *test = new TDESimpleConfig( configfile ); test->setGroup( "General" ); double version = test->readDoubleNumEntry( "version", 1.0 ); delete test; @@ -76,7 +76,7 @@ bool KNotesLegacy::convert( CalendarLocal *calendar ) for ( TQStringList::ConstIterator note = notes.constBegin(); note != notes.constEnd(); ++note ) { TQString file = noteDir.absFilePath( *note ); - KSimpleConfig* test = new KSimpleConfig( file ); + TDESimpleConfig* test = new TDESimpleConfig( file ); test->setGroup( "General" ); double version = test->readDoubleNumEntry( "version", 1.0 ); -- cgit v1.2.3