diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:47:36 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:47:36 -0600 |
commit | 97d1732e257f8700488d7ca1660ae7eba8fc6065 (patch) | |
tree | 4c6397ed2c1dd6f7c3354b5b87f313547d92a35f /kolf/editor.cpp | |
parent | 9c27a1a03e02fd53aedc1a182444b35fd8e14967 (diff) | |
download | tdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.tar.gz tdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kolf/editor.cpp')
-rw-r--r-- | kolf/editor.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kolf/editor.cpp b/kolf/editor.cpp index ab8b1d0c..2746a0e4 100644 --- a/kolf/editor.cpp +++ b/kolf/editor.cpp @@ -2,7 +2,7 @@ #include <klistbox.h> #include <tqlabel.h> -#include <tqlayout.h> +#include <layout.h> #include <tqwidget.h> #include <tqframe.h> @@ -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(); |