From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/general/EditTool.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/gui/general/EditTool.h') diff --git a/src/gui/general/EditTool.h b/src/gui/general/EditTool.h index 17937d1..7fda27f 100644 --- a/src/gui/general/EditTool.h +++ b/src/gui/general/EditTool.h @@ -28,11 +28,11 @@ #include "BaseTool.h" #include -#include +#include #include "base/Event.h" -class QMouseEvent; +class TQMouseEvent; namespace Rosegarden @@ -77,7 +77,7 @@ public: virtual void handleMousePress(timeT time, int height, int staffNo, - QMouseEvent *event, + TQMouseEvent *event, ViewElement*); /** @@ -86,7 +86,7 @@ public: virtual void handleLeftButtonPress(timeT time, int height, int staffNo, - QMouseEvent *event, + TQMouseEvent *event, ViewElement*) = 0; /** @@ -95,7 +95,7 @@ public: virtual void handleMidButtonPress(timeT time, int height, int staffNo, - QMouseEvent*, + TQMouseEvent*, ViewElement*); /** @@ -104,7 +104,7 @@ public: virtual void handleRightButtonPress(timeT time, int height, int staffNo, - QMouseEvent*, + TQMouseEvent*, ViewElement*); /** @@ -113,7 +113,7 @@ public: virtual void handleMouseDoubleClick(timeT time, int height, int staffNo, - QMouseEvent*, + TQMouseEvent*, ViewElement*); /** @@ -124,14 +124,14 @@ public: */ virtual int handleMouseMove(timeT time, int height, - QMouseEvent*); + TQMouseEvent*); /** * Do nothing */ virtual void handleMouseRelease(timeT time, int height, - QMouseEvent*); + TQMouseEvent*); /** * Respond to an event being deleted -- it may be the one the tool @@ -146,16 +146,16 @@ protected: * * \a menuName : the name of the menu defined in the XML rc file */ - EditTool(const QString& menuName, EditView*); + EditTool(const TQString& menuName, EditView*); - void setRCFileName(QString rcfilename) { m_rcFileName = rcfilename; } + void setRCFileName(TQString rcfilename) { m_rcFileName = rcfilename; } virtual void createMenu(); - virtual void createMenu(QString rcFileName); + virtual void createMenu(TQString rcFileName); virtual bool hasMenu(); //--------------- Data members --------------------------------- - QString m_rcFileName; + TQString m_rcFileName; EditView* m_parentView; }; -- cgit v1.2.3