summaryrefslogtreecommitdiffstats
path: root/knotes/knoteslegacy.cpp
diff options
context:
space:
mode:
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 006e35cdf..c7e79172f 100644
--- a/knotes/knoteslegacy.cpp
+++ b/knotes/knoteslegacy.cpp
@@ -50,7 +50,7 @@ using namespace KCal;
void KNotesLegacy::cleanUp()
{
// remove old (KDE 1.x) local config file if it still exists
- TQString configfile = KGlobal::dirs()->saveLocation( "config" ) + "knotesrc";
+ TQString configfile = TDEGlobal::dirs()->saveLocation( "config" ) + "knotesrc";
if ( TQFile::exists( configfile ) ) {
KSimpleConfig *test = new KSimpleConfig( configfile );
test->setGroup( "General" );
@@ -71,7 +71,7 @@ bool KNotesLegacy::convert( CalendarLocal *calendar )
{
bool converted = false;
- TQDir noteDir( KGlobal::dirs()->saveLocation( "appdata", "notes/" ) );
+ TQDir noteDir( TDEGlobal::dirs()->saveLocation( "appdata", "notes/" ) );
const TQStringList notes = noteDir.entryList( TQDir::Files, TQDir::Name );
for ( TQStringList::ConstIterator note = notes.constBegin(); note != notes.constEnd(); ++note )
{
@@ -147,7 +147,7 @@ bool KNotesLegacy::convertKNotes1Config( Journal *journal, TQDir& noteDir,
// set the defaults
KIO::NetAccess::copy(
- KURL( KGlobal::dirs()->saveLocation( "config" ) + "knotesrc" ),
+ KURL( TDEGlobal::dirs()->saveLocation( "config" ) + "knotesrc" ),
KURL( configFile ),
0
);