diff options
Diffstat (limited to 'kivio/kiviopart/tools/kivio_mousetool.h')
-rw-r--r-- | kivio/kiviopart/tools/kivio_mousetool.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kivio/kiviopart/tools/kivio_mousetool.h b/kivio/kiviopart/tools/kivio_mousetool.h index 3b5a3539..7bffaf33 100644 --- a/kivio/kiviopart/tools/kivio_mousetool.h +++ b/kivio/kiviopart/tools/kivio_mousetool.h @@ -21,7 +21,7 @@ #include "kivio_plugin.h" -#include <qptrlist.h> +#include <tqptrlist.h> #include <koffice_export.h> class KivioStencil; class KoPoint; @@ -32,18 +32,19 @@ namespace Kivio { class KIVIO_EXPORT MouseTool : public Kivio::Plugin { Q_OBJECT + TQ_OBJECT public: - MouseTool(KivioView* parent = 0, const char* name = 0); + MouseTool(KivioView* tqparent = 0, const char* name = 0); ~MouseTool(); - virtual bool processEvent(QEvent* e) = 0; + virtual bool processEvent(TQEvent* e) = 0; public slots: virtual void setActivated(bool) = 0; /** This function should apply a change to @p stencils * done by the tool. */ - virtual void applyToolAction(QPtrList<KivioStencil>* stencils) { Q_UNUSED(stencils); }; + virtual void applyToolAction(TQPtrList<KivioStencil>* stencils) { Q_UNUSED(stencils); }; virtual void applyToolAction(KivioStencil* /*stencil*/, const KoPoint& /*pos*/) {}; signals: |