summaryrefslogtreecommitdiffstats
path: root/kdat/FileInfoWidget.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/FileInfoWidget.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/FileInfoWidget.cpp')
-rw-r--r--kdat/FileInfoWidget.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/kdat/FileInfoWidget.cpp b/kdat/FileInfoWidget.cpp
index e8991a8..5b75cf7 100644
--- a/kdat/FileInfoWidget.cpp
+++ b/kdat/FileInfoWidget.cpp
@@ -47,42 +47,42 @@ FileInfoWidget::FileInfoWidget( TQWidget* parent, const char* name )
TQLabel* lbl6 = new TQLabel( i18n( "Owner:" ), this );
TQLabel* lbl7 = new TQLabel( i18n( "Group:" ), this );
- int max = lbl1->tqsizeHint().width();
- if ( lbl2->tqsizeHint().width() > max ) max = lbl2->tqsizeHint().width();
- if ( lbl3->tqsizeHint().width() > max ) max = lbl3->tqsizeHint().width();
- if ( lbl4->tqsizeHint().width() > max ) max = lbl4->tqsizeHint().width();
- if ( lbl5->tqsizeHint().width() > max ) max = lbl5->tqsizeHint().width();
- if ( lbl6->tqsizeHint().width() > max ) max = lbl6->tqsizeHint().width();
- if ( lbl7->tqsizeHint().width() > max ) max = lbl7->tqsizeHint().width();
-
- lbl1->setFixedSize( max, lbl1->tqsizeHint().height() );
- lbl2->setFixedSize( max, lbl2->tqsizeHint().height() );
- lbl3->setFixedSize( max, lbl3->tqsizeHint().height() );
- lbl4->setFixedSize( max, lbl4->tqsizeHint().height() );
- lbl5->setFixedSize( max, lbl5->tqsizeHint().height() );
- lbl6->setFixedSize( max, lbl6->tqsizeHint().height() );
- lbl7->setFixedSize( max, lbl7->tqsizeHint().height() );
+ int max = lbl1->sizeHint().width();
+ if ( lbl2->sizeHint().width() > max ) max = lbl2->sizeHint().width();
+ if ( lbl3->sizeHint().width() > max ) max = lbl3->sizeHint().width();
+ if ( lbl4->sizeHint().width() > max ) max = lbl4->sizeHint().width();
+ if ( lbl5->sizeHint().width() > max ) max = lbl5->sizeHint().width();
+ if ( lbl6->sizeHint().width() > max ) max = lbl6->sizeHint().width();
+ if ( lbl7->sizeHint().width() > max ) max = lbl7->sizeHint().width();
+
+ lbl1->setFixedSize( max, lbl1->sizeHint().height() );
+ lbl2->setFixedSize( max, lbl2->sizeHint().height() );
+ lbl3->setFixedSize( max, lbl3->sizeHint().height() );
+ lbl4->setFixedSize( max, lbl4->sizeHint().height() );
+ lbl5->setFixedSize( max, lbl5->sizeHint().height() );
+ lbl6->setFixedSize( max, lbl6->sizeHint().height() );
+ lbl7->setFixedSize( max, lbl7->sizeHint().height() );
_fileName = new TQLabel( "???", this );
- _fileName->setFixedHeight( _fileName->tqsizeHint().height() );
+ _fileName->setFixedHeight( _fileName->sizeHint().height() );
_ctime = new TQLabel( "???", this );
- _ctime->setFixedHeight( _ctime->tqsizeHint().height() );
+ _ctime->setFixedHeight( _ctime->sizeHint().height() );
_mtime = new TQLabel( "???", this );
- _mtime->setFixedHeight( _mtime->tqsizeHint().height() );
+ _mtime->setFixedHeight( _mtime->sizeHint().height() );
_atime = new TQLabel( "???", this );
- _atime->setFixedHeight( _atime->tqsizeHint().height() );
+ _atime->setFixedHeight( _atime->sizeHint().height() );
_size = new TQLabel( "???", this );
- _size->setFixedHeight( _size->tqsizeHint().height() );
+ _size->setFixedHeight( _size->sizeHint().height() );
_owner = new TQLabel( "???", this );
- _owner->setFixedHeight( _owner->tqsizeHint().height() );
+ _owner->setFixedHeight( _owner->sizeHint().height() );
_group = new TQLabel( "???", this );
- _group->setFixedHeight( _group->tqsizeHint().height() );
+ _group->setFixedHeight( _group->sizeHint().height() );
TQVBoxLayout* l1 = new TQVBoxLayout( this, 4, 4 );