summaryrefslogtreecommitdiffstats
path: root/kresources/configdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/configdialog.cpp')
-rw-r--r--kresources/configdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kresources/configdialog.cpp b/kresources/configdialog.cpp
index 69fcc798a..bbebc47a3 100644
--- a/kresources/configdialog.cpp
+++ b/kresources/configdialog.cpp
@@ -47,7 +47,7 @@ ConfigDialog::ConfigDialog( TQWidget *parent, const TQString& resourceFamily,
TQVBoxLayout *mainLayout = new TQVBoxLayout( main, 0, spacingHint() );
TQGroupBox *generalGroupBox = new TQGroupBox( 2, Qt::Horizontal, main );
- generalGroupBox->tqlayout()->setSpacing( spacingHint() );
+ generalGroupBox->layout()->setSpacing( spacingHint() );
generalGroupBox->setTitle( i18n( "General Settings" ) );
new TQLabel( i18n( "Name:" ), generalGroupBox );
@@ -62,7 +62,7 @@ ConfigDialog::ConfigDialog( TQWidget *parent, const TQString& resourceFamily,
mainLayout->addWidget( generalGroupBox );
TQGroupBox *resourceGroupBox = new TQGroupBox( 2, Qt::Horizontal, main );
- resourceGroupBox->tqlayout()->setSpacing( spacingHint() );
+ resourceGroupBox->layout()->setSpacing( spacingHint() );
resourceGroupBox->setTitle( i18n( "%1 Resource Settings" )
.arg( factory->typeName( resource->type() ) ) );
mainLayout->addWidget( resourceGroupBox );
@@ -82,7 +82,7 @@ ConfigDialog::ConfigDialog( TQWidget *parent, const TQString& resourceFamily,
TQT_SLOT( slotNameChanged(const TQString &)));
slotNameChanged( mName->text() );
- setMinimumSize( tqsizeHint() );
+ setMinimumSize( sizeHint() );
}
void ConfigDialog::setInEditMode( bool value )