diff options
Diffstat (limited to 'src/gui/dialogs/EventParameterDialog.cpp')
-rw-r--r-- | src/gui/dialogs/EventParameterDialog.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/gui/dialogs/EventParameterDialog.cpp b/src/gui/dialogs/EventParameterDialog.cpp index 036491e..98abb44 100644 --- a/src/gui/dialogs/EventParameterDialog.cpp +++ b/src/gui/dialogs/EventParameterDialog.cpp @@ -31,34 +31,34 @@ #include "base/PropertyName.h" #include <kcombobox.h> #include <kdialogbase.h> -#include <qhbox.h> -#include <qlabel.h> -#include <qstring.h> -#include <qvbox.h> -#include <qwidget.h> +#include <tqhbox.h> +#include <tqlabel.h> +#include <tqstring.h> +#include <tqvbox.h> +#include <tqwidget.h> namespace Rosegarden { EventParameterDialog::EventParameterDialog( - QWidget *parent, - const QString &name, + TQWidget *parent, + const TQString &name, const PropertyName &property, int startValue): KDialogBase(parent, 0, true, name, Ok | Cancel), m_property(property) { - QVBox *vBox = makeVBoxMainWidget(); + TQVBox *vBox = makeVBoxMainWidget(); - QHBox *topBox = new QHBox(vBox); - QLabel *explainLabel = new QLabel(topBox); - QString text = i18n("Set the %1 property of the event selection:"). + TQHBox *topBox = new TQHBox(vBox); + TQLabel *explainLabel = new TQLabel(topBox); + TQString text = i18n("Set the %1 property of the event selection:"). arg(strtoqstr(property)); explainLabel->setText(text); - QHBox *patternBox = new QHBox(vBox); - new QLabel(i18n("Pattern"), patternBox); + TQHBox *patternBox = new TQHBox(vBox); + new TQLabel(i18n("Pattern"), patternBox); m_patternCombo = new KComboBox(patternBox); // create options @@ -82,20 +82,20 @@ EventParameterDialog::EventParameterDialog( text = i18n("Ringing - set %1 alternating from max to min with both dying to zero").arg(strtoqstr(property)); m_patternCombo->insertItem(text); - connect(m_patternCombo, SIGNAL(activated(int)), - this, SLOT(slotPatternSelected(int))); + connect(m_patternCombo, TQT_SIGNAL(activated(int)), + this, TQT_SLOT(slotPatternSelected(int))); - QHBox *value1Box = new QHBox(vBox); - m_value1Label = new QLabel(i18n("Value"), value1Box); + TQHBox *value1Box = new TQHBox(vBox); + m_value1Label = new TQLabel(i18n("Value"), value1Box); m_value1Combo = new KComboBox(value1Box); - QHBox *value2Box = new QHBox(vBox); - m_value2Label = new QLabel(i18n("Value"), value2Box); + TQHBox *value2Box = new TQHBox(vBox); + m_value2Label = new TQLabel(i18n("Value"), value2Box); m_value2Combo = new KComboBox(value2Box); for (unsigned int i = 0; i < 128; i++) { - m_value1Combo->insertItem(QString("%1").arg(i)); - m_value2Combo->insertItem(QString("%1").arg(i)); + m_value1Combo->insertItem(TQString("%1").arg(i)); + m_value2Combo->insertItem(TQString("%1").arg(i)); } m_value1Combo->setCurrentItem(127); |