Rename KStandard for enhanced compatibility with KDE4

pull/1/head
Timothy Pearson преди 11 години
родител 57443681e9
ревизия 44bd352cdc

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

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

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

Зареждане…
Отказ
Запис