summaryrefslogtreecommitdiffstats
path: root/kivio/plugins/kiviosmlconnector/tool_connector.h
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/plugins/kiviosmlconnector/tool_connector.h')
-rw-r--r--kivio/plugins/kiviosmlconnector/tool_connector.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/kivio/plugins/kiviosmlconnector/tool_connector.h b/kivio/plugins/kiviosmlconnector/tool_connector.h
index aecb26db..788192f6 100644
--- a/kivio/plugins/kiviosmlconnector/tool_connector.h
+++ b/kivio/plugins/kiviosmlconnector/tool_connector.h
@@ -22,8 +22,8 @@
#include "kivio_mousetool.h"
#include <KoPoint.h>
-class QMouseEvent;
-class QCursor;
+class TQMouseEvent;
+class TQCursor;
class KToggleAction;
@@ -34,13 +34,14 @@ class KivioCustomDragData;
class SMLConnector : public Kivio::MouseTool
{ Q_OBJECT
+ TQ_OBJECT
public:
SMLConnector( KivioView* view );
~SMLConnector();
- virtual bool processEvent( QEvent* );
+ virtual bool processEvent( TQEvent* );
- void connector(QRect);
+ void connector(TQRect);
public slots:
virtual void setActivated(bool a);
@@ -49,17 +50,17 @@ signals:
void operationDone();
protected:
- void mousePress(QMouseEvent *);
- void mouseMove(QMouseEvent *);
- void mouseRelease(QMouseEvent *);
+ void mousePress(TQMouseEvent *);
+ void mouseMove(TQMouseEvent *);
+ void mouseRelease(TQMouseEvent *);
- bool startRubberBanding(QMouseEvent*);
- void continueRubberBanding(QMouseEvent *);
- void endRubberBanding(QMouseEvent *);
+ bool startRubberBanding(TQMouseEvent*);
+ void continueRubberBanding(TQMouseEvent *);
+ void endRubberBanding(TQMouseEvent *);
- QPoint m_startPoint, m_releasePoint;
+ TQPoint m_startPoint, m_releasePoint;
// Connector Tool Mode
enum
@@ -71,8 +72,8 @@ protected:
private:
// Flag to indicate that we are drawing a rubber band
int m_mode;
- QCursor* m_pConnectorCursor1;
- QCursor* m_pConnectorCursor2;
+ TQCursor* m_pConnectorCursor1;
+ TQCursor* m_pConnectorCursor2;
KivioSMLConnector* m_pStencil;
KoPoint startPoint;
KivioCustomDragData* m_pDragData;