Rename KStandard for enhanced compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 82d47ff1c4
commit 1150fa871f

@ -57,9 +57,9 @@ void Locater::setupLocate(const TQString& binary, const TQString& additionalArgu
// Automatically choose the correct binary if not specified.
if (binary.isEmpty()) {
if (!KStandardDirs::findExe("slocate").isNull()) {
if (!TDEStandardDirs::findExe("slocate").isNull()) {
m_binary = "slocate";
} else if (!KStandardDirs::findExe("rlocate").isNull()) {
} else if (!TDEStandardDirs::findExe("rlocate").isNull()) {
m_binary = "rlocate";
} else {
m_binary = "locate";
@ -69,7 +69,7 @@ void Locater::setupLocate(const TQString& binary, const TQString& additionalArgu
m_binary = binary;
}
m_additionalArguments = additionalArguments;
m_binaryExists = KStandardDirs::findExe(m_binary) != TQString();
m_binaryExists = TDEStandardDirs::findExe(m_binary) != TQString();
}

Loading…
Cancel
Save