summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/preferencesdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:09 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:09 -0600
commit3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b (patch)
tree4405f233f4b0eee7f4ad3d265a5584c9ce681011 /kbugbuster/gui/preferencesdialog.cpp
parentd6331f1b56eb6dca7a1950658b2932f208015da0 (diff)
downloadtdesdk-3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b.tar.gz
tdesdk-3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit d6331f1b56eb6dca7a1950658b2932f208015da0.
Diffstat (limited to 'kbugbuster/gui/preferencesdialog.cpp')
-rw-r--r--kbugbuster/gui/preferencesdialog.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kbugbuster/gui/preferencesdialog.cpp b/kbugbuster/gui/preferencesdialog.cpp
index 6acb3385..2c1a845c 100644
--- a/kbugbuster/gui/preferencesdialog.cpp
+++ b/kbugbuster/gui/preferencesdialog.cpp
@@ -2,7 +2,7 @@
#include <tqcheckbox.h>
#include <tqlineedit.h>
#include <tqpushbutton.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqgroupbox.h>
#include <tqbuttongroup.h>
#include <tqlistview.h>
@@ -79,15 +79,15 @@ void PreferencesDialog::setupServerPage()
TQFrame *topFrame = addPage( i18n("Servers"), 0,
DesktopIcon( "gohome", KIcon::SizeMedium ) );
- TQBoxLayout *layout = new TQVBoxLayout( topFrame );
- layout->setSpacing( spacingHint() );
+ TQBoxLayout *tqlayout = new TQVBoxLayout( topFrame );
+ tqlayout->setSpacing( spacingHint() );
mServerList = new ServerListView( topFrame );
- layout->addWidget( mServerList );
+ tqlayout->addWidget( mServerList );
TQHBox *buttonBox = new TQHBox( topFrame );
buttonBox->setSpacing( spacingHint() );
- layout->addWidget( buttonBox );
+ tqlayout->addWidget( buttonBox );
TQPushButton *addButton = new TQPushButton( i18n("Add Server..."), buttonBox );
connect( addButton, TQT_SIGNAL( clicked() ), TQT_SLOT( addServer() ) );
@@ -100,7 +100,7 @@ void PreferencesDialog::setupServerPage()
TQPushButton *button = new TQPushButton( i18n("Select Server From List..."),
topFrame );
- layout->addWidget( button );
+ tqlayout->addWidget( button );
connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( selectServer() ) );
connect( mServerList, TQT_SIGNAL( doubleClicked ( TQListViewItem *)), this, TQT_SLOT( editServer()));
}
@@ -110,34 +110,34 @@ void PreferencesDialog::setupAdvancedPage()
TQFrame *topFrame = addPage( i18n("Advanced"), 0,
DesktopIcon( "misc", KIcon::SizeMedium ) );
- TQBoxLayout *layout = new TQVBoxLayout( topFrame );
- layout->setSpacing( spacingHint() );
+ TQBoxLayout *tqlayout = new TQVBoxLayout( topFrame );
+ tqlayout->setSpacing( spacingHint() );
TQButtonGroup *mailGroup = new TQButtonGroup( 1,Qt::Horizontal,
i18n( "Mail Client" ), topFrame );
- layout->addWidget( mailGroup );
+ tqlayout->addWidget( mailGroup );
mKMailButton = new TQRadioButton( i18n( "&KMail" ), mailGroup );
mDirectButton = new TQRadioButton( i18n( "D&irect" ), mailGroup );
mSendmailButton = new TQRadioButton( i18n( "&Sendmail" ), mailGroup );
mShowClosedCheckBox = new TQCheckBox( i18n( "Show closed bugs" ), topFrame );
- layout->addWidget( mShowClosedCheckBox );
+ tqlayout->addWidget( mShowClosedCheckBox );
mShowWishesCheckBox = new TQCheckBox( i18n( "Show wishes" ), topFrame );
- layout->addWidget( mShowWishesCheckBox );
+ tqlayout->addWidget( mShowWishesCheckBox );
mShowVotedCheckBox = new TQCheckBox( i18n( "Show bugs with number of votes greater than:" ), topFrame );
- layout->addWidget( mShowVotedCheckBox );
+ tqlayout->addWidget( mShowVotedCheckBox );
mMinVotesInput = new KIntNumInput( topFrame );
mMinVotesInput->setMinValue( 0 );
connect( mShowVotedCheckBox, TQT_SIGNAL(toggled(bool)),
mMinVotesInput, TQT_SLOT(setEnabled(bool)) );
- layout->addWidget( mMinVotesInput );
+ tqlayout->addWidget( mMinVotesInput );
mSendBccCheckBox = new TQCheckBox( i18n( "Send BCC to myself" ), topFrame );
- layout->addWidget( mSendBccCheckBox );
+ tqlayout->addWidget( mSendBccCheckBox );
}
void PreferencesDialog::setDefaults()