summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/TrackHeader.h
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/editors/notation/TrackHeader.h
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/editors/notation/TrackHeader.h')
-rw-r--r--src/gui/editors/notation/TrackHeader.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/gui/editors/notation/TrackHeader.h b/src/gui/editors/notation/TrackHeader.h
index 0104430..1cb4f1e 100644
--- a/src/gui/editors/notation/TrackHeader.h
+++ b/src/gui/editors/notation/TrackHeader.h
@@ -33,13 +33,13 @@
#include "base/NotationTypes.h"
#include "base/Track.h"
-#include <qsize.h>
-#include <qwidget.h>
-#include <qlabel.h>
+#include <tqsize.h>
+#include <tqwidget.h>
+#include <tqlabel.h>
#include <set>
-class QLabel;
+class TQLabel;
namespace Rosegarden
@@ -59,7 +59,7 @@ public:
* *parent is the parent widget, height the height of staff and
* ypos is the staff y position on canvas.
*/
- TrackHeader(QWidget *parent, TrackId trackId, int height, int ypos);
+ TrackHeader(TQWidget *parent, TrackId trackId, int height, int ypos);
/**
* Draw a blue line around header when current is true
@@ -119,18 +119,18 @@ public:
/**
* Return the text to write in the header top
*/
- QString getUpperText() { return m_upperText; }
+ TQString getUpperText() { return m_upperText; }
/**
* Return the transposition text
* (to be written at the end of the upper text)
*/
- QString getTransposeText() { return m_transposeText; }
+ TQString getTransposeText() { return m_transposeText; }
/**
* Return the text to write in the header bottom
*/
- QString getLowerText() { return m_label; }
+ TQString getLowerText() { return m_label; }
/**
* Return true if two segments or more are superimposed and are
@@ -165,7 +165,7 @@ private :
* Convert the transpose value to the instrument tune and
* return it in a printable string.
*/
- void transposeValueToName(int transpose, QString &transposeName);
+ void transposeValueToName(int transpose, TQString &transposeName);
// Status bits
@@ -184,9 +184,9 @@ private :
Clef m_lastClef;
Rosegarden::Key m_lastKey;
- QString m_lastLabel;
+ TQString m_lastLabel;
int m_lastTranspose;
- QString m_lastUpperText;
+ TQString m_lastUpperText;
bool m_neverUpdated;
bool m_isCurrent;
int m_lastStatusPart;
@@ -194,13 +194,13 @@ private :
Clef m_clef;
Rosegarden::Key m_key;
- QString m_label;
+ TQString m_label;
int m_transpose;
int m_status;
bool m_current;
- QString m_upperText;
- QString m_transposeText;
+ TQString m_upperText;
+ TQString m_transposeText;
int m_numberOfTextLines;
// Used to sort the segments listed in the header toolTipText