summaryrefslogtreecommitdiffstats
path: root/kexi/main/kexinamewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/main/kexinamewidget.cpp')
-rw-r--r--kexi/main/kexinamewidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/main/kexinamewidget.cpp b/kexi/main/kexinamewidget.cpp
index 08210ac5..c6ca8f41 100644
--- a/kexi/main/kexinamewidget.cpp
+++ b/kexi/main/kexinamewidget.cpp
@@ -20,7 +20,7 @@
#include "kexinamewidget.h"
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <klineedit.h>
#include <kmessagebox.h>
@@ -66,8 +66,8 @@ void KexiNameWidget::init(
lbl_message = new TQLabel( this, "message" );
setMessageText( message );
- lbl_message->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed);
- lbl_message->setAlignment( TQLabel::AlignTop | TQLabel::WordBreak );
+ lbl_message->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed);
+ lbl_message->tqsetAlignment( TQLabel::AlignTop | TQLabel::WordBreak );
lyr->addMultiCellWidget( lbl_message, 0, 0, 0, 1 );
lbl_caption = new TQLabel( captionLabel.isEmpty() ? i18n( "Caption:" ) : captionLabel,
@@ -79,17 +79,17 @@ void KexiNameWidget::init(
lyr->addWidget( lbl_name, 2, 0 );
le_caption = new KLineEdit( nameText, this, "le_caption" );
- le_caption->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed, 1, 0));
+ le_caption->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed, 1, 0));
lyr->addWidget( le_caption, 1, 1 );
le_name = new KLineEdit( nameText, this, "le_name" );
- le_name->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed,1,0));
+ le_name->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed,1,0));
Validator *idValidator = new IdentifierValidator(0, "id_val");
le_name->setValidator( m_validator = new MultiValidator(idValidator, TQT_TQOBJECT(this), "val") );
lyr->addWidget( le_name, 2, 1 );
setFocusProxy(le_caption);
- resize( TQSize(342, 123).expandedTo(minimumSizeHint()) );
+ resize( TQSize(342, 123).expandedTo(tqminimumSizeHint()) );
m_nameWarning = i18n("Please enter the name.");
m_captionWarning = i18n("Please enter the caption.");