summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_part_layer_handler.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /krita/ui/kis_part_layer_handler.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
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
Diffstat (limited to 'krita/ui/kis_part_layer_handler.h')
-rw-r--r--krita/ui/kis_part_layer_handler.h17
1 files changed, 9 insertions, 8 deletions
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 <qobject.h>
+#include <tqobject.h>
#include <KoQueryTrader.h> // 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;
};