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/general/EditTool.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/general/EditTool.h')
-rw-r--r-- | src/gui/general/EditTool.h | 26 |
1 files changed, 13 insertions, 13 deletions
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 <kxmlguiclient.h> -#include <qstring.h> +#include <tqstring.h> #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; }; |