summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_selection_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/ui/kis_selection_manager.h')
-rw-r--r--krita/ui/kis_selection_manager.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/krita/ui/kis_selection_manager.h b/krita/ui/kis_selection_manager.h
index 7e18a0d97..fb33218e2 100644
--- a/krita/ui/kis_selection_manager.h
+++ b/krita/ui/kis_selection_manager.h
@@ -18,8 +18,8 @@
#ifndef KIS_SELECTION_MANAGER_
#define KIS_SELECTION_MANAGER_
-#include "qobject.h"
-#include "qptrlist.h"
+#include "tqobject.h"
+#include "tqptrlist.h"
#include "kis_image.h"
#include <koffice_export.h>
@@ -33,13 +33,14 @@ class KisClipboard;
* The selection manager is responsible selections
* and the clipboard.
*/
-class KRITACORE_EXPORT KisSelectionManager : public QObject {
+class KRITACORE_EXPORT KisSelectionManager : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
- KisSelectionManager(KisView * parent, KisDoc * doc);
+ KisSelectionManager(KisView * tqparent, KisDoc * doc);
virtual ~KisSelectionManager();
void setup(KActionCollection * collection);
@@ -84,20 +85,20 @@ public slots:
void toggleDisplaySelection();
public:
- void grow (Q_INT32 xradius, Q_INT32 yradius);
- void shrink (Q_INT32 xradius, Q_INT32 yradius, bool edge_lock);
- void border(Q_INT32 xradius, Q_INT32 yradius);
+ void grow (TQ_INT32 xradius, TQ_INT32 yradius);
+ void shrink (TQ_INT32 xradius, TQ_INT32 yradius, bool edge_lock);
+ void border(TQ_INT32 xradius, TQ_INT32 yradius);
// the following functions are needed for the siox tool
// they might be also usefull on its own
void erode();
void dilate();
private:
- void fill(const KisColor& color, bool fillWithPattern, const QString& transactionText);
+ void fill(const KisColor& color, bool fillWithPattern, const TQString& transactionText);
- void computeBorder (Q_INT32 *circ, Q_INT32 xradius, Q_INT32 yradius);
- inline void rotatePointers (Q_UINT8 **p, Q_UINT32 n);
- void computeTransition (Q_UINT8* transition, Q_UINT8** buf, Q_INT32 width);
+ void computeBorder (TQ_INT32 *circ, TQ_INT32 xradius, TQ_INT32 yradius);
+ inline void rotatePointers (TQ_UINT8 **p, TQ_UINT32 n);
+ void computeTransition (TQ_UINT8* transition, TQ_UINT8** buf, TQ_INT32 width);
KisView * m_parent;
KisDoc * m_doc;
@@ -129,7 +130,7 @@ private:
KAction *m_fillPattern;
KToggleAction *m_toggleDisplaySelection;
- QPtrList<KAction> m_pluginActions;
+ TQPtrList<KAction> m_pluginActions;
};