From c18386d69b76ef0218b5f0a08ca773fa824322b6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:07:05 -0600 Subject: Rename obsolete tq methods to standard names --- src/gui/editors/eventlist/EventView.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/gui/editors/eventlist') diff --git a/src/gui/editors/eventlist/EventView.cpp b/src/gui/editors/eventlist/EventView.cpp index 273c2d1..d7f874b 100644 --- a/src/gui/editors/eventlist/EventView.cpp +++ b/src/gui/editors/eventlist/EventView.cpp @@ -161,40 +161,40 @@ EventView::EventView(RosegardenGUIDoc *doc, (1, Qt::Horizontal, i18n("Triggered Segment Properties"), getCentralWidget()); TQFrame *frame = new TQFrame(groupBox); - TQGridLayout *tqlayout = new TQGridLayout(frame, 5, 3, 5, 5); + TQGridLayout *layout = new TQGridLayout(frame, 5, 3, 5, 5); - tqlayout->addWidget(new TQLabel(i18n("Label: "), frame), 0, 0); + layout->addWidget(new TQLabel(i18n("Label: "), frame), 0, 0); TQString label = strtoqstr(segments[0]->getLabel()); if (label == "") label = i18n(""); m_triggerName = new TQLabel(label, frame); - tqlayout->addWidget(m_triggerName, 0, 1); + layout->addWidget(m_triggerName, 0, 1); TQPushButton *editButton = new TQPushButton(i18n("edit"), frame); - tqlayout->addWidget(editButton, 0, 2); + layout->addWidget(editButton, 0, 2); connect(editButton, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotEditTriggerName())); - tqlayout->addWidget(new TQLabel(i18n("Base pitch: "), frame), 1, 0); + layout->addWidget(new TQLabel(i18n("Base pitch: "), frame), 1, 0); m_triggerPitch = new TQLabel(TQString("%1").arg(rec->getBasePitch()), frame); - tqlayout->addWidget(m_triggerPitch, 1, 1); + layout->addWidget(m_triggerPitch, 1, 1); editButton = new TQPushButton(i18n("edit"), frame); - tqlayout->addWidget(editButton, 1, 2); + layout->addWidget(editButton, 1, 2); connect(editButton, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotEditTriggerPitch())); - tqlayout->addWidget(new TQLabel(i18n("Base velocity: "), frame), 2, 0); + layout->addWidget(new TQLabel(i18n("Base velocity: "), frame), 2, 0); m_triggerVelocity = new TQLabel(TQString("%1").arg(rec->getBaseVelocity()), frame); - tqlayout->addWidget(m_triggerVelocity, 2, 1); + layout->addWidget(m_triggerVelocity, 2, 1); editButton = new TQPushButton(i18n("edit"), frame); - tqlayout->addWidget(editButton, 2, 2); + layout->addWidget(editButton, 2, 2); connect(editButton, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotEditTriggerVelocity())); /*!!! Comment out these two options, which are not yet used anywhere else -- intended for use with library ornaments, not yet implemented - tqlayout->addWidget(new TQLabel(i18n("Default timing: "), frame), 3, 0); + layout->addWidget(new TQLabel(i18n("Default timing: "), frame), 3, 0); KComboBox *adjust = new KComboBox(frame); - tqlayout->addMultiCellWidget(adjust, 3, 3, 1, 2); + layout->addMultiCellWidget(adjust, 3, 3, 1, 2); adjust->insertItem(i18n("As stored")); adjust->insertItem(i18n("Truncate if longer than note")); adjust->insertItem(i18n("End at same time as note")); @@ -216,7 +216,7 @@ EventView::EventView(RosegardenGUIDoc *doc, TQCheckBox *retune = new TQCheckBox(i18n("Adjust pitch to trigger note by default"), frame); retune->setChecked(rec->getDefaultRetune()); connect(retune, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotTriggerRetuneChanged())); - tqlayout->addMultiCellWidget(retune, 4, 4, 1, 2); + layout->addMultiCellWidget(retune, 4, 4, 1, 2); */ -- cgit v1.2.1