summaryrefslogtreecommitdiffstats
path: root/kexi/main/kexinamewidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kexi/main/kexinamewidget.cpp
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
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.");