summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/TriggerSegmentDialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/dialogs/TriggerSegmentDialog.cpp
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/dialogs/TriggerSegmentDialog.cpp')
-rw-r--r--src/gui/dialogs/TriggerSegmentDialog.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gui/dialogs/TriggerSegmentDialog.cpp b/src/gui/dialogs/TriggerSegmentDialog.cpp
index a5064e1..85035df 100644
--- a/src/gui/dialogs/TriggerSegmentDialog.cpp
+++ b/src/gui/dialogs/TriggerSegmentDialog.cpp
@@ -35,30 +35,30 @@
#include <kcombobox.h>
#include <kconfig.h>
#include <kdialogbase.h>
-#include <qcheckbox.h>
-#include <qframe.h>
-#include <qlabel.h>
-#include <qstring.h>
-#include <qvbox.h>
-#include <qwidget.h>
-#include <qlayout.h>
+#include <tqcheckbox.h>
+#include <tqframe.h>
+#include <tqlabel.h>
+#include <tqstring.h>
+#include <tqvbox.h>
+#include <tqwidget.h>
+#include <tqlayout.h>
namespace Rosegarden
{
-TriggerSegmentDialog::TriggerSegmentDialog(QWidget *parent,
+TriggerSegmentDialog::TriggerSegmentDialog(TQWidget *parent,
Composition *composition) :
KDialogBase(parent, "triggersegmentdialog", true, i18n("Trigger Segment"),
Ok | Cancel, Ok),
m_composition(composition)
{
- QVBox *vbox = makeVBoxMainWidget();
+ TQVBox *vbox = makeVBoxMainWidget();
- QFrame *frame = new QFrame(vbox);
- QGridLayout *layout = new QGridLayout(frame, 3, 2, 5, 5);
+ TQFrame *frame = new TQFrame(vbox);
+ TQGridLayout *layout = new TQGridLayout(frame, 3, 2, 5, 5);
- QLabel *label = new QLabel(i18n("Trigger segment: "), frame);
+ TQLabel *label = new TQLabel(i18n("Trigger segment: "), frame);
layout->addWidget(label, 0, 0);
m_segment = new KComboBox(frame);
@@ -69,10 +69,10 @@ TriggerSegmentDialog::TriggerSegmentDialog(QWidget *parent,
m_composition->getTriggerSegments().begin();
i != m_composition->getTriggerSegments().end(); ++i) {
m_segment->insertItem
- (QString("%1. %2").arg(n++).arg(strtoqstr((*i)->getSegment()->getLabel())));
+ (TQString("%1. %2").arg(n++).arg(strtoqstr((*i)->getSegment()->getLabel())));
}
- label = new QLabel(i18n("Perform with timing: "), frame);
+ label = new TQLabel(i18n("Perform with timing: "), frame);
layout->addWidget(label, 1, 0);
m_adjustTime = new KComboBox(frame);
@@ -83,7 +83,7 @@ TriggerSegmentDialog::TriggerSegmentDialog(QWidget *parent,
m_adjustTime->insertItem(i18n("End at same time as note"));
m_adjustTime->insertItem(i18n("Stretch or squash segment to note duration"));
- m_retune = new QCheckBox(i18n("Adjust pitch to note"), frame);
+ m_retune = new TQCheckBox(i18n("Adjust pitch to note"), frame);
m_retune->setChecked(true);
layout->addWidget(m_retune, 2, 1);