From da4097d57f460eed4814a1c37fbb76a76e19d421 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:30:22 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- quanta/src/document.cpp | 2 +- quanta/src/quanta_init.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'quanta/src') diff --git a/quanta/src/document.cpp b/quanta/src/document.cpp index dee83bca..8b3e34f0 100644 --- a/quanta/src/document.cpp +++ b/quanta/src/document.cpp @@ -2268,7 +2268,7 @@ void Document::checkDirtyStatus() { DirtyDlg *dlg = new DirtyDlg(url().path(), m_tempFileName, false, this); DirtyDialog *w = static_cast(dlg->mainWidget()); - TQString kompareStr = KStandardDirs::findExe("kompare"); + TQString kompareStr = TDEStandardDirs::findExe("kompare"); if (kompareStr.isEmpty()) { w->buttonCompare->setEnabled(false); diff --git a/quanta/src/quanta_init.cpp b/quanta/src/quanta_init.cpp index 48f106b0..08b73763 100644 --- a/quanta/src/quanta_init.cpp +++ b/quanta/src/quanta_init.cpp @@ -1177,7 +1177,7 @@ void QuantaInit::recoverCrashed(TQStringList& recoveredFileNameList) w->warningLabel = 0L; w->setMinimumHeight(320); dlg->adjustSize(); - if (KStandardDirs::findExe("kompare").isEmpty() || isUntitledDocument) + if (TDEStandardDirs::findExe("kompare").isEmpty() || isUntitledDocument) { w->buttonCompare->setEnabled(false); w->buttonLoad->setChecked(true); @@ -1469,7 +1469,7 @@ void QuantaInit::checkRuntimeDependencies() dependency = *it; if (dependency.type == Dependency::Executable) { - if (KStandardDirs::findExe(dependency.execName).isNull()) + if (TDEStandardDirs::findExe(dependency.execName).isNull()) errorStr += TQString(stdErrorMsg).arg(dependency.name).arg(dependency.url).arg(dependency.description); } else -- cgit v1.2.1