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 --- krita/ui/kis_part_layer_handler.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'krita/ui/kis_part_layer_handler.h') diff --git a/krita/ui/kis_part_layer_handler.h b/krita/ui/kis_part_layer_handler.h index 7b6d3f0b..746b23d9 100644 --- a/krita/ui/kis_part_layer_handler.h +++ b/krita/ui/kis_part_layer_handler.h @@ -18,23 +18,24 @@ #ifndef KIS_PART_LAYER_HANDLER_ #define KIS_PART_LAYER_HANDLER_ -#include +#include #include // KoDocumentEntry #include "kis_types.h" #include "kis_doc.h" #include "kis_view.h" -class QKeyEvent; +class TQKeyEvent; -class KisPartLayerHandler : public QObject { +class KisPartLayerHandler : public TQObject { Q_OBJECT + TQ_OBJECT public: KisPartLayerHandler(KisView* view, const KoDocumentEntry& entry, - KisGroupLayerSP parent, KisLayerSP above); + KisGroupLayerSP tqparent, KisLayerSP above); signals: void sigGotMoveEvent(KisMoveEvent* event); - void sigGotKeyPressEvent(QKeyEvent* event); + void sigGotKeyPressEvent(TQKeyEvent* event); void handlerDone(); protected slots: @@ -42,15 +43,15 @@ protected slots: void gotMoveEvent(KisMoveEvent* event); void gotButtonPressEvent(KisButtonPressEvent* event); void gotButtonReleaseEvent(KisButtonReleaseEvent* event); - void gotKeyPressEvent(QKeyEvent* event); + void gotKeyPressEvent(TQKeyEvent* event); protected: void done(); KisGroupLayerSP m_parent; KisLayerSP m_above; KisView* m_view; KoDocumentEntry m_entry; - QPoint m_start; - QPoint m_end; + TQPoint m_start; + TQPoint m_end; bool m_started; }; -- cgit v1.2.1