Browse Source

Rename KStandard for enhanced compatibility with KDE4

tags/r14.0.0
Timothy Pearson 7 years ago
parent
commit
44bd352cdc
3 changed files with 4 additions and 4 deletions
  1. +2
    -2
      src/fetch/gcstarpluginfetcher.cpp
  2. +1
    -1
      src/reportdialog.cpp
  3. +1
    -1
      src/translators/griffithimporter.cpp

+ 2
- 2
src/fetch/gcstarpluginfetcher.cpp View File

@@ -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();


+ 1
- 1
src/reportdialog.cpp View File

@@ -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<TQString, TQString> templates;


+ 1
- 1
src/translators/griffithimporter.cpp View File

@@ -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;


Loading…
Cancel
Save