summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/eventlist/EventView.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:07:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:07:05 -0600
commitc18386d69b76ef0218b5f0a08ca773fa824322b6 (patch)
tree0bea571897791e4a9ae01e42d0923c3c7baf0bda /src/gui/editors/eventlist/EventView.cpp
parent97f1c43c867725d49f3943a68ef08d7e71767e99 (diff)
downloadrosegarden-c18386d69b76ef0218b5f0a08ca773fa824322b6.tar.gz
rosegarden-c18386d69b76ef0218b5f0a08ca773fa824322b6.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/gui/editors/eventlist/EventView.cpp')
-rw-r--r--src/gui/editors/eventlist/EventView.cpp26
1 files changed, 13 insertions, 13 deletions
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("<no label>");
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);
*/