summaryrefslogtreecommitdiffstats
path: root/kolf/editor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 14:20:47 -0600
committerSlávek Banko <[email protected]>2012-06-04 01:10:54 +0200
commitedee609d80715382db83adbc8b00c7f74793edcb (patch)
treeb11a53fb2d6b02c5f7613b8fcd724f4b7d5837bf /kolf/editor.cpp
parent00e58f1937047eb6c23edbdb3ae7ed5feec7a572 (diff)
downloadtdegames-edee609d80715382db83adbc8b00c7f74793edcb.tar.gz
tdegames-edee609d80715382db83adbc8b00c7f74793edcb.zip
Rename obsolete tq methods to standard names
(cherry picked from commit 36770452958a79a095f9d9e605e79f66cfa79a2b)
Diffstat (limited to 'kolf/editor.cpp')
-rw-r--r--kolf/editor.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kolf/editor.cpp b/kolf/editor.cpp
index ab8b1d0c..ae9cde32 100644
--- a/kolf/editor.cpp
+++ b/kolf/editor.cpp
@@ -15,13 +15,13 @@ Editor::Editor(ObjectList *list, TQWidget *parent, const char *name)
this->list = list;
config = 0;
- htqlayout = new TQHBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ hlayout = new TQHBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- TQVBoxLayout *vtqlayout = new TQVBoxLayout(htqlayout, KDialog::spacingHint());
- vtqlayout->addWidget(new TQLabel(i18n("Add object:"), this));
+ TQVBoxLayout *vlayout = new TQVBoxLayout(hlayout, KDialog::spacingHint());
+ vlayout->addWidget(new TQLabel(i18n("Add object:"), this));
listbox = new KListBox(this, "Listbox");
- vtqlayout->addWidget(listbox);
- htqlayout->setStretchFactor(vtqlayout, 2);
+ vlayout->addWidget(listbox);
+ hlayout->setStretchFactor(vlayout, 2);
TQStringList items;
Object *obj = 0;
@@ -49,8 +49,8 @@ void Editor::setItem(CanvasItem *item)
if (!config)
return;
config->ctorDone();
- htqlayout->addWidget(config);
- htqlayout->setStretchFactor(config, 2);
+ hlayout->addWidget(config);
+ hlayout->setStretchFactor(config, 2);
config->setFrameStyle(TQFrame::Box | TQFrame::Raised);
config->setLineWidth(1);
config->show();