From 4faf11eccc5f08d2aa0540157d6eff80b7cdb02a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:33:46 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- .../editors/segment/ControlParameterEditDialog.cpp | 44 +++++++++++----------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src/gui/editors/segment/ControlParameterEditDialog.cpp') 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 +#include #include #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); -- cgit v1.2.1