summaryrefslogtreecommitdiffstats
path: root/knotes/knoteslegacy.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:49:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:49:30 -0600
commita9bde819f2b421dcc44741156e75eca4bb5fb4f4 (patch)
treed087071b1e8fcf79698938efec19f8e48bab0799 /knotes/knoteslegacy.cpp
parent5c4a80ead2b1fe57dc6a8c29d0368792344cd61e (diff)
downloadtdepim-a9bde819f2b421dcc44741156e75eca4bb5fb4f4.tar.gz
tdepim-a9bde819f2b421dcc44741156e75eca4bb5fb4f4.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
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
);