summaryrefslogtreecommitdiffstats
path: root/kdat/ArchiveInfoWidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
commitb09bffed6b43262948018dfb0f11890850ddf7c1 (patch)
tree138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /kdat/ArchiveInfoWidget.cpp
parent6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff)
downloadtdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz
tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip
TQt4 port kdeadmin
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdat/ArchiveInfoWidget.cpp')
-rw-r--r--kdat/ArchiveInfoWidget.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kdat/ArchiveInfoWidget.cpp b/kdat/ArchiveInfoWidget.cpp
index c3838d4..754b701 100644
--- a/kdat/ArchiveInfoWidget.cpp
+++ b/kdat/ArchiveInfoWidget.cpp
@@ -35,33 +35,33 @@
#include "ArchiveInfoWidget.moc"
-ArchiveInfoWidget::ArchiveInfoWidget( TQWidget* parent, const char* name )
- : TQWidget( parent, name ),
+ArchiveInfoWidget::ArchiveInfoWidget( TQWidget* tqparent, const char* name )
+ : TQWidget( tqparent, name ),
_archive( 0 )
{
TQLabel* lbl1 = new TQLabel( i18n( "Archive name:" ), this );
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 );