diff options
Diffstat (limited to 'src/gui/dialogs/UseOrnamentDialog.cpp')
-rw-r--r-- | src/gui/dialogs/UseOrnamentDialog.cpp | 54 |
1 files changed, 27 insertions, 27 deletions
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 <qlayout.h> +#include <tqlayout.h> #include <kapplication.h> #include "base/BaseProperties.h" @@ -38,34 +38,34 @@ #include <kcombobox.h> #include <kconfig.h> #include <kdialogbase.h> -#include <qcheckbox.h> -#include <qframe.h> -#include <qgroupbox.h> -#include <qlabel.h> -#include <qlineedit.h> -#include <qstring.h> -#include <qvbox.h> -#include <qwidget.h> +#include <tqcheckbox.h> +#include <tqframe.h> +#include <tqgroupbox.h> +#include <tqlabel.h> +#include <tqlineedit.h> +#include <tqstring.h> +#include <tqvbox.h> +#include <tqwidget.h> 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); |