diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:45:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:45:05 -0600 |
commit | d1248617107f659af9d03cf1ef6d783571a0cba8 (patch) | |
tree | 06ce6d250704f2cddca023e81b63f25b19c9aa48 /kdat/ArchiveInfoWidget.cpp | |
parent | 72fee035e994371467475e062b46287d68fa3f57 (diff) | |
download | tdeadmin-d1248617107f659af9d03cf1ef6d783571a0cba8.tar.gz tdeadmin-d1248617107f659af9d03cf1ef6d783571a0cba8.zip |
Rename a number of old tq methods that are no longer tq specific
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 875c21d..acf1c16 100644 --- a/kdat/ArchiveInfoWidget.cpp +++ b/kdat/ArchiveInfoWidget.cpp @@ -19,7 +19,7 @@ #include <time.h> #include <tqlabel.h> -#include <tqlayout.h> +#include <layout.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->tqsizeHint().width(); - if ( lbl2->tqsizeHint().width() > max ) max = lbl2->tqsizeHint().width(); - if ( lbl3->tqsizeHint().width() > max ) max = lbl3->tqsizeHint().width(); + int max = lbl1->sizeHint().width(); + if ( lbl2->sizeHint().width() > max ) max = lbl2->sizeHint().width(); + if ( lbl3->sizeHint().width() > max ) max = lbl3->sizeHint().width(); - lbl1->setFixedSize( max, lbl1->tqsizeHint().height() ); - lbl2->setFixedSize( max, lbl2->tqsizeHint().height() ); - lbl3->setFixedSize( max, lbl3->tqsizeHint().height() ); + lbl1->setFixedSize( max, lbl1->sizeHint().height() ); + lbl2->setFixedSize( max, lbl2->sizeHint().height() ); + lbl3->setFixedSize( max, lbl3->sizeHint().height() ); _archiveName = new TQLineEdit( this ); - _archiveName->setFixedHeight( _archiveName->tqsizeHint().height() ); + _archiveName->setFixedHeight( _archiveName->sizeHint().height() ); _ctime = new TQLabel( "???", this ); - _ctime->setFixedHeight( _ctime->tqsizeHint().height() ); + _ctime->setFixedHeight( _ctime->sizeHint().height() ); _size = new TQLabel( "???", this ); - _size->setFixedHeight( _size->tqsizeHint().height() ); + _size->setFixedHeight( _size->sizeHint().height() ); _apply = new KPushButton( KStdGuiItem::apply(), this ); - _apply->setFixedSize( 80, _apply->tqsizeHint().height() ); + _apply->setFixedSize( 80, _apply->sizeHint().height() ); _apply->setEnabled( FALSE ); TQVBoxLayout* l1 = new TQVBoxLayout( this, 4, 4 ); |