summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_part_layer_handler.h
diff options
context:
space:
mode:
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;
};