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/segment/TrackLabel.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/segment/TrackLabel.h')
-rw-r--r-- | src/gui/editors/segment/TrackLabel.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/gui/editors/segment/TrackLabel.h b/src/gui/editors/segment/TrackLabel.h index e56d0e5..b7aac70 100644 --- a/src/gui/editors/segment/TrackLabel.h +++ b/src/gui/editors/segment/TrackLabel.h @@ -27,14 +27,14 @@ #define _RG_TRACKLABEL_H_ #include "base/Track.h" -#include <qstring.h> -#include <qwidgetstack.h> +#include <tqstring.h> +#include <tqwidgetstack.h> -class QWidget; -class QTimer; -class QMouseEvent; -class QLabel; +class TQWidget; +class TQTimer; +class TQMouseEvent; +class TQLabel; namespace Rosegarden @@ -43,7 +43,7 @@ namespace Rosegarden /** - * Specialises QLabel to create in effect a toggleable and hence + * Specialises TQLabel to create in effect a toggleable and hence * selectable label/label list. In conjunction with TrackButtons * provides a framework for Track selection on the TrackCanvas. */ @@ -61,17 +61,17 @@ public: TrackLabel(TrackId id, int position, - QWidget *parent, + TQWidget *parent, const char *name=0); ~TrackLabel(); - // QLabel API delegation - applies on both labels + // TQLabel API delegation - applies on both labels void setIndent(int); - QLabel* getInstrumentLabel() { return m_instrumentLabel; } - QLabel* getTrackLabel() { return m_trackLabel; } - void setAlternativeLabel(const QString &label); + TQLabel* getInstrumentLabel() { return m_instrumentLabel; } + TQLabel* getTrackLabel() { return m_trackLabel; } + void setAlternativeLabel(const TQString &label); void clearAlternativeLabel(); void showLabel(InstrumentTrackLabels); @@ -91,29 +91,29 @@ signals: // We emit this once we've renamed a track // - void renameTrack(QString, TrackId); + void renameTrack(TQString, TrackId); void changeToInstrumentList(); protected: - virtual void mousePressEvent(QMouseEvent *e); - virtual void mouseReleaseEvent(QMouseEvent *e); - virtual void mouseDoubleClickEvent(QMouseEvent *e); + virtual void mousePressEvent(TQMouseEvent *e); + virtual void mouseReleaseEvent(TQMouseEvent *e); + virtual void mouseDoubleClickEvent(TQMouseEvent *e); - QLabel* getVisibleLabel(); + TQLabel* getVisibleLabel(); //--------------- Data members --------------------------------- - QLabel *m_instrumentLabel; - QLabel *m_trackLabel; - QString m_alternativeLabel; + TQLabel *m_instrumentLabel; + TQLabel *m_trackLabel; + TQString m_alternativeLabel; TrackId m_id; int m_position; bool m_selected; - QTimer *m_pressTimer; + TQTimer *m_pressTimer; }; |