summaryrefslogtreecommitdiffstats
path: root/kdat/TapeFileInfoWidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:45:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:45:05 -0600
commitd1248617107f659af9d03cf1ef6d783571a0cba8 (patch)
tree06ce6d250704f2cddca023e81b63f25b19c9aa48 /kdat/TapeFileInfoWidget.cpp
parent72fee035e994371467475e062b46287d68fa3f57 (diff)
downloadtdeadmin-d1248617107f659af9d03cf1ef6d783571a0cba8.tar.gz
tdeadmin-d1248617107f659af9d03cf1ef6d783571a0cba8.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kdat/TapeFileInfoWidget.cpp')
-rw-r--r--kdat/TapeFileInfoWidget.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kdat/TapeFileInfoWidget.cpp b/kdat/TapeFileInfoWidget.cpp
index 2a87862..96e7023 100644
--- a/kdat/TapeFileInfoWidget.cpp
+++ b/kdat/TapeFileInfoWidget.cpp
@@ -19,7 +19,7 @@
#include <time.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kapplication.h>
@@ -39,32 +39,32 @@ TapeFileInfoWidget::TapeFileInfoWidget( TQWidget* parent, const char* name )
TQLabel* lbl4 = new TQLabel( i18n( "Start record:" ), this );
TQLabel* lbl5 = new TQLabel( i18n( "End record:" ), 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();
+ 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();
- 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() );
+ 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() );
_fileName = new TQLabel( "???", this );
- _fileName->setFixedHeight( _fileName->tqsizeHint().height() );
+ _fileName->setFixedHeight( _fileName->sizeHint().height() );
_mtime = new TQLabel( "???", this );
- _mtime->setFixedHeight( _mtime->tqsizeHint().height() );
+ _mtime->setFixedHeight( _mtime->sizeHint().height() );
_size = new TQLabel( "???", this );
- _size->setFixedHeight( _size->tqsizeHint().height() );
+ _size->setFixedHeight( _size->sizeHint().height() );
_startRecord = new TQLabel( "???", this );
- _startRecord->setFixedHeight( _startRecord->tqsizeHint().height() );
+ _startRecord->setFixedHeight( _startRecord->sizeHint().height() );
_endRecord = new TQLabel( "???", this );
- _endRecord->setFixedHeight( _endRecord->tqsizeHint().height() );
+ _endRecord->setFixedHeight( _endRecord->sizeHint().height() );
TQVBoxLayout* l1 = new TQVBoxLayout( this, 4, 4 );