diff options
Diffstat (limited to 'knotes/knoteslegacy.cpp')
-rw-r--r-- | knotes/knoteslegacy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/knotes/knoteslegacy.cpp b/knotes/knoteslegacy.cpp index c7e79172f..6c59f13ea 100644 --- a/knotes/knoteslegacy.cpp +++ b/knotes/knoteslegacy.cpp @@ -146,7 +146,7 @@ bool KNotesLegacy::convertKNotes1Config( Journal *journal, TQDir& noteDir, TQString configFile = noteDir.absFilePath( journal->uid() ); // set the defaults - KIO::NetAccess::copy( + TDEIO::NetAccess::copy( KURL( TDEGlobal::dirs()->saveLocation( "config" ) + "knotesrc" ), KURL( configFile ), 0 @@ -240,7 +240,7 @@ bool KNotesLegacy::convertKNotes2Config( Journal *journal, TQDir& noteDir, } // update the config - KConfig config( configFile ); + TDEConfig config( configFile ); config.setGroup( "Data" ); journal->setSummary( config.readEntry( "name" ) ); config.deleteGroup( "Data", true ); |