diff options
author | Timothy Pearson <[email protected]> | 2013-01-31 13:25:26 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-31 13:25:26 -0600 |
commit | 30c894d73ed8800b48fe4973d4907c36e44b1ce5 (patch) | |
tree | 7a222d577e61985ccb662cdc32e5b885d580f021 /noatun-plugins | |
parent | 854cb5dd9c481a1351624fd095f4865d211ddb48 (diff) | |
download | tdeaddons-30c894d73ed8800b48fe4973d4907c36e44b1ce5.tar.gz tdeaddons-30c894d73ed8800b48fe4973d4907c36e44b1ce5.zip |
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'noatun-plugins')
-rw-r--r-- | noatun-plugins/nexscope/noatunplugin.cpp | 2 | ||||
-rw-r--r-- | noatun-plugins/synaescope/synaescope.cpp | 2 | ||||
-rw-r--r-- | noatun-plugins/tippercanoe/synaescope.cpp | 2 | ||||
-rw-r--r-- | noatun-plugins/tyler/file.cpp | 4 | ||||
-rw-r--r-- | noatun-plugins/tyler/tyler.cpp | 2 |
5 files changed, 6 insertions, 6 deletions
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 |