diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:15 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:15 -0600 |
commit | 377fa3a2775cdb3194315bb83e21744dc7c97bbf (patch) | |
tree | b6f515484589d67271adb168a1ead39f1c98493d /kdat/ArchiveInfoWidget.cpp | |
parent | d1248617107f659af9d03cf1ef6d783571a0cba8 (diff) | |
download | tdeadmin-377fa3a2775cdb3194315bb83e21744dc7c97bbf.tar.gz tdeadmin-377fa3a2775cdb3194315bb83e21744dc7c97bbf.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit d1248617107f659af9d03cf1ef6d783571a0cba8.
Diffstat (limited to 'kdat/ArchiveInfoWidget.cpp')
-rw-r--r-- | kdat/ArchiveInfoWidget.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdat/ArchiveInfoWidget.cpp b/kdat/ArchiveInfoWidget.cpp index acf1c16..875c21d 100644 --- a/kdat/ArchiveInfoWidget.cpp +++ b/kdat/ArchiveInfoWidget.cpp @@ -19,7 +19,7 @@ #include <time.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> #include <tqlineedit.h> #include <kapplication.h> @@ -43,25 +43,25 @@ ArchiveInfoWidget::ArchiveInfoWidget( TQWidget* parent, const char* name ) TQLabel* lbl2 = new TQLabel( i18n( "Created on:" ), this ); TQLabel* lbl3 = new TQLabel( i18n( "Size:" ), this ); - int max = lbl1->sizeHint().width(); - if ( lbl2->sizeHint().width() > max ) max = lbl2->sizeHint().width(); - if ( lbl3->sizeHint().width() > max ) max = lbl3->sizeHint().width(); + int max = lbl1->tqsizeHint().width(); + if ( lbl2->tqsizeHint().width() > max ) max = lbl2->tqsizeHint().width(); + if ( lbl3->tqsizeHint().width() > max ) max = lbl3->tqsizeHint().width(); - lbl1->setFixedSize( max, lbl1->sizeHint().height() ); - lbl2->setFixedSize( max, lbl2->sizeHint().height() ); - lbl3->setFixedSize( max, lbl3->sizeHint().height() ); + lbl1->setFixedSize( max, lbl1->tqsizeHint().height() ); + lbl2->setFixedSize( max, lbl2->tqsizeHint().height() ); + lbl3->setFixedSize( max, lbl3->tqsizeHint().height() ); _archiveName = new TQLineEdit( this ); - _archiveName->setFixedHeight( _archiveName->sizeHint().height() ); + _archiveName->setFixedHeight( _archiveName->tqsizeHint().height() ); _ctime = new TQLabel( "???", this ); - _ctime->setFixedHeight( _ctime->sizeHint().height() ); + _ctime->setFixedHeight( _ctime->tqsizeHint().height() ); _size = new TQLabel( "???", this ); - _size->setFixedHeight( _size->sizeHint().height() ); + _size->setFixedHeight( _size->tqsizeHint().height() ); _apply = new KPushButton( KStdGuiItem::apply(), this ); - _apply->setFixedSize( 80, _apply->sizeHint().height() ); + _apply->setFixedSize( 80, _apply->tqsizeHint().height() ); _apply->setEnabled( FALSE ); TQVBoxLayout* l1 = new TQVBoxLayout( this, 4, 4 ); |