diff options
Diffstat (limited to 'umbrello/umbrello/toolbarstate.h')
-rw-r--r-- | umbrello/umbrello/toolbarstate.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/umbrello/umbrello/toolbarstate.h b/umbrello/umbrello/toolbarstate.h index e005c021..4027ce6b 100644 --- a/umbrello/umbrello/toolbarstate.h +++ b/umbrello/umbrello/toolbarstate.h @@ -12,8 +12,8 @@ #ifndef TOOLBARSTATE_H #define TOOLBARSTATE_H -#include <qevent.h> -#include <qobject.h> +#include <tqevent.h> +#include <tqobject.h> class QEvent; class QMouseEvent; @@ -68,7 +68,7 @@ class UMLWidget; * @todo Handle, for example, left press, right press, left release, right * release and other similar strange combinations? */ -class ToolBarState: public QObject { +class ToolBarState: public TQObject { Q_OBJECT public: @@ -102,7 +102,7 @@ public: * @param ome The received event. * @see setCurrentElement() */ - virtual void mousePress(QMouseEvent *ome); + virtual void mousePress(TQMouseEvent *ome); /** * Handler for mouse release events. @@ -113,7 +113,7 @@ public: * * @param ome The received event. */ - virtual void mouseRelease(QMouseEvent* ome); + virtual void mouseRelease(TQMouseEvent* ome); /** * Handler for mouse double click events. @@ -123,7 +123,7 @@ public: * * @param ome The received event. */ - virtual void mouseDoubleClick(QMouseEvent* ome); + virtual void mouseDoubleClick(TQMouseEvent* ome); /** * Handler for mouse double click events. @@ -138,7 +138,7 @@ public: * * @param ome The received event. */ - virtual void mouseMove(QMouseEvent* ome); + virtual void mouseMove(TQMouseEvent* ome); public slots: @@ -162,7 +162,7 @@ protected: /** * Creates a new ToolBarState. - * UMLView is set as parent of this QObject, and name is left empty. + * UMLView is set as parent of this TQObject, and name is left empty. * Protected to avoid classes other than derived to create objects of this * class. * @@ -313,7 +313,7 @@ protected: * @param ome The mouse event to transform. * @param type The type of the event. */ - void setMouseEvent(QMouseEvent* ome, const QEvent::Type &type); + void setMouseEvent(TQMouseEvent* ome, const TQEvent::Type &type); /** * Returns the AssociationWidget at the specified position, or null if there is none. @@ -323,7 +323,7 @@ protected: * @return The AssociationWidget at the specified position, or null if there is none. * @todo Better handling for associations at the same point */ - AssociationWidget* getAssociationAt(const QPoint& pos); + AssociationWidget* getAssociationAt(const TQPoint& pos); /** * Returns the MessageWidget at the specified position, or null if there is none. @@ -334,7 +334,7 @@ protected: * @return The MessageWidget at the specified position, or null if there is none. * @todo Better handling for messages at the same point */ - MessageWidget* getMessageAt(const QPoint& pos); + MessageWidget* getMessageAt(const TQPoint& pos); /** * The UMLView. @@ -346,7 +346,7 @@ protected: * This event is the equivalent of the received event after transforming it * using the inverse world matrix in the UMLView. */ - QMouseEvent* m_pMouseEvent; + TQMouseEvent* m_pMouseEvent; private: |