From d3afa6baf98ef5ac191996cc9b909ff9074c168c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:28:26 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- tdeui/kbugreport.cpp | 2 +- tdeui/kedittoolbar.cpp | 4 ++-- tdeui/ktip.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tdeui') diff --git a/tdeui/kbugreport.cpp b/tdeui/kbugreport.cpp index 1812487c1..a6267b039 100644 --- a/tdeui/kbugreport.cpp +++ b/tdeui/kbugreport.cpp @@ -491,7 +491,7 @@ bool KBugReport::sendBugReport() TQString command; command = locate("exe", "tdesendbugmail"); if (command.isEmpty()) - command = KStandardDirs::findExe( TQString::fromLatin1("tdesendbugmail") ); + command = TDEStandardDirs::findExe( TQString::fromLatin1("tdesendbugmail") ); KTempFile outputfile; outputfile.close(); diff --git a/tdeui/kedittoolbar.cpp b/tdeui/kedittoolbar.cpp index 63c4bc2b2..5f9d71c0f 100644 --- a/tdeui/kedittoolbar.cpp +++ b/tdeui/kedittoolbar.cpp @@ -816,7 +816,7 @@ void KEditToolbarWidget::setupLayout() // "change icon" button d->m_changeIcon = new KPushButton( i18n( "Change &Icon..." ), this ); - TQString kdialogExe = KStandardDirs::findExe(TQString::fromLatin1("kdialog")); + TQString kdialogExe = TDEStandardDirs::findExe(TQString::fromLatin1("kdialog")); d->m_hasKDialog = !kdialogExe.isEmpty(); d->m_changeIcon->setEnabled( d->m_hasKDialog ); @@ -1382,7 +1382,7 @@ void KEditToolbarWidget::slotChangeIcon() return; d->m_kdialogProcess = new KProcIO; - TQString kdialogExe = KStandardDirs::findExe(TQString::fromLatin1("kdialog")); + TQString kdialogExe = TDEStandardDirs::findExe(TQString::fromLatin1("kdialog")); (*d->m_kdialogProcess) << kdialogExe; (*d->m_kdialogProcess) << "--embed"; (*d->m_kdialogProcess) << TQString::number( (ulong)topLevelWidget()->winId() ); diff --git a/tdeui/ktip.h b/tdeui/ktip.h index d18efd27e..a506902bf 100644 --- a/tdeui/ktip.h +++ b/tdeui/ktip.h @@ -131,7 +131,7 @@ public: * * @param parent Parent widget of TipDialog. * @param tipFile The name of the tip file. It has be relative to the "data" - * resource of KStandardDirs + * resource of TDEStandardDirs * @param force If true, the dialog is show, even when the users * disabled it. */ @@ -144,7 +144,7 @@ public: * * @param parent Parent widget of TipDialog. * @param tipFiles A List of tip files. Each has be relative to the "data" - * resource of KStandardDirs + * resource of TDEStandardDirs * @param force If true, the dialog is show, even when the users * disabled it. */ -- cgit v1.2.1