summaryrefslogtreecommitdiffstats
path: root/kdat/FormatOptDlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:28:18 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 20:26:21 +0200
commit1754e4db964431e721e805a923b689b6c92960e4 (patch)
treea3cc3a44576f709d992e90ac0a37e6aba2967b57 /kdat/FormatOptDlg.cpp
parentce22df03899aad1d9eeabb3bba1048a9cb6c5708 (diff)
downloadtdeadmin-1754e4db964431e721e805a923b689b6c92960e4.tar.gz
tdeadmin-1754e4db964431e721e805a923b689b6c92960e4.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit b836ed566cdce05ae8408705487cd10a423f3a90)
Diffstat (limited to 'kdat/FormatOptDlg.cpp')
-rw-r--r--kdat/FormatOptDlg.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kdat/FormatOptDlg.cpp b/kdat/FormatOptDlg.cpp
index f6084de..81a74f4 100644
--- a/kdat/FormatOptDlg.cpp
+++ b/kdat/FormatOptDlg.cpp
@@ -43,28 +43,28 @@ FormatOptDlg::FormatOptDlg( const TQString & def, TQWidget* parent, const char*
TQLabel* lbl1 = new TQLabel( i18n( "Tape name:" ), this );
TQLabel* lbl2 = new TQLabel( i18n( "Tape size:" ), this );
- int max = lbl1->tqsizeHint().width();
- if ( lbl2->tqsizeHint().width() > max ) max = lbl2->tqsizeHint().width();
+ int max = lbl1->sizeHint().width();
+ if ( lbl2->sizeHint().width() > max ) max = lbl2->sizeHint().width();
- lbl1->setFixedSize( max, lbl1->tqsizeHint().height() );
- lbl2->setFixedSize( max, lbl2->tqsizeHint().height() );
+ lbl1->setFixedSize( max, lbl1->sizeHint().height() );
+ lbl2->setFixedSize( max, lbl2->sizeHint().height() );
_entry = new TQLineEdit( this );
_entry->setText( def );
- _entry->setFixedHeight( _entry->tqsizeHint().height() );
+ _entry->setFixedHeight( _entry->sizeHint().height() );
_tapeSize = new TQLineEdit( this );
- _tapeSize->setFixedSize( 48, _tapeSize->tqsizeHint().height() );
+ _tapeSize->setFixedSize( 48, _tapeSize->sizeHint().height() );
_tapeSizeUnits = new TQComboBox( this );
- _tapeSizeUnits->setFixedSize( 48, _tapeSizeUnits->tqsizeHint().height() );
+ _tapeSizeUnits->setFixedSize( 48, _tapeSizeUnits->sizeHint().height() );
_tapeSizeUnits->insertItem( "MB" );
_tapeSizeUnits->insertItem( "GB" );
KPushButton* ok = new KPushButton( KStdGuiItem::ok(), this );
- ok->setFixedSize( 80, ok->tqsizeHint().height() );
+ ok->setFixedSize( 80, ok->sizeHint().height() );
KPushButton* cancel = new KPushButton( KStdGuiItem::cancel(), this );
- cancel->setFixedSize( 80, cancel->tqsizeHint().height() );
+ cancel->setFixedSize( 80, cancel->sizeHint().height() );
TQVBoxLayout* l1 = new TQVBoxLayout( this, 8, 4 );
TQHBoxLayout* l2 = new TQHBoxLayout();