diff options
Diffstat (limited to 'kdevdesigner/designer/formsettingsimpl.cpp')
-rw-r--r-- | kdevdesigner/designer/formsettingsimpl.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kdevdesigner/designer/formsettingsimpl.cpp b/kdevdesigner/designer/formsettingsimpl.cpp index ce76dde7..edbb8134 100644 --- a/kdevdesigner/designer/formsettingsimpl.cpp +++ b/kdevdesigner/designer/formsettingsimpl.cpp @@ -32,18 +32,18 @@ #include "mainwindow.h" #include "project.h" -#include <qmultilineedit.h> -#include <qpushbutton.h> -#include <qcombobox.h> -#include <qradiobutton.h> +#include <tqmultilineedit.h> +#include <tqpushbutton.h> +#include <tqcombobox.h> +#include <tqradiobutton.h> #include <klineedit.h> -#include <qspinbox.h> -#include <qcheckbox.h> +#include <tqspinbox.h> +#include <tqcheckbox.h> -FormSettings::FormSettings( QWidget *parent, FormWindow *fw ) +FormSettings::FormSettings( TQWidget *parent, FormWindow *fw ) : FormSettingsBase( parent, 0, TRUE ), formwindow( fw ) { - connect( buttonHelp, SIGNAL( clicked() ), MainWindow::self, SLOT( showDialogHelp() ) ); + connect( buttonHelp, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) ); MetaDataBase::MetaInfo info = MetaDataBase::metaInfo( fw ); if ( info.classNameChanged && !info.className.isEmpty() ) editClassName->setText( info.className ); @@ -52,8 +52,8 @@ FormSettings::FormSettings( QWidget *parent, FormWindow *fw ) editComment->setText( info.comment ); editAuthor->setText( info.author ); - editClassName->setValidator( new AsciiValidator( QString( ":" ), editClassName ) ); - editPixmapFunction->setValidator( new AsciiValidator( QString( ":" ), 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( QWidget *parent, FormWindow *fw ) radioProjectImageFile->setEnabled( !fw->project()->isDummy() ); spinSpacing->setValue( formwindow->layoutDefaultSpacing() ); spinMargin->setValue( formwindow->layoutDefaultMargin() ); - editSpacingFunction->setValidator( new AsciiValidator( QString( ":" ), editSpacingFunction ) ); - editMarginFunction->setValidator( new AsciiValidator( QString( ":" ), 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() ); @@ -76,7 +76,7 @@ void FormSettings::okClicked() { MetaDataBase::MetaInfo info; info.className = editClassName->text(); - info.classNameChanged = info.className != QString( formwindow->name() ); + info.classNameChanged = info.className != TQString( formwindow->name() ); info.comment = editComment->text(); info.author = editAuthor->text(); MetaDataBase::setMetaInfo( formwindow, info ); |