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.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/dialogs/UseOrnamentDialog.cpp b/src/gui/dialogs/UseOrnamentDialog.cpp
index 9076803..2c8fb97 100644
--- a/src/gui/dialogs/UseOrnamentDialog.cpp
+++ b/src/gui/dialogs/UseOrnamentDialog.cpp
@@ -24,7 +24,7 @@
#include "UseOrnamentDialog.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <kapplication.h>
#include "base/BaseProperties.h"
@@ -63,13 +63,13 @@ UseOrnamentDialog::UseOrnamentDialog(TQWidget *parent,
TQGroupBox *notationBox = new TQGroupBox(1, Qt::Horizontal, i18n("Notation"), vbox);
TQFrame *frame = new TQFrame(notationBox);
- TQGridLayout *layout = new TQGridLayout(frame, 4, 1, 5, 5);
+ TQGridLayout *tqlayout = new TQGridLayout(frame, 4, 1, 5, 5);
label = new TQLabel(i18n("Display as: "), frame);
- layout->addWidget(label, 0, 0);
+ tqlayout->addWidget(label, 0, 0);
m_mark = new KComboBox(frame);
- layout->addWidget(m_mark, 0, 1);
+ tqlayout->addWidget(m_mark, 0, 1);
m_marks.push_back(Marks::Trill);
m_marks.push_back(Marks::LongTrill);
@@ -96,35 +96,35 @@ UseOrnamentDialog::UseOrnamentDialog(TQWidget *parent,
connect(m_mark, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotMarkChanged(int)));
m_textLabel = new TQLabel(i18n(" Text: "), frame);
- layout->addWidget(m_textLabel, 0, 2);
+ tqlayout->addWidget(m_textLabel, 0, 2);
m_text = new TQLineEdit(frame);
- layout->addWidget(m_text, 0, 3);
+ tqlayout->addWidget(m_text, 0, 3);
TQGroupBox *performBox = new TQGroupBox(1, Qt::Horizontal, i18n("Performance"), vbox);
frame = new TQFrame(performBox);
- layout = new TQGridLayout(frame, 3, 2, 5, 5);
+ tqlayout = new TQGridLayout(frame, 3, 2, 5, 5);
label = new TQLabel(i18n("Perform using triggered segment: "), frame);
- layout->addWidget(label, 0, 0);
+ tqlayout->addWidget(label, 0, 0);
m_ornament = new KComboBox(frame);
- layout->addWidget(m_ornament, 0, 1);
+ tqlayout->addWidget(m_ornament, 0, 1);
int n = 1;
for (Composition::triggersegmentcontaineriterator i =
m_composition->getTriggerSegments().begin();
i != m_composition->getTriggerSegments().end(); ++i) {
m_ornament->insertItem
- (TQString("%1. %2").arg(n++).arg(strtoqstr((*i)->getSegment()->getLabel())));
+ (TQString("%1. %2").tqarg(n++).tqarg(strtoqstr((*i)->getSegment()->getLabel())));
}
label = new TQLabel(i18n("Perform with timing: "), frame);
- layout->addWidget(label, 1, 0);
+ tqlayout->addWidget(label, 1, 0);
m_adjustTime = new KComboBox(frame);
- layout->addWidget(m_adjustTime, 1, 1);
+ tqlayout->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);
- layout->addWidget(m_retune, 2, 1);
+ tqlayout->addWidget(m_retune, 2, 1);
setupFromConfig();
}