From cf989dcd69444c456d60c0eedbc3d5588d653681 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:24:37 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- lib/idmapper.cc | 2 +- lib/pilot.cc | 4 ++-- lib/pilotLocalDatabase.cc | 2 +- lib/plugin.cc | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/idmapper.cc b/lib/idmapper.cc index f4fc38c..dc14072 100644 --- a/lib/idmapper.cc +++ b/lib/idmapper.cc @@ -57,7 +57,7 @@ IDMapper::IDMapper() fP = new IDMapperPrivate(); - TQString dbPath = KGlobal::dirs()-> + TQString dbPath = TDEGlobal::dirs()-> saveLocation("data", CSL1("kpilot/") ); TQString dbFile = dbPath + CSL1("mapping.xml"); diff --git a/lib/pilot.cc b/lib/pilot.cc index 2abfb7b..ef4054b 100644 --- a/lib/pilot.cc +++ b/lib/pilot.cc @@ -118,13 +118,13 @@ bool setupPilotCodec(const TQString &s) FUNCTIONSETUP; mutex = new TQMutex(); mutex->lock(); - TQString encoding(KGlobal::charsets()->encodingForName(s)); + TQString encoding(TDEGlobal::charsets()->encodingForName(s)); DEBUGKPILOT << fname << ": Using codec name " << s << endl; DEBUGKPILOT << fname << ": Creating codec " << encoding << endl; // if the desired codec can't be found, latin1 will be returned anyway, no need to do this manually - codec = KGlobal::charsets()->codecForName(encoding); + codec = TDEGlobal::charsets()->codecForName(encoding); if (codec) { diff --git a/lib/pilotLocalDatabase.cc b/lib/pilotLocalDatabase.cc index 91e0047..4946312 100644 --- a/lib/pilotLocalDatabase.cc +++ b/lib/pilotLocalDatabase.cc @@ -102,7 +102,7 @@ PilotLocalDatabase::PilotLocalDatabase(const TQString & path, } else { - fPathName = KGlobal::dirs()->saveLocation("data", + fPathName = TDEGlobal::dirs()->saveLocation("data", CSL1("kpilot/DBBackup/")); } fixupDBName(); diff --git a/lib/plugin.cc b/lib/plugin.cc index 0e61b32..baabc9c 100644 --- a/lib/plugin.cc +++ b/lib/plugin.cc @@ -116,8 +116,8 @@ TQWidget *ConduitConfigBase::aboutPage(TQWidget *parent, TDEAboutData *ad) TQString s; TQLabel *text; - KIconLoader *l = KGlobal::iconLoader(); - const TDEAboutData *p = ad ? ad : KGlobal::instance()->aboutData(); + KIconLoader *l = TDEGlobal::iconLoader(); + const TDEAboutData *p = ad ? ad : TDEGlobal::instance()->aboutData(); TQGridLayout *grid = new TQGridLayout(w, 5, 4, SPACING); -- cgit v1.2.1