summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexidbconnectionwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/kexidbconnectionwidget.cpp')
-rw-r--r--kexi/widget/kexidbconnectionwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/widget/kexidbconnectionwidget.cpp b/kexi/widget/kexidbconnectionwidget.cpp
index 00918d5b..78b67c8d 100644
--- a/kexi/widget/kexidbconnectionwidget.cpp
+++ b/kexi/widget/kexidbconnectionwidget.cpp
@@ -39,7 +39,7 @@
#include <tqcheckbox.h>
#include <tqbuttongroup.h>
#include <tqwidgetstack.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqvbox.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
@@ -95,7 +95,7 @@ KexiDBConnectionWidget::KexiDBConnectionWidget( TQWidget* parent, const char* n
hbox->addWidget( d->btnSaveChanges );
hbox->addSpacing( KDialogBase::spacingHint() );
TQWidget::setTabOrder(titleEdit, d->btnSaveChanges);
- d->btnSaveChanges->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
+ d->btnSaveChanges->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
d->btnTestConnection = new KPushButton(KGuiItem(i18n("&Test Connection"), "",
i18n("Test database connection"),
@@ -103,7 +103,7 @@ KexiDBConnectionWidget::KexiDBConnectionWidget( TQWidget* parent, const char* n
frmBottom, "testConnection");
hbox->addWidget( d->btnTestConnection );
TQWidget::setTabOrder(d->btnSaveChanges, d->btnTestConnection);
- d->btnTestConnection->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
+ d->btnTestConnection->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
connect( locationBGrp, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotLocationBGrpClicked(int)) );
connect( chkPortDefault, TQT_SIGNAL(toggled(bool)), this , TQT_SLOT(slotCBToggled(bool)) );
@@ -225,7 +225,7 @@ KexiDBConnectionTabWidget::KexiDBConnectionTabWidget( TQWidget* parent, const ch
: KTabWidget( parent, name )
{
mainWidget = new KexiDBConnectionWidget( this, "mainWidget" );
- mainWidget->layout()->setMargin(KDialog::marginHint());
+ mainWidget->tqlayout()->setMargin(KDialog::marginHint());
addTab( mainWidget, i18n("Parameters") );
// TQVBox *page2 = new TQVBox(this);