summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/PitchChooser.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/widgets/PitchChooser.cpp
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/widgets/PitchChooser.cpp')
-rw-r--r--src/gui/widgets/PitchChooser.cpp54
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)));
}