From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kivio/kiviopart/tools/kivio_mousetool.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kivio/kiviopart/tools/kivio_mousetool.h') 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 +#include #include 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* stencils) { Q_UNUSED(stencils); }; + virtual void applyToolAction(TQPtrList* stencils) { Q_UNUSED(stencils); }; virtual void applyToolAction(KivioStencil* /*stencil*/, const KoPoint& /*pos*/) {}; signals: -- cgit v1.2.1