summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kiviodragobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kiviodragobject.h')
-rw-r--r--kivio/kiviopart/kiviodragobject.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/kivio/kiviopart/kiviodragobject.h b/kivio/kiviopart/kiviodragobject.h
index 790b0efe..99d632f7 100644
--- a/kivio/kiviopart/kiviodragobject.h
+++ b/kivio/kiviopart/kiviodragobject.h
@@ -20,35 +20,36 @@
#ifndef KIVIODRAGOBJECT_H
#define KIVIODRAGOBJECT_H
-#include <qdragobject.h>
-#include <qptrlist.h>
+#include <tqdragobject.h>
+#include <tqptrlist.h>
#include "kivio_stencil.h"
#include <KoRect.h>
class KivioPage;
-class KivioDragObject : public QDragObject
+class KivioDragObject : public TQDragObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- KivioDragObject(QWidget* dragSource = 0, const char* name = 0);
+ KivioDragObject(TQWidget* dragSource = 0, const char* name = 0);
const char* format(int i) const;
- QByteArray encodedData(const char* mimetype) const;
- bool canDecode(QMimeSource*);
- bool decode(QMimeSource* e, QPtrList<KivioStencil>& sl, KivioPage* page);
- void setStencilList(QPtrList<KivioStencil> l);
+ TQByteArray tqencodedData(const char* mimetype) const;
+ bool canDecode(TQMimeSource*);
+ bool decode(TQMimeSource* e, TQPtrList<KivioStencil>& sl, KivioPage* page);
+ void setStencilList(TQPtrList<KivioStencil> l);
void setStencilRect(KoRect r);
protected:
- QByteArray kivioEncoded() const;
- QByteArray imageEncoded(const char* mimetype) const;
+ TQByteArray kivioEncoded() const;
+ TQByteArray imageEncoded(const char* mimetype) const;
private:
enum { NumEncodeFormats = 2 };
- QCString m_encodeMimeList[NumEncodeFormats];
- QPtrList<KivioStencil> m_stencilList;
+ TQCString m_encodeMimeList[NumEncodeFormats];
+ TQPtrList<KivioStencil> m_stencilList;
KoRect m_stencilRect;
};