diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/editors/parameters/TrackParameterBox.h | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-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/editors/parameters/TrackParameterBox.h')
-rw-r--r-- | src/gui/editors/parameters/TrackParameterBox.h | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/gui/editors/parameters/TrackParameterBox.h b/src/gui/editors/parameters/TrackParameterBox.h index c5fa0f9..696e3f7 100644 --- a/src/gui/editors/parameters/TrackParameterBox.h +++ b/src/gui/editors/parameters/TrackParameterBox.h @@ -35,17 +35,17 @@ #include <map> #include "RosegardenParameterArea.h" #include "RosegardenParameterBox.h" -#include <qstring.h> -#include <qcheckbox.h> // #include <QCheckBox> in QT4, thinking ahead +#include <tqstring.h> +#include <tqcheckbox.h> // #include <TQCheckBox> in QT4, thinking ahead #include <vector> -class QWidget; -class QPushButton; -class QLabel; -class QFrame; +class TQWidget; +class TQPushButton; +class TQLabel; +class TQFrame; class KComboBox; -class QCheckBox; +class TQCheckBox; namespace Rosegarden @@ -60,14 +60,14 @@ Q_OBJECT public: TrackParameterBox( RosegardenGUIDoc *doc, - QWidget *parent=0); + TQWidget *parent=0); ~TrackParameterBox(); void setDocument( RosegardenGUIDoc *doc ); void populateDeviceLists(); virtual void showAdditionalControls(bool showThem); - virtual QString getPreviousBox(RosegardenParameterArea::Arrangement) const; + virtual TQString getPreviousBox(RosegardenParameterArea::Arrangement) const; public slots: void slotSelectedTrackChanged(); @@ -77,12 +77,12 @@ public slots: void slotRecordingDeviceChanged(int index); void slotRecordingChannelChanged(int index); void slotUpdateControls(int); - void slotInstrumentLabelChanged(InstrumentId id, QString label); + void slotInstrumentLabelChanged(InstrumentId id, TQString label); void slotClefChanged(int clef); void slotTransposeChanged(int transpose); void slotTransposeIndexChanged(int index); - void slotTransposeTextChanged(QString text); + void slotTransposeTextChanged(TQString text); void slotDocColoursChanged(); void slotColorChanged(int index); void slotHighestPressed(); @@ -108,9 +108,9 @@ private: KComboBox *m_recDevice; KComboBox *m_recChannel; - QPushButton *m_presetButton; - QPushButton *m_highButton; - QPushButton *m_lowButton; + TQPushButton *m_presetButton; + TQPushButton *m_highButton; + TQPushButton *m_lowButton; KComboBox *m_defClef; KComboBox *m_defColor; @@ -124,7 +124,7 @@ private: int m_lowestPlayable; ColourTable::ColourList m_colourList; - QLabel *m_trackLabel; + TQLabel *m_trackLabel; typedef std::vector<DeviceId> IdsVector; @@ -132,27 +132,27 @@ private: IdsVector m_recDeviceIds; std::map<DeviceId, IdsVector> m_instrumentIds; - std::map<DeviceId, QStringList> m_instrumentNames; + std::map<DeviceId, TQStringList> m_instrumentNames; int m_selectedTrackId; char m_lastInstrumentType; // Additional elements that may be hidden in vertical stacked mode - //QFrame *m_separator2; - QFrame *m_playbackGroup; - QFrame *m_recordGroup; - QFrame *m_defaultsGroup; - QFrame *m_staffGroup; - QLabel *m_segHeader; - QLabel *m_presetLbl; - QLabel *m_staffGrpLbl; - QLabel *m_grandStaffLbl; - QLabel *m_clefLbl; - QLabel *m_transpLbl; - QLabel *m_colorLbl; - QLabel *m_rangeLbl; - QLabel *m_psetLbl; + //TQFrame *m_separator2; + TQFrame *m_playbackGroup; + TQFrame *m_recordGroup; + TQFrame *m_defaultsGroup; + TQFrame *m_staffGroup; + TQLabel *m_segHeader; + TQLabel *m_presetLbl; + TQLabel *m_staffGrpLbl; + TQLabel *m_grandStaffLbl; + TQLabel *m_clefLbl; + TQLabel *m_transpLbl; + TQLabel *m_colorLbl; + TQLabel *m_rangeLbl; + TQLabel *m_psetLbl; }; |