summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexidragobjects.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/core/kexidragobjects.h')
-rw-r--r--kexi/core/kexidragobjects.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/kexi/core/kexidragobjects.h b/kexi/core/kexidragobjects.h
index 9b7a42ec..26e2b24f 100644
--- a/kexi/core/kexidragobjects.h
+++ b/kexi/core/kexidragobjects.h
@@ -21,61 +21,61 @@
#ifndef KEXI_DRAGOBJECTS_H_
#define KEXI_DRAGOBJECTS_H_
-#include <qdragobject.h>
+#include <tqdragobject.h>
-class QString;
-class QStringList;
-class QWidget;
+class TQString;
+class TQStringList;
+class TQWidget;
//! Drag object containing information about field(s).
-class KEXICORE_EXPORT KexiFieldDrag : public QStoredDrag
+class KEXICORE_EXPORT KexiFieldDrag : public TQStoredDrag
{
public:
/*! Creates drag object for a single field \a field. */
- KexiFieldDrag(const QString& sourceMimeType, const QString& sourceName,
- const QString& field, QWidget *parent, const char *name);
+ KexiFieldDrag(const TQString& sourceMimeType, const TQString& sourceName,
+ const TQString& field, TQWidget *tqparent, const char *name);
/*! Creates drag object for multiple fields \a fields.
If there's less than two elements in the list, data is set up as for above ctor. */
- KexiFieldDrag(const QString& sourceMimeType, const QString& sourceName,
- const QStringList& field, QWidget *parent=0, const char *name=0);
+ KexiFieldDrag(const TQString& sourceMimeType, const TQString& sourceName,
+ const TQStringList& field, TQWidget *tqparent=0, const char *name=0);
~KexiFieldDrag();
- void addField(const QString& field);
+ void addField(const TQString& field);
- /*! \return true if event \a e (of class QDragMoveEvent or QDropEvent)
+ /*! \return true if event \a e (of class TQDragMoveEvent or TQDropEvent)
can be decoded as "kexi/field" data */
- static bool canDecodeSingle( QMimeSource* e );
+ static bool canDecodeSingle( TQMimeSource* e );
- /*! \return true if event \a e (of class QDragMoveEvent or QDropEvent)
+ /*! \return true if event \a e (of class TQDragMoveEvent or TQDropEvent)
can be decoded as "kexi/fields" data. If decoding of "kexi/field"
type is supported, decoding of "kexi/fields" is always supported.
*/
- static bool canDecodeMultiple( QMimeSource* e );
+ static bool canDecodeMultiple( TQMimeSource* e );
/*! Decodes data of single-field drag ("kexi/field" mime type) coming with event \a e.
Sets \a sourceMimeType, \a sourceName and \a field.
\return true on successful decoding (\a e will be accepted in such case). */
- static bool decodeSingle( QDropEvent* e, QString& sourceMimeType,
- QString& sourceName, QString& field );
+ static bool decodeSingle( TQDropEvent* e, TQString& sourceMimeType,
+ TQString& sourceName, TQString& field );
/*! Decodes data of multiple-field drag ("kexi/fields" mime type) coming with event \a e.
Sets \a sourceMimeType, \a sourceName and \a fields. Also works with "kexi/field" data.
\return true on successful decoding (\a e will be accepted in such case). */
- static bool decodeMultiple( QDropEvent* e, QString& sourceMimeType,
- QString& sourceName, QStringList& fields );
+ static bool decodeMultiple( TQDropEvent* e, TQString& sourceMimeType,
+ TQString& sourceName, TQStringList& fields );
};
-class KEXICORE_EXPORT KexiDataProviderDrag : public QStoredDrag
+class KEXICORE_EXPORT KexiDataProviderDrag : public TQStoredDrag
{
public:
- KexiDataProviderDrag(const QString& sourceMimeType, const QString& sourceName,
- QWidget *parent=0, const char *name=0);
+ KexiDataProviderDrag(const TQString& sourceMimeType, const TQString& sourceName,
+ TQWidget *tqparent=0, const char *name=0);
~KexiDataProviderDrag() { };
- static bool canDecode( QDragMoveEvent* e);
- static bool decode( QDropEvent* e, QString& sourceMimeType, QString& sourceName);
+ static bool canDecode( TQDragMoveEvent* e);
+ static bool decode( TQDropEvent* e, TQString& sourceMimeType, TQString& sourceName);
};