summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/connectiondialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/formeditor/connectiondialog.cpp')
-rw-r--r--kexi/formeditor/connectiondialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/formeditor/connectiondialog.cpp b/kexi/formeditor/connectiondialog.cpp
index e1dcf1bed..5bbbde380 100644
--- a/kexi/formeditor/connectiondialog.cpp
+++ b/kexi/formeditor/connectiondialog.cpp
@@ -51,7 +51,7 @@ ConnectionDialog::ConnectionDialog(TQWidget *parent)
, m_buffer(0)
{
TQFrame *frame = makeMainWidget();
- TQHBoxLayout *tqlayout = new TQHBoxLayout(frame, 0, 6);
+ TQHBoxLayout *layout = new TQHBoxLayout(frame, 0, 6);
// Setup the details widget /////////
TQHBox *details = new TQHBox(frame);
@@ -74,21 +74,21 @@ ConnectionDialog::ConnectionDialog(TQWidget *parent)
initTable();
m_table->setData(m_data, false);
m_table->adjustColumnWidthToContents(0);
- tqlayout->addWidget(m_table);
+ layout->addWidget(m_table);
//// Setup the icon toolbar /////////////////
- TQVBoxLayout *vtqlayout = new TQVBoxLayout(tqlayout, 3);
+ TQVBoxLayout *vlayout = new TQVBoxLayout(layout, 3);
KPushButton *newItem = new KPushButton(SmallIconSet("filenew"), i18n("&New Connection"), frame);
- vtqlayout->addWidget(newItem);
+ vlayout->addWidget(newItem);
m_buttons.insert(BAdd, newItem);
connect(newItem, TQT_SIGNAL(clicked()), this, TQT_SLOT(newItem()));
KPushButton *delItem = new KPushButton(SmallIconSet("editdelete"), i18n("&Remove Connection"), frame);
- vtqlayout->addWidget(delItem);
+ vlayout->addWidget(delItem);
m_buttons.insert(BRemove, delItem);
connect(delItem, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeItem()));
- vtqlayout->addStretch();
+ vlayout->addStretch();
setInitialSize(TQSize(600, 300));
//setWFlags(WDestructiveClose);