From 30c894d73ed8800b48fe4973d4907c36e44b1ce5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:25:26 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- noatun-plugins/nexscope/noatunplugin.cpp | 2 +- noatun-plugins/synaescope/synaescope.cpp | 2 +- noatun-plugins/tippercanoe/synaescope.cpp | 2 +- noatun-plugins/tyler/file.cpp | 4 ++-- noatun-plugins/tyler/tyler.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'noatun-plugins') diff --git a/noatun-plugins/nexscope/noatunplugin.cpp b/noatun-plugins/nexscope/noatunplugin.cpp index a279d48..e4401ad 100644 --- a/noatun-plugins/nexscope/noatunplugin.cpp +++ b/noatun-plugins/nexscope/noatunplugin.cpp @@ -28,7 +28,7 @@ NexPlugin::~NexPlugin() void NexPlugin::init() { - process << KStandardDirs::findExe("nexscope.bin"); + process << TDEStandardDirs::findExe("nexscope.bin"); // Note that process.start() will fail if findExe fails, so there's no real need // for two separate checks. diff --git a/noatun-plugins/synaescope/synaescope.cpp b/noatun-plugins/synaescope/synaescope.cpp index a401704..42ba321 100644 --- a/noatun-plugins/synaescope/synaescope.cpp +++ b/noatun-plugins/synaescope/synaescope.cpp @@ -48,7 +48,7 @@ void SynaeScope::init() mPrefs->save(); connect(mPrefs, TQT_SIGNAL(configChanged()), this, TQT_SLOT(readConfig())); - scopeExePath = KStandardDirs::findExe("noatunsynaescope.bin"); + scopeExePath = TDEStandardDirs::findExe("noatunsynaescope.bin"); if (scopeExePath.isEmpty()) { KMessageBox::error(0, i18n("Unable to locate noatunsynaescope.bin in your path. Check your installation.")); diff --git a/noatun-plugins/tippercanoe/synaescope.cpp b/noatun-plugins/tippercanoe/synaescope.cpp index 9435408..9818ab9 100644 --- a/noatun-plugins/tippercanoe/synaescope.cpp +++ b/noatun-plugins/tippercanoe/synaescope.cpp @@ -54,7 +54,7 @@ void SynaeScope::init() connect(&process, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), this, TQT_SLOT(read(TDEProcess *, char *, int))); pluginMenuItem = napp->pluginMenuAdd(i18n("Toggle Tippecanoe"), TQT_TQOBJECT(this), TQT_SLOT(toggle(void))); - process << KStandardDirs::findExe("noatuntippecanoe.bin"); + process << TDEStandardDirs::findExe("noatuntippecanoe.bin"); // Note that process.start() will fail if findExe fails, so there's no real need // for two separate checks. diff --git a/noatun-plugins/tyler/file.cpp b/noatun-plugins/tyler/file.cpp index cd61992..9e5b209 100644 --- a/noatun-plugins/tyler/file.cpp +++ b/noatun-plugins/tyler/file.cpp @@ -28,14 +28,14 @@ extern "C" static TQString getDataPath(void) { - KStandardDirs &dirs = *TDEGlobal::dirs(); + TDEStandardDirs &dirs = *TDEGlobal::dirs(); return dirs.findResource("data", "noatun/tylerstates"); } static TQString getSavePath(void) { - KStandardDirs &dirs = *TDEGlobal::dirs(); + TDEStandardDirs &dirs = *TDEGlobal::dirs(); return dirs.saveLocation("data", "noatun/") + "tylerstates"; } diff --git a/noatun-plugins/tyler/tyler.cpp b/noatun-plugins/tyler/tyler.cpp index 39be621..25d844b 100644 --- a/noatun-plugins/tyler/tyler.cpp +++ b/noatun-plugins/tyler/tyler.cpp @@ -36,7 +36,7 @@ Tyler::~Tyler() void Tyler::init() { - process << KStandardDirs::findExe("noatuntyler.bin"); + process << TDEStandardDirs::findExe("noatuntyler.bin"); connect(&process, TQT_SIGNAL(processExited(TDEProcess *)), this, TQT_SLOT(processExited(TDEProcess *))); // Note that process.start() will fail if findExe fails, so there's no real need -- cgit v1.2.1