Rename KStandard for enhanced compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 443bfebf9b
commit 07b1c8c4cf

@ -30,7 +30,7 @@ commandline_part::commandline_part(TQObject *parent, const char *name,TDECmdLine
TDEInstance * inst = tdesvnPartFactory::instance();
TDEGlobal::locale()->insertCatalogue(inst->instanceName());
TDEGlobal::dirs()->addResourceType( inst->instanceName() + "data",
KStandardDirs::kde_default("data")+ TQString::fromLatin1( inst->instanceName() ) + '/' );
TDEStandardDirs::kde_default("data")+ TQString::fromLatin1( inst->instanceName() ) + '/' );
m_pCPart = new CommandExec(this,TQString(name?TQString(name)+TQString("_exec"):TQString::fromLatin1("command_executer")).ascii(),args);

@ -49,7 +49,7 @@ KURL KTranslateUrl::translateSystemUrl(const KURL&_url)
return _url;
}
TDEGlobal::dirs()->addResourceType("system_entries",
KStandardDirs::kde_default("data") + "systemview");
TDEStandardDirs::kde_default("data") + "systemview");
TQStringList dirList = TDEGlobal::dirs()->resourceDirs("system_entries");
if (!parseURL(_url,name,path)) {
return _url;

Loading…
Cancel
Save