summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/ControlParameterEditDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/segment/ControlParameterEditDialog.cpp')
-rw-r--r--src/gui/editors/segment/ControlParameterEditDialog.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/gui/editors/segment/ControlParameterEditDialog.cpp b/src/gui/editors/segment/ControlParameterEditDialog.cpp
index b00ac83..6c0921e 100644
--- a/src/gui/editors/segment/ControlParameterEditDialog.cpp
+++ b/src/gui/editors/segment/ControlParameterEditDialog.cpp
@@ -24,7 +24,7 @@
#include "ControlParameterEditDialog.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <klocale.h>
#include "misc/Debug.h"
@@ -72,47 +72,47 @@ ControlParameterEditDialog::ControlParameterEditDialog(
TQFrame *frame = new TQFrame(groupBox);
- TQGridLayout *tqlayout = new TQGridLayout(frame, 4, 3, 10, 5);
+ TQGridLayout *layout = new TQGridLayout(frame, 4, 3, 10, 5);
- tqlayout->addWidget(new TQLabel(i18n("Name:"), frame), 0, 0);
+ layout->addWidget(new TQLabel(i18n("Name:"), frame), 0, 0);
m_nameEdit = new TQLineEdit(frame);
- tqlayout->addWidget(m_nameEdit, 0, 1);
+ layout->addWidget(m_nameEdit, 0, 1);
- tqlayout->addWidget(new TQLabel(i18n("Type:"), frame), 1, 0);
+ layout->addWidget(new TQLabel(i18n("Type:"), frame), 1, 0);
m_typeCombo = new KComboBox(frame);
- tqlayout->addMultiCellWidget(m_typeCombo, 1, 1, 1, 2);
+ layout->addMultiCellWidget(m_typeCombo, 1, 1, 1, 2);
- tqlayout->addWidget(new TQLabel(i18n("Description:"), frame), 2, 0);
+ layout->addWidget(new TQLabel(i18n("Description:"), frame), 2, 0);
m_description = new TQLineEdit(frame);
- tqlayout->addMultiCellWidget(m_description, 2, 2, 1, 2);
+ layout->addMultiCellWidget(m_description, 2, 2, 1, 2);
// hex value alongside decimal value
m_hexValue = new TQLabel(frame);
- tqlayout->addWidget(m_hexValue, 3, 1);
+ layout->addWidget(m_hexValue, 3, 1);
- tqlayout->addWidget(new TQLabel(i18n("Control Event value:"), frame), 3, 0);
+ layout->addWidget(new TQLabel(i18n("Control Event value:"), frame), 3, 0);
m_controllerBox = new TQSpinBox(frame);
- tqlayout->addWidget(m_controllerBox, 3, 2);
+ layout->addWidget(m_controllerBox, 3, 2);
- tqlayout->addWidget(new TQLabel(i18n("Minimum value:"), frame), 4, 0);
+ layout->addWidget(new TQLabel(i18n("Minimum value:"), frame), 4, 0);
m_minBox = new TQSpinBox(frame);
- tqlayout->addMultiCellWidget(m_minBox, 4, 4, 1, 2);
+ layout->addMultiCellWidget(m_minBox, 4, 4, 1, 2);
- tqlayout->addWidget(new TQLabel(i18n("Maximum value:"), frame), 5, 0);
+ layout->addWidget(new TQLabel(i18n("Maximum value:"), frame), 5, 0);
m_maxBox = new TQSpinBox(frame);
- tqlayout->addMultiCellWidget(m_maxBox, 5, 5, 1, 2);
+ layout->addMultiCellWidget(m_maxBox, 5, 5, 1, 2);
- tqlayout->addWidget(new TQLabel(i18n("Default value:"), frame), 6, 0);
+ layout->addWidget(new TQLabel(i18n("Default value:"), frame), 6, 0);
m_defaultBox = new TQSpinBox(frame);
- tqlayout->addMultiCellWidget(m_defaultBox, 6, 6, 1, 2);
+ layout->addMultiCellWidget(m_defaultBox, 6, 6, 1, 2);
- tqlayout->addWidget(new TQLabel(i18n("Color:"), frame), 7, 0);
+ layout->addWidget(new TQLabel(i18n("Color:"), frame), 7, 0);
m_colourCombo = new KComboBox(frame);
- tqlayout->addMultiCellWidget(m_colourCombo, 7, 7, 1, 2);
+ layout->addMultiCellWidget(m_colourCombo, 7, 7, 1, 2);
- tqlayout->addWidget(new TQLabel(i18n("Instrument Parameter Box position:"), frame), 8, 0);
+ layout->addWidget(new TQLabel(i18n("Instrument Parameter Box position:"), frame), 8, 0);
m_ipbPosition = new KComboBox(frame);
- tqlayout->addMultiCellWidget(m_ipbPosition, 8, 8, 1, 2);
+ layout->addMultiCellWidget(m_ipbPosition, 8, 8, 1, 2);
connect(m_nameEdit, TQT_SIGNAL(textChanged(const TQString&)),
TQT_SLOT(slotNameChanged(const TQString&)));
@@ -182,7 +182,7 @@ ControlParameterEditDialog::ControlParameterEditDialog(
//
m_ipbPosition->insertItem(notShowing);
for (unsigned int i = 0; i < 32; i++)
- m_ipbPosition->insertItem(TQString("%1").tqarg(i));
+ m_ipbPosition->insertItem(TQString("%1").arg(i));
if (m_control->getType() == Controller::EventType)
m_typeCombo->setCurrentItem(0);