summaryrefslogtreecommitdiffstats
path: root/libkdepim/addresseeselector.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:13 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 04:25:13 +0200
commitc4b3c076ff7d33a8205c616611477ae3c7532de7 (patch)
tree951a8f07f1a0dafc04cb0ca4b2af034809da9883 /libkdepim/addresseeselector.cpp
parent04b89c2dbd5fb1b865453f3977261a60a70f6bc2 (diff)
downloadtdepim-c4b3c076ff7d33a8205c616611477ae3c7532de7.tar.gz
tdepim-c4b3c076ff7d33a8205c616611477ae3c7532de7.zip
Rename obsolete tq methods to standard names
(cherry picked from commit ba2a3ce341c0c71bbbcf350fcbcd60c552220b31)
Diffstat (limited to 'libkdepim/addresseeselector.cpp')
-rw-r--r--libkdepim/addresseeselector.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/libkdepim/addresseeselector.cpp b/libkdepim/addresseeselector.cpp
index e0c1e6679..5c5c29110 100644
--- a/libkdepim/addresseeselector.cpp
+++ b/libkdepim/addresseeselector.cpp
@@ -267,7 +267,7 @@ void AddresseeSelector::init()
void AddresseeSelector::initGUI()
{
- TQGridLayout *tqlayout = new TQGridLayout( this, 2, 3, KDialog::marginHint(), KDialog::spacingHint() );
+ TQGridLayout *layout = new TQGridLayout( this, 2, 3, KDialog::marginHint(), KDialog::spacingHint() );
TQGridLayout *topLayout = new TQGridLayout( this, 2, 2, KDialog::marginHint() );
TQLabel *label = new TQLabel( i18n( "Address book:" ), this );
@@ -284,7 +284,7 @@ void AddresseeSelector::initGUI()
topLayout->setColStretch( 1, 1 );
- tqlayout->addMultiCellLayout( topLayout, 0, 0, 0, 2 );
+ layout->addMultiCellLayout( topLayout, 0, 0, 0, 2 );
int row = 1;
@@ -304,7 +304,7 @@ void AddresseeSelector::initGUI()
TQVBoxLayout *buttonLayout = new TQVBoxLayout( this );
buttonLayout->setAlignment( TQt::AlignBottom );
- tqlayout->addLayout( buttonLayout, row, 1 );
+ layout->addLayout( buttonLayout, row, 1 );
// move button
TQToolButton *moveButton = new TQToolButton( this );
@@ -327,7 +327,7 @@ void AddresseeSelector::initGUI()
buttonLayout->addWidget( moveButton );
buttonLayout->addWidget( removeButton );
- tqlayout->addWidget( listView, row, 2 );
+ layout->addWidget( listView, row, 2 );
}
mAddresseeView = new KListView( this );
@@ -335,7 +335,7 @@ void AddresseeSelector::initGUI()
mAddresseeView->header()->hide();
mAddresseeView->setFullWidth( true );
- tqlayout->addMultiCellWidget( mAddresseeView, 1, row, 0, 0 );
+ layout->addMultiCellWidget( mAddresseeView, 1, row, 0, 0 );
}
void AddresseeSelector::finish()
@@ -565,9 +565,9 @@ AddresseeSelectorDialog::AddresseeSelectorDialog( Selection *selection,
: KDialogBase( Plain, "", Ok | Cancel, Ok, parent, name, true )
{
TQFrame *frame = plainPage();
- TQVBoxLayout *tqlayout = new TQVBoxLayout( frame );
+ TQVBoxLayout *layout = new TQVBoxLayout( frame );
mSelector = new KPIM::AddresseeSelector( selection, frame );
- tqlayout->addWidget( mSelector );
+ layout->addWidget( mSelector );
resize( 500, 490 );
}