diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /konqueror/shellcmdplugin/kshellcmddialog.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konqueror/shellcmdplugin/kshellcmddialog.cpp')
-rw-r--r-- | konqueror/shellcmdplugin/kshellcmddialog.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/konqueror/shellcmdplugin/kshellcmddialog.cpp b/konqueror/shellcmdplugin/kshellcmddialog.cpp index b39e35cd3..eefa57337 100644 --- a/konqueror/shellcmdplugin/kshellcmddialog.cpp +++ b/konqueror/shellcmdplugin/kshellcmddialog.cpp @@ -17,9 +17,9 @@ Boston, MA 02110-1301, USA. */ -#include <qhbox.h> -#include <qlayout.h> -#include <qlabel.h> +#include <tqhbox.h> +#include <tqlayout.h> +#include <tqlabel.h> #include <klocale.h> #include <kstdguiitem.h> @@ -28,15 +28,15 @@ #include "kshellcmddialog.h" #include "kshellcmdexecutor.h" -KShellCommandDialog::KShellCommandDialog(const QString& title, const QString& command, QWidget* parent, bool modal) +KShellCommandDialog::KShellCommandDialog(const TQString& title, const TQString& command, TQWidget* parent, bool modal) :KDialog(parent,"p",modal) { - QVBoxLayout * box=new QVBoxLayout (this,marginHint(),spacingHint()); + TQVBoxLayout * box=new TQVBoxLayout (this,marginHint(),spacingHint()); - QLabel *label=new QLabel(title,this); + TQLabel *label=new TQLabel(title,this); m_shell=new KShellCommandExecutor(command,this); - QHBox *buttonsBox=new QHBox(this); + TQHBox *buttonsBox=new TQHBox(this); buttonsBox->setSpacing(spacingHint()); cancelButton= new KPushButton(KStdGuiItem::cancel(), buttonsBox); @@ -54,9 +54,9 @@ KShellCommandDialog::KShellCommandDialog(const QString& title, const QString& co m_shell->setFocus(); - connect(cancelButton, SIGNAL(clicked()), m_shell, SLOT(slotFinished())); - connect(m_shell, SIGNAL(finished()), this, SLOT(disableStopButton())); - connect(closeButton,SIGNAL(clicked()), this, SLOT(slotClose())); + connect(cancelButton, TQT_SIGNAL(clicked()), m_shell, TQT_SLOT(slotFinished())); + connect(m_shell, TQT_SIGNAL(finished()), this, TQT_SLOT(disableStopButton())); + connect(closeButton,TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClose())); } KShellCommandDialog::~KShellCommandDialog() |