summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/TriggerSegmentDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs/TriggerSegmentDialog.cpp')
-rw-r--r--src/gui/dialogs/TriggerSegmentDialog.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/dialogs/TriggerSegmentDialog.cpp b/src/gui/dialogs/TriggerSegmentDialog.cpp
index 4e4c75b..744d628 100644
--- a/src/gui/dialogs/TriggerSegmentDialog.cpp
+++ b/src/gui/dialogs/TriggerSegmentDialog.cpp
@@ -41,7 +41,7 @@
#include <tqstring.h>
#include <tqvbox.h>
#include <tqwidget.h>
-#include <layout.h>
+#include <tqlayout.h>
namespace Rosegarden
@@ -56,27 +56,27 @@ TriggerSegmentDialog::TriggerSegmentDialog(TQWidget *parent,
TQVBox *vbox = makeVBoxMainWidget();
TQFrame *frame = new TQFrame(vbox);
- TQGridLayout *layout = new TQGridLayout(frame, 3, 2, 5, 5);
+ TQGridLayout *tqlayout = new TQGridLayout(frame, 3, 2, 5, 5);
TQLabel *label = new TQLabel(i18n("Trigger segment: "), frame);
- layout->addWidget(label, 0, 0);
+ tqlayout->addWidget(label, 0, 0);
m_segment = new KComboBox(frame);
- layout->addWidget(m_segment, 0, 1);
+ tqlayout->addWidget(m_segment, 0, 1);
int n = 1;
for (Composition::triggersegmentcontaineriterator i =
m_composition->getTriggerSegments().begin();
i != m_composition->getTriggerSegments().end(); ++i) {
m_segment->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"));
@@ -86,7 +86,7 @@ TriggerSegmentDialog::TriggerSegmentDialog(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();
}