diff options
Diffstat (limited to 'src/gui/widgets/PitchChooser.cpp')
| -rw-r--r-- | src/gui/widgets/PitchChooser.cpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/gui/widgets/PitchChooser.cpp b/src/gui/widgets/PitchChooser.cpp index e20647d..2aa1c57 100644 --- a/src/gui/widgets/PitchChooser.cpp +++ b/src/gui/widgets/PitchChooser.cpp @@ -28,59 +28,59 @@ #include <klocale.h> #include "gui/general/MidiPitchLabel.h" #include "PitchDragLabel.h" -#include <qgroupbox.h> -#include <qhbox.h> -#include <qlabel.h> -#include <qspinbox.h> -#include <qstring.h> -#include <qwidget.h> +#include <tqgroupbox.h> +#include <tqhbox.h> +#include <tqlabel.h> +#include <tqspinbox.h> +#include <tqstring.h> +#include <tqwidget.h> namespace Rosegarden { -PitchChooser::PitchChooser(QString title, - QWidget *parent, +PitchChooser::PitchChooser(TQString title, + TQWidget *parent, int defaultPitch) : - QGroupBox(1, Horizontal, title, parent), + TQGroupBox(1, Horizontal, title, parent), m_defaultPitch(defaultPitch) { m_pitchDragLabel = new PitchDragLabel(this, defaultPitch); - QHBox *hbox = new QHBox(this); + TQHBox *hbox = new TQHBox(this); hbox->setSpacing(6); - new QLabel(i18n("Pitch:"), hbox); + new TQLabel(i18n("Pitch:"), hbox); - m_pitch = new QSpinBox(hbox); + m_pitch = new TQSpinBox(hbox); m_pitch->setMinValue(0); m_pitch->setMaxValue(127); m_pitch->setValue(defaultPitch); MidiPitchLabel pl(defaultPitch); - m_pitchLabel = new QLabel(pl.getQString(), hbox); + m_pitchLabel = new TQLabel(pl.getQString(), hbox); m_pitchLabel->setMinimumWidth(40); - connect(m_pitch, SIGNAL(valueChanged(int)), - this, SLOT(slotSetPitch(int))); + connect(m_pitch, TQT_SIGNAL(valueChanged(int)), + this, TQT_SLOT(slotSetPitch(int))); - connect(m_pitch, SIGNAL(valueChanged(int)), - this, SIGNAL(pitchChanged(int))); + connect(m_pitch, TQT_SIGNAL(valueChanged(int)), + this, TQT_SIGNAL(pitchChanged(int))); - connect(m_pitch, SIGNAL(valueChanged(int)), - this, SIGNAL(preview(int))); + connect(m_pitch, TQT_SIGNAL(valueChanged(int)), + this, TQT_SIGNAL(preview(int))); - connect(m_pitchDragLabel, SIGNAL(pitchDragged(int)), - this, SLOT(slotSetPitch(int))); + connect(m_pitchDragLabel, TQT_SIGNAL(pitchDragged(int)), + this, TQT_SLOT(slotSetPitch(int))); - connect(m_pitchDragLabel, SIGNAL(pitchChanged(int)), - this, SLOT(slotSetPitch(int))); + connect(m_pitchDragLabel, TQT_SIGNAL(pitchChanged(int)), + this, TQT_SLOT(slotSetPitch(int))); - connect(m_pitchDragLabel, SIGNAL(pitchChanged(int)), - this, SIGNAL(pitchChanged(int))); + connect(m_pitchDragLabel, TQT_SIGNAL(pitchChanged(int)), + this, TQT_SIGNAL(pitchChanged(int))); - connect(m_pitchDragLabel, SIGNAL(preview(int)), - this, SIGNAL(preview(int))); + connect(m_pitchDragLabel, TQT_SIGNAL(preview(int)), + this, TQT_SIGNAL(preview(int))); } |
