From 44bd352cdcdbcc9d2b2c49f41f2bbcd7762c5a6b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:22:45 -0600 Subject: [PATCH] Rename KStandard for enhanced compatibility with KDE4 --- src/fetch/gcstarpluginfetcher.cpp | 4 ++-- src/reportdialog.cpp | 2 +- src/translators/griffithimporter.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fetch/gcstarpluginfetcher.cpp b/src/fetch/gcstarpluginfetcher.cpp index 8912ad9..49c9178 100644 --- a/src/fetch/gcstarpluginfetcher.cpp +++ b/src/fetch/gcstarpluginfetcher.cpp @@ -45,7 +45,7 @@ GCstarPluginFetcher::PluginParse GCstarPluginFetcher::pluginParse = NotYet; GCstarPluginFetcher::PluginList GCstarPluginFetcher::plugins(int collType_) { if(!pluginMap.contains(collType_)) { GUI::CursorSaver cs; - TQString gcstar = KStandardDirs::findExe(TQString::fromLatin1("gcstar")); + TQString gcstar = TDEStandardDirs::findExe(TQString::fromLatin1("gcstar")); if(pluginParse == NotYet) { KProcIO proc; @@ -213,7 +213,7 @@ void GCstarPluginFetcher::search(FetchKey key_, const TQString& value_) { return; } - TQString gcstar = KStandardDirs::findExe(TQString::fromLatin1("gcstar")); + TQString gcstar = TDEStandardDirs::findExe(TQString::fromLatin1("gcstar")); if(gcstar.isEmpty()) { myWarning() << "GCstarPluginFetcher::search() - gcstar not found!" << endl; stop(); diff --git a/src/reportdialog.cpp b/src/reportdialog.cpp index d95afb4..afae594 100644 --- a/src/reportdialog.cpp +++ b/src/reportdialog.cpp @@ -60,7 +60,7 @@ ReportDialog::ReportDialog(TQWidget* parent_, const char* name_/*=0*/) TQLabel* l = new TQLabel(i18n("&Report template:"), mainWidget); hlay->addWidget(l); -// KStandardDirs::findAllResources(const char *type, const TQString &filter, bool recursive, bool uniq) +// TDEStandardDirs::findAllResources(const char *type, const TQString &filter, bool recursive, bool uniq) TQStringList files = TDEGlobal::dirs()->findAllResources("appdata", TQString::fromLatin1("report-templates/*.xsl"), false, true); KSortableValueList templates; diff --git a/src/translators/griffithimporter.cpp b/src/translators/griffithimporter.cpp index d5693e1..d0bd2f7 100644 --- a/src/translators/griffithimporter.cpp +++ b/src/translators/griffithimporter.cpp @@ -40,7 +40,7 @@ Tellico::Data::CollPtr GriffithImporter::collection() { return 0; } - TQString python = KStandardDirs::findExe(TQString::fromLatin1("python")); + TQString python = TDEStandardDirs::findExe(TQString::fromLatin1("python")); if(python.isEmpty()) { myWarning() << "GriffithImporter::collection() - python not found!" << endl; return 0;