summaryrefslogtreecommitdiffstats
path: root/knotes/knoteslegacy.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-12 18:57:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-12 18:57:41 +0900
commitc327636f4934564a4f1f7c7ce3b6ab73eaec230d (patch)
tree54a98d7d0fa063b1ac0be810fc20f788aa3c7f9c /knotes/knoteslegacy.cpp
parent8f878546e0a859e78dfc2c6ff7f08507347a76ea (diff)
downloadtdepim-c327636f4934564a4f1f7c7ce3b6ab73eaec230d.tar.gz
tdepim-c327636f4934564a4f1f7c7ce3b6ab73eaec230d.zip
Use TDESimpleConfig
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'knotes/knoteslegacy.cpp')
-rw-r--r--knotes/knoteslegacy.cpp6
1 files changed, 3 insertions, 3 deletions
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 <tdeglobal.h>
#include <kurl.h>
#include <tdestandarddirs.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#include <tdeio/netaccess.h>
#include <unistd.h>
@@ -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 );