diff options
Diffstat (limited to 'karbon/widgets/vtranslate.cc')
-rw-r--r-- | karbon/widgets/vtranslate.cc | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/karbon/widgets/vtranslate.cc b/karbon/widgets/vtranslate.cc index faa4d837..e13da689 100644 --- a/karbon/widgets/vtranslate.cc +++ b/karbon/widgets/vtranslate.cc @@ -20,7 +20,7 @@ #include <tqcheckbox.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> #include <tqstring.h> #include <klocale.h> #include <knuminput.h> @@ -34,38 +34,38 @@ VTranslate::VTranslate( TQWidget* parent, const char* name ) { setCaption( i18n( "Translate" ) ); - TQVBoxLayout *mainlayout = new TQVBoxLayout(this, 7); - mainlayout->addSpacing(5); + TQVBoxLayout *maintqlayout = new TQVBoxLayout(this, 7); + maintqlayout->addSpacing(5); - TQGridLayout *inputlayout = new TQGridLayout(this, 5, 3); - mainlayout->addLayout(inputlayout); + TQGridLayout *inputtqlayout = new TQGridLayout(this, 5, 3); + maintqlayout->addLayout(inputtqlayout); m_labelX = new TQLabel(i18n("X:"), this); - inputlayout->addWidget(m_labelX, 0, 0); + inputtqlayout->addWidget(m_labelX, 0, 0); labely = new TQLabel(i18n("Y:"), this); - inputlayout->addWidget(labely, 1, 0); - inputlayout->addColSpacing(1, 1); - inputlayout->addColSpacing(3, 5); + inputtqlayout->addWidget(labely, 1, 0); + inputtqlayout->addColSpacing(1, 1); + inputtqlayout->addColSpacing(3, 5); m_inputX = new KDoubleNumInput( this ); m_inputX->setRange(-10000.00, 10000.00, 1.00, false); //range is just for example - for now :-) - inputlayout->addWidget(m_inputX, 0, 2); + inputtqlayout->addWidget(m_inputX, 0, 2); m_inputY = new KDoubleNumInput( this ); m_inputY->setRange(-10000.00, 10000.00, 1.00, false); - inputlayout->addWidget(m_inputY, 1, 2); + inputtqlayout->addWidget(m_inputY, 1, 2); m_labelUnit1 = new TQLabel("", this); - inputlayout->addWidget(m_labelUnit1, 0, 4); + inputtqlayout->addWidget(m_labelUnit1, 0, 4); m_labelUnit2 = new TQLabel("", this); - inputlayout->addWidget(m_labelUnit2, 1, 4); - mainlayout->addSpacing(5); + inputtqlayout->addWidget(m_labelUnit2, 1, 4); + maintqlayout->addSpacing(5); m_checkBoxPosition = new TQCheckBox(i18n("Relative &position"), this); - mainlayout->addWidget(m_checkBoxPosition); - mainlayout->addSpacing(5); + maintqlayout->addWidget(m_checkBoxPosition); + maintqlayout->addSpacing(5); m_buttonDuplicate = new TQPushButton(i18n("&Duplicate"), this); - mainlayout->addWidget(m_buttonDuplicate); - mainlayout->addSpacing(1); + maintqlayout->addWidget(m_buttonDuplicate); + maintqlayout->addSpacing(1); m_buttonApply = new KPushButton(KStdGuiItem::apply(), this); - mainlayout->addWidget(m_buttonApply); + maintqlayout->addWidget(m_buttonApply); - mainlayout->activate(); + maintqlayout->activate(); setFixedSize(baseSize()); //Set the size tp fixed values } |