diff options
Diffstat (limited to 'src/gui/editors/segment/TrackButtons.h')
-rw-r--r-- | src/gui/editors/segment/TrackButtons.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/gui/editors/segment/TrackButtons.h b/src/gui/editors/segment/TrackButtons.h index a61601d..7f2b5dd 100644 --- a/src/gui/editors/segment/TrackButtons.h +++ b/src/gui/editors/segment/TrackButtons.h @@ -30,16 +30,16 @@ #include "base/Track.h" #include "gui/application/RosegardenGUIApp.h" #include "TrackLabel.h" -#include <qframe.h> -#include <qstring.h> +#include <tqframe.h> +#include <tqstring.h> #include <vector> -class QWidget; -class QVBoxLayout; -class QSignalMapper; -class QPopupMenu; -class QObject; +class TQWidget; +class TQVBoxLayout; +class TQSignalMapper; +class TQPopupMenu; +class TQObject; namespace Rosegarden @@ -61,7 +61,7 @@ public: unsigned int trackLabelWidth, bool showTrackLabels, int overallHeight, - QWidget* parent = 0, + TQWidget* parent = 0, const char* name = 0, WFlags f=0); @@ -80,9 +80,9 @@ public: * an actual program name rather than a meaningless * device number and midi channel */ - void changeInstrumentLabel(InstrumentId id, QString label); + void changeInstrumentLabel(InstrumentId id, TQString label); - void changeTrackLabel(TrackId id, QString label); + void changeTrackLabel(TrackId id, TQString label); // Select a label from outside this class by position // @@ -105,7 +105,7 @@ public: * * @see RosegardenGUIApp#slotPopulateTrackInstrumentPopup() */ - void populateInstrumentPopup(Instrument *thisTrackInstr, QPopupMenu* instrumentPopup); + void populateInstrumentPopup(Instrument *thisTrackInstr, TQPopupMenu* instrumentPopup); signals: // to emit what Track has been selected @@ -138,7 +138,7 @@ public slots: void slotToggleRecordTrack(int position); void slotToggleMutedTrack(int mutedTrack); void slotUpdateTracks(); - void slotRenameTrack(QString newName, TrackId trackId); + void slotRenameTrack(TQString newName, TrackId trackId); void slotSetTrackMeter(float value, int position); void slotSetMetersByInstrument(float value, InstrumentId id); @@ -176,27 +176,27 @@ protected: */ void makeButtons(); - QFrame* makeButton(TrackId trackId); - QString getPresentationName(Instrument *); + TQFrame* makeButton(TrackId trackId); + TQString getPresentationName(Instrument *); - void setButtonMapping(QObject*, TrackId); + void setButtonMapping(TQObject*, TrackId); //--------------- Data members --------------------------------- RosegardenGUIDoc *m_doc; - QVBoxLayout *m_layout; + TQVBoxLayout *m_layout; std::vector<KLedButton *> m_muteLeds; std::vector<KLedButton *> m_recordLeds; std::vector<TrackLabel *> m_trackLabels; std::vector<TrackVUMeter *> m_trackMeters; - std::vector<QFrame *> m_trackHBoxes; + std::vector<TQFrame *> m_trackHBoxes; - QSignalMapper *m_recordSigMapper; - QSignalMapper *m_muteSigMapper; - QSignalMapper *m_clickedSigMapper; - QSignalMapper *m_instListSigMapper; + TQSignalMapper *m_recordSigMapper; + TQSignalMapper *m_muteSigMapper; + TQSignalMapper *m_clickedSigMapper; + TQSignalMapper *m_instListSigMapper; // Number of tracks on our view // |