From 9c02dbb59ce57c68dc177d9294b980bf114a3e11 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 15:59:03 -0500 Subject: Update to TDE R14 API --- doc/html/commandentrydialog_8cpp-source.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'doc/html/commandentrydialog_8cpp-source.html') diff --git a/doc/html/commandentrydialog_8cpp-source.html b/doc/html/commandentrydialog_8cpp-source.html index fae9542..7dd0133 100644 --- a/doc/html/commandentrydialog_8cpp-source.html +++ b/doc/html/commandentrydialog_8cpp-source.html @@ -32,16 +32,16 @@ 00015 * * 00016 ***************************************************************************/ 00017 -00018 #include <qwidget.h> -00019 #include <qlineedit.h> -00020 #include <qfileinfo.h> -00021 #include <qfiledialog.h> -00022 #include <qcheckbox.h> -00023 #include <klocale.h> +00018 #include <ntqwidget.h> +00019 #include <ntqlineedit.h> +00020 #include <ntqfileinfo.h> +00021 #include <ntqfiledialog.h> +00022 #include <ntqcheckbox.h> +00023 #include <tdelocale.h> 00024 #include "commandentry.h" 00025 #include "commandentrydialog.h" 00026 -00027 CommandEntryDialog::CommandEntryDialog(QWidget *parent, const char *name, CommandEntry* entry, ConfigElem* pConfigElem): +00027 CommandEntryDialog::CommandEntryDialog(TQWidget *parent, const char *name, CommandEntry* entry, ConfigElem* pConfigElem): 00028 CommandEntryDlg(parent,name,true), 00029 m_pentry (entry), 00030 m_pConfigElem (pConfigElem) @@ -57,20 +57,20 @@ 00040 00041 void CommandEntryDialog::slotPath () 00042 { -00043 QFileInfo info (m_EditPath->text ()); -00044 QString dir = info.dirPath (); -00045 QFileDialog dlg (this, "Command", TRUE); +00043 TQFileInfo info (m_EditPath->text ()); +00044 TQString dir = info.dirPath (); +00045 TQFileDialog dlg (this, "Command", TRUE); 00046 dlg.setCaption (i18n("Select Command")); 00047 dlg.setDir (dir); -00048 dlg.setMode (QFileDialog::ExistingFile); -00049 if (dlg.exec () == QDialog::Accepted) +00048 dlg.setMode (TQFileDialog::ExistingFile); +00049 if (dlg.exec () == TQDialog::Accepted) 00050 m_EditPath->setText (dlg.selectedFile()); 00051 } 00052 00053 void CommandEntryDialog::slotOk () 00054 { -00055 QString name = m_EditName->text(); -00056 QString path = m_EditPath->text(); +00055 TQString name = m_EditName->text(); +00056 TQString path = m_EditPath->text(); 00057 if (!name.isEmpty() && !path.isEmpty()) 00058 { 00059 m_pentry->m_name = name; -- cgit v1.2.1