summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/formsettingsimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/formsettingsimpl.cpp')
-rw-r--r--kdevdesigner/designer/formsettingsimpl.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kdevdesigner/designer/formsettingsimpl.cpp b/kdevdesigner/designer/formsettingsimpl.cpp
index e29ea157..f82ae552 100644
--- a/kdevdesigner/designer/formsettingsimpl.cpp
+++ b/kdevdesigner/designer/formsettingsimpl.cpp
@@ -44,7 +44,7 @@ FormSettings::FormSettings( TQWidget *parent, FormWindow *fw )
: FormSettingsBase( parent, 0, TRUE ), formwindow( fw )
{
connect( buttonHelp, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
- MetaDataBase::MetaInfo info = MetaDataBase::metaInfo( TQT_TQOBJECT(fw) );
+ MetaDataBase::MetaInfo info = MetaDataBase::metaInfo( fw );
if ( info.classNameChanged && !info.className.isEmpty() )
editClassName->setText( info.className );
else
@@ -52,8 +52,8 @@ FormSettings::FormSettings( TQWidget *parent, FormWindow *fw )
editComment->setText( info.comment );
editAuthor->setText( info.author );
- editClassName->setValidator( new AsciiValidator( TQString( ":" ), TQT_TQOBJECT(editClassName) ) );
- editPixmapFunction->setValidator( new AsciiValidator( TQString( ":" ), TQT_TQOBJECT(editPixmapFunction) ) );
+ editClassName->setValidator( new AsciiValidator( TQString( ":" ), editClassName ) );
+ editPixmapFunction->setValidator( new AsciiValidator( TQString( ":" ), editPixmapFunction ) );
if ( formwindow->savePixmapInline() )
radioPixmapInline->setChecked( TRUE );
@@ -65,8 +65,8 @@ FormSettings::FormSettings( TQWidget *parent, FormWindow *fw )
radioProjectImageFile->setEnabled( !fw->project()->isDummy() );
spinSpacing->setValue( formwindow->layoutDefaultSpacing() );
spinMargin->setValue( formwindow->layoutDefaultMargin() );
- editSpacingFunction->setValidator( new AsciiValidator( TQString( ":" ), TQT_TQOBJECT(editSpacingFunction) ) );
- editMarginFunction->setValidator( new AsciiValidator( TQString( ":" ), TQT_TQOBJECT(editMarginFunction) ) );
+ editSpacingFunction->setValidator( new AsciiValidator( TQString( ":" ), editSpacingFunction ) );
+ editMarginFunction->setValidator( new AsciiValidator( TQString( ":" ), editMarginFunction ) );
checkLayoutFunctions->setChecked( formwindow->hasLayoutFunctions() );
editSpacingFunction->setText( formwindow->spacingFunction() );
editMarginFunction->setText( formwindow->marginFunction() );
@@ -79,17 +79,17 @@ void FormSettings::okClicked()
info.classNameChanged = info.className != TQString( formwindow->name() );
info.comment = editComment->text();
info.author = editAuthor->text();
- MetaDataBase::setMetaInfo( TQT_TQOBJECT(formwindow), info );
+ MetaDataBase::setMetaInfo( formwindow, info );
formwindow->commandHistory()->setModified( TRUE );
if ( formwindow->savePixmapInline() ) {
- MetaDataBase::clearPixmapArguments( TQT_TQOBJECT(formwindow) );
- MetaDataBase::clearPixmapKeys( TQT_TQOBJECT(formwindow) );
+ MetaDataBase::clearPixmapArguments( formwindow );
+ MetaDataBase::clearPixmapKeys( formwindow );
} else if ( formwindow->savePixmapInProject() ) {
- MetaDataBase::clearPixmapArguments( TQT_TQOBJECT(formwindow) );
+ MetaDataBase::clearPixmapArguments( formwindow );
} else {
- MetaDataBase::clearPixmapKeys( TQT_TQOBJECT(formwindow) );
+ MetaDataBase::clearPixmapKeys( formwindow );
}
if ( radioPixmapInline->isChecked() ) {