summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/NotationCanvasView.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
commit458efa7b0c935cbaafa2791021a5f8f7241aa876 (patch)
tree624583f2873febe23770bee3fa94b5c24bd59f4f /src/gui/editors/notation/NotationCanvasView.h
parent747037b72944ae2c02962b7c5c96e0a7f8852e38 (diff)
downloadrosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.tar.gz
rosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.zip
Initial TQt4 port of Rosegarden
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1230242 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/notation/NotationCanvasView.h')
-rw-r--r--src/gui/editors/notation/NotationCanvasView.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/gui/editors/notation/NotationCanvasView.h b/src/gui/editors/notation/NotationCanvasView.h
index 3c26ded..e327de8 100644
--- a/src/gui/editors/notation/NotationCanvasView.h
+++ b/src/gui/editors/notation/NotationCanvasView.h
@@ -37,8 +37,8 @@ class TQPoint;
class TQPaintEvent;
class TQPainter;
class TQMouseEvent;
-class QCanvasLineGroupable;
-class QCanvasItemGroup;
+class TQCanvasLineGroupable;
+class TQCanvasItemGroup;
class TQCanvasItem;
class TQCanvas;
@@ -66,10 +66,11 @@ class LinedStaffManager;
class NotationCanvasView : public RosegardenCanvasView
{
Q_OBJECT
+ TQ_OBJECT
public:
NotationCanvasView(const LinedStaffManager &staffmgr,
- TQCanvas *viewing, TQWidget *parent=0,
+ TQCanvas *viewing, TQWidget *tqparent=0,
const char *name=0, WFlags f=0);
~NotationCanvasView();
@@ -92,7 +93,7 @@ signals:
/**
* Emitted when the user clicks on a TQCanvasItem which is active
*
- * @see QCanvasItem#setActive
+ * @see TQCanvasItem#setActive
*/
void activeItemPressed(TQMouseEvent*,
TQCanvasItem* item);
@@ -106,7 +107,7 @@ signals:
/**
* Emitted when the user clicks on a TQCanvasItem which is a
- * plain QCanvasText
+ * plain TQCanvasText
*/
void textItemPressed(TQMouseEvent *,
TQCanvasItem *);
@@ -200,10 +201,10 @@ protected:
NotationStaff *m_currentStaff;
int m_currentHeight;
- QCanvasItemGroup *m_heightMarker;
- QCanvasLineGroupable *m_vert1;
- QCanvasLineGroupable *m_vert2;
- std::vector<QCanvasLineGroupable *> m_legerLines;
+ TQCanvasItemGroup *m_heightMarker;
+ TQCanvasLineGroupable *m_vert1;
+ TQCanvasLineGroupable *m_vert2;
+ std::vector<TQCanvasLineGroupable *> m_legerLines;
bool m_legerLineOffset;
bool m_heightTracking;