summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/UseOrnamentDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs/UseOrnamentDialog.cpp')
-rw-r--r--src/gui/dialogs/UseOrnamentDialog.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/dialogs/UseOrnamentDialog.cpp b/src/gui/dialogs/UseOrnamentDialog.cpp
index 23fff16..21c9220 100644
--- a/src/gui/dialogs/UseOrnamentDialog.cpp
+++ b/src/gui/dialogs/UseOrnamentDialog.cpp
@@ -63,13 +63,13 @@ UseOrnamentDialog::UseOrnamentDialog(TQWidget *parent,
TQGroupBox *notationBox = new TQGroupBox(1, Qt::Horizontal, i18n("Notation"), vbox);
TQFrame *frame = new TQFrame(notationBox);
- TQGridLayout *tqlayout = new TQGridLayout(frame, 4, 1, 5, 5);
+ TQGridLayout *layout = new TQGridLayout(frame, 4, 1, 5, 5);
label = new TQLabel(i18n("Display as: "), frame);
- tqlayout->addWidget(label, 0, 0);
+ layout->addWidget(label, 0, 0);
m_mark = new KComboBox(frame);
- tqlayout->addWidget(m_mark, 0, 1);
+ layout->addWidget(m_mark, 0, 1);
m_marks.push_back(Marks::Trill);
m_marks.push_back(Marks::LongTrill);
@@ -96,21 +96,21 @@ UseOrnamentDialog::UseOrnamentDialog(TQWidget *parent,
connect(m_mark, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotMarkChanged(int)));
m_textLabel = new TQLabel(i18n(" Text: "), frame);
- tqlayout->addWidget(m_textLabel, 0, 2);
+ layout->addWidget(m_textLabel, 0, 2);
m_text = new TQLineEdit(frame);
- tqlayout->addWidget(m_text, 0, 3);
+ layout->addWidget(m_text, 0, 3);
TQGroupBox *performBox = new TQGroupBox(1, Qt::Horizontal, i18n("Performance"), vbox);
frame = new TQFrame(performBox);
- tqlayout = new TQGridLayout(frame, 3, 2, 5, 5);
+ layout = new TQGridLayout(frame, 3, 2, 5, 5);
label = new TQLabel(i18n("Perform using triggered segment: "), frame);
- tqlayout->addWidget(label, 0, 0);
+ layout->addWidget(label, 0, 0);
m_ornament = new KComboBox(frame);
- tqlayout->addWidget(m_ornament, 0, 1);
+ layout->addWidget(m_ornament, 0, 1);
int n = 1;
for (Composition::triggersegmentcontaineriterator i =
@@ -121,10 +121,10 @@ UseOrnamentDialog::UseOrnamentDialog(TQWidget *parent,
}
label = new TQLabel(i18n("Perform with timing: "), frame);
- tqlayout->addWidget(label, 1, 0);
+ layout->addWidget(label, 1, 0);
m_adjustTime = new KComboBox(frame);
- tqlayout->addWidget(m_adjustTime, 1, 1);
+ layout->addWidget(m_adjustTime, 1, 1);
m_adjustTime->insertItem(i18n("As stored"));
m_adjustTime->insertItem(i18n("Truncate if longer than note"));
@@ -134,7 +134,7 @@ UseOrnamentDialog::UseOrnamentDialog(TQWidget *parent,
m_retune = new TQCheckBox(i18n("Adjust pitch to note"), frame);
m_retune->setChecked(true);
- tqlayout->addWidget(m_retune, 2, 1);
+ layout->addWidget(m_retune, 2, 1);
setupFromConfig();
}