From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/dialogs/UseOrnamentDialog.cpp | 54 +++++++++++++++++------------------ 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'src/gui/dialogs/UseOrnamentDialog.cpp') diff --git a/src/gui/dialogs/UseOrnamentDialog.cpp b/src/gui/dialogs/UseOrnamentDialog.cpp index 971f170..b644a08 100644 --- a/src/gui/dialogs/UseOrnamentDialog.cpp +++ b/src/gui/dialogs/UseOrnamentDialog.cpp @@ -24,7 +24,7 @@ #include "UseOrnamentDialog.h" -#include +#include #include #include "base/BaseProperties.h" @@ -38,34 +38,34 @@ #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include namespace Rosegarden { -UseOrnamentDialog::UseOrnamentDialog(QWidget *parent, +UseOrnamentDialog::UseOrnamentDialog(TQWidget *parent, Composition *composition) : KDialogBase(parent, "useornamentdialog", true, i18n("Use Ornament"), Ok | Cancel, Ok), m_composition(composition) { - QVBox *vbox = makeVBoxMainWidget(); - QLabel *label; + TQVBox *vbox = makeVBoxMainWidget(); + TQLabel *label; - QGroupBox *notationBox = new QGroupBox(1, Horizontal, i18n("Notation"), vbox); + TQGroupBox *notationBox = new TQGroupBox(1, Horizontal, i18n("Notation"), vbox); - QFrame *frame = new QFrame(notationBox); - QGridLayout *layout = new QGridLayout(frame, 4, 1, 5, 5); + TQFrame *frame = new TQFrame(notationBox); + TQGridLayout *layout = new TQGridLayout(frame, 4, 1, 5, 5); - label = new QLabel(i18n("Display as: "), frame); + label = new TQLabel(i18n("Display as: "), frame); layout->addWidget(label, 0, 0); m_mark = new KComboBox(frame); @@ -80,7 +80,7 @@ UseOrnamentDialog::UseOrnamentDialog(QWidget *parent, m_marks.push_back(Marks::MordentLong); m_marks.push_back(Marks::MordentLongInverted); - const QString markLabels[] = { + const TQString markLabels[] = { i18n("Trill"), i18n("Trill with line"), i18n("Trill line only"), i18n("Turn"), i18n("Mordent"), i18n("Inverted mordent"), i18n("Long mordent"), i18n("Long inverted mordent"), @@ -93,20 +93,20 @@ UseOrnamentDialog::UseOrnamentDialog(QWidget *parent, } m_mark->insertItem(i18n("Text mark")); - connect(m_mark, SIGNAL(activated(int)), this, SLOT(slotMarkChanged(int))); + connect(m_mark, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotMarkChanged(int))); - m_textLabel = new QLabel(i18n(" Text: "), frame); + m_textLabel = new TQLabel(i18n(" Text: "), frame); layout->addWidget(m_textLabel, 0, 2); - m_text = new QLineEdit(frame); + m_text = new TQLineEdit(frame); layout->addWidget(m_text, 0, 3); - QGroupBox *performBox = new QGroupBox(1, Horizontal, i18n("Performance"), vbox); + TQGroupBox *performBox = new TQGroupBox(1, Horizontal, i18n("Performance"), vbox); - frame = new QFrame(performBox); - layout = new QGridLayout(frame, 3, 2, 5, 5); + frame = new TQFrame(performBox); + layout = new TQGridLayout(frame, 3, 2, 5, 5); - label = new QLabel(i18n("Perform using triggered segment: "), frame); + label = new TQLabel(i18n("Perform using triggered segment: "), frame); layout->addWidget(label, 0, 0); m_ornament = new KComboBox(frame); @@ -117,10 +117,10 @@ UseOrnamentDialog::UseOrnamentDialog(QWidget *parent, m_composition->getTriggerSegments().begin(); i != m_composition->getTriggerSegments().end(); ++i) { m_ornament->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); @@ -131,7 +131,7 @@ UseOrnamentDialog::UseOrnamentDialog(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); -- cgit v1.2.1