summaryrefslogtreecommitdiffstats
path: root/krecipes/src/dialogs/createelementdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/dialogs/createelementdialog.cpp')
-rw-r--r--krecipes/src/dialogs/createelementdialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/krecipes/src/dialogs/createelementdialog.cpp b/krecipes/src/dialogs/createelementdialog.cpp
index 11bc973..a129f78 100644
--- a/krecipes/src/dialogs/createelementdialog.cpp
+++ b/krecipes/src/dialogs/createelementdialog.cpp
@@ -14,18 +14,18 @@
#include <klocale.h>
-CreateElementDialog::CreateElementDialog( QWidget *parent, const QString &text )
+CreateElementDialog::CreateElementDialog( TQWidget *parent, const TQString &text )
: KDialogBase( parent, "createElementDialog", true, text,
KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok )
{
- QVBox *page = makeVBoxMainWidget();
+ TQVBox *page = makeVBoxMainWidget();
- box = new QGroupBox( page );
- box->setColumnLayout( 0, Qt::Vertical );
+ box = new TQGroupBox( page );
+ box->setColumnLayout( 0, TQt::Vertical );
box->layout() ->setSpacing( 6 );
box->layout() ->setMargin( 11 );
- QVBoxLayout *boxLayout = new QVBoxLayout( box->layout() );
- boxLayout->setAlignment( Qt::AlignTop );
+ TQVBoxLayout *boxLayout = new TQVBoxLayout( box->layout() );
+ boxLayout->setAlignment( TQt::AlignTop );
box->setTitle( text );
elementEdit = new KLineEdit( box );
@@ -41,7 +41,7 @@ CreateElementDialog::CreateElementDialog( QWidget *parent, const QString &text )
CreateElementDialog::~CreateElementDialog()
{}
-QString CreateElementDialog::newElementName( void )
+TQString CreateElementDialog::newElementName( void )
{
return ( elementEdit->text() );
}