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 /kdebugdialog/kabstractdebugdialog.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 'kdebugdialog/kabstractdebugdialog.cpp')
-rw-r--r-- | kdebugdialog/kabstractdebugdialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kdebugdialog/kabstractdebugdialog.cpp b/kdebugdialog/kabstractdebugdialog.cpp index 76dca8f61..bdf267dd1 100644 --- a/kdebugdialog/kabstractdebugdialog.cpp +++ b/kdebugdialog/kabstractdebugdialog.cpp @@ -20,12 +20,12 @@ #include "kabstractdebugdialog.h" #include <kconfig.h> #include <kpushbutton.h> -#include <qlayout.h> +#include <tqlayout.h> #include <kapplication.h> #include <klocale.h> #include <kstdguiitem.h> -KAbstractDebugDialog::KAbstractDebugDialog( QWidget *parent, const char *name, bool modal ) +KAbstractDebugDialog::KAbstractDebugDialog( TQWidget *parent, const char *name, bool modal ) : KDialog( parent, name, modal ) { pConfig = new KConfig( "kdebugrc" ); @@ -36,14 +36,14 @@ KAbstractDebugDialog::~KAbstractDebugDialog() delete pConfig; } -void KAbstractDebugDialog::buildButtons( QVBoxLayout * topLayout ) +void KAbstractDebugDialog::buildButtons( TQVBoxLayout * topLayout ) { - QHBoxLayout *hbox = new QHBoxLayout( KDialog::spacingHint() ); + TQHBoxLayout *hbox = new TQHBoxLayout( KDialog::spacingHint() ); topLayout->addLayout( hbox ); pHelpButton = new KPushButton( KStdGuiItem::help(), this ); hbox->addWidget( pHelpButton ); hbox->addStretch(10); - QSpacerItem *spacer = new QSpacerItem(40, 0); + TQSpacerItem *spacer = new TQSpacerItem(40, 0); hbox->addItem(spacer); pOKButton = new KPushButton( KStdGuiItem::ok(), this ); hbox->addWidget( pOKButton ); @@ -64,10 +64,10 @@ void KAbstractDebugDialog::buildButtons( QVBoxLayout * topLayout ) pApplyButton->setFixedWidth( w4 ); pCancelButton->setFixedWidth( w4 ); - connect( pHelpButton, SIGNAL( clicked() ), SLOT( slotShowHelp() ) ); - connect( pOKButton, SIGNAL( clicked() ), SLOT( accept() ) ); - connect( pApplyButton, SIGNAL( clicked() ), SLOT( slotApply() ) ); - connect( pCancelButton, SIGNAL( clicked() ), SLOT( reject() ) ); + connect( pHelpButton, TQT_SIGNAL( clicked() ), TQT_SLOT( slotShowHelp() ) ); + connect( pOKButton, TQT_SIGNAL( clicked() ), TQT_SLOT( accept() ) ); + connect( pApplyButton, TQT_SIGNAL( clicked() ), TQT_SLOT( slotApply() ) ); + connect( pCancelButton, TQT_SIGNAL( clicked() ), TQT_SLOT( reject() ) ); } void KAbstractDebugDialog::slotShowHelp() |