From b09bffed6b43262948018dfb0f11890850ddf7c1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 18 Jun 2011 20:34:22 +0000 Subject: 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 --- kdat/BackupProfileInfoWidget.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kdat/BackupProfileInfoWidget.cpp') diff --git a/kdat/BackupProfileInfoWidget.cpp b/kdat/BackupProfileInfoWidget.cpp index 7e4a918..ff0b541 100644 --- a/kdat/BackupProfileInfoWidget.cpp +++ b/kdat/BackupProfileInfoWidget.cpp @@ -36,29 +36,29 @@ #include "BackupProfileInfoWidget.moc" -BackupProfileInfoWidget::BackupProfileInfoWidget( TQWidget* parent, const char* name ) - : TQWidget( parent, name ), +BackupProfileInfoWidget::BackupProfileInfoWidget( TQWidget* tqparent, const char* name ) + : TQWidget( tqparent, name ), _backupProfile( 0 ) { TQLabel* lbl1 = new TQLabel( i18n( "Backup profile name:" ), this ); - int max = lbl1->sizeHint().width(); + int max = lbl1->tqsizeHint().width(); - lbl1->setFixedSize( max, lbl1->sizeHint().height() ); + lbl1->setFixedSize( max, lbl1->tqsizeHint().height() ); _name = new TQLineEdit( this ); - _name->setFixedHeight( _name->sizeHint().height() ); + _name->setFixedHeight( _name->tqsizeHint().height() ); _profile = new BackupProfileWidget( this ); TQPushButton* getSelection = new TQPushButton( i18n( "Files >>" ), this ); - getSelection->setFixedSize( 80, getSelection->sizeHint().height() ); + getSelection->setFixedSize( 80, getSelection->tqsizeHint().height() ); TQPushButton* setSelection = new TQPushButton( i18n( "<< Files" ), this ); - setSelection->setFixedSize( 80, setSelection->sizeHint().height() ); + setSelection->setFixedSize( 80, setSelection->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 ); -- cgit v1.2.1