summaryrefslogtreecommitdiffstats
path: root/atlantikdesigner/designer/boardinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'atlantikdesigner/designer/boardinfo.cpp')
-rw-r--r--atlantikdesigner/designer/boardinfo.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/atlantikdesigner/designer/boardinfo.cpp b/atlantikdesigner/designer/boardinfo.cpp
index 56b561a..b7399b0 100644
--- a/atlantikdesigner/designer/boardinfo.cpp
+++ b/atlantikdesigner/designer/boardinfo.cpp
@@ -15,8 +15,8 @@
#include "boardinfo.h"
-BoardInfoDlg::BoardInfoDlg(bool editable, BoardInfo *info, TQWidget *parent, const char *_name, bool modal)
- : KDialogBase(KDialogBase::Tabbed, i18n("Gameboard Information"), (editable? Ok|Apply|Cancel : Close), (editable? Ok : Close), parent, _name, modal)
+BoardInfoDlg::BoardInfoDlg(bool editable, BoardInfo *info, TQWidget *tqparent, const char *_name, bool modal)
+ : KDialogBase(KDialogBase::Tabbed, i18n("Gameboard Information"), (editable? Ok|Apply|Cancel : Close), (editable? Ok : Close), tqparent, _name, modal)
{
if (!info)
return;
@@ -110,26 +110,26 @@ void BoardInfoDlg::slotOk()
///////////////////////////////////
-LotsaEdits::LotsaEdits(bool editable, TQStringList defaults, TQWidget *parent, const char *name) : TQWidget(parent, name)
+LotsaEdits::LotsaEdits(bool editable, TQStringList defaults, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
{
list.setAutoDelete(true);
this->editable = editable;
- layout = new TQVBoxLayout(this, KDialogBase::spacingHint());
- TQHBoxLayout *hlayout = new TQHBoxLayout(layout, KDialogBase::spacingHint());
+ tqlayout = new TQVBoxLayout(this, KDialogBase::spacingHint());
+ TQHBoxLayout *htqlayout = new TQHBoxLayout(tqlayout, KDialogBase::spacingHint());
if (editable)
{
KPushButton *more = new KPushButton(i18n("&Add Name"), this);
- hlayout->addWidget(more);
+ htqlayout->addWidget(more);
connect(more, TQT_SIGNAL(clicked()), this, TQT_SLOT(more()));
- hlayout->addStretch();
+ htqlayout->addStretch();
KPushButton *less= new KPushButton(i18n("&Delete Name"), this);
- hlayout->addWidget(less);
+ htqlayout->addWidget(less);
connect(less, TQT_SIGNAL(clicked()), this, TQT_SLOT(less()));
}
- layout->addStretch();
+ tqlayout->addStretch();
for (TQStringList::Iterator it = defaults.begin(); it != defaults.end(); ++it)
{
@@ -148,7 +148,7 @@ void LotsaEdits::more()
edit = new KLineEdit(this);
else
edit = new TQLabel(this);
- layout->addWidget(edit);
+ tqlayout->addWidget(edit);
list.append(edit);
edit->show();
}