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/widgets/PitchChooser.cpp | 54 ++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'src/gui/widgets/PitchChooser.cpp') 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 #include "gui/general/MidiPitchLabel.h" #include "PitchDragLabel.h" -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include 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))); } -- cgit v1.2.1