kexi
KexiFieldDrag Class Reference
#include <kexidragobjects.h>
Detailed Description
Drag object containing information about field(s).
Definition at line 31 of file kexidragobjects.h.
Public Member Functions | |
KexiFieldDrag (const QString &sourceMimeType, const QString &sourceName, const QString &field, QWidget *parent, const char *name) | |
KexiFieldDrag (const QString &sourceMimeType, const QString &sourceName, const QStringList &field, QWidget *parent=0, const char *name=0) | |
~KexiFieldDrag () | |
void | addField (const QString &field) |
Static Public Member Functions | |
static bool | canDecodeSingle (QMimeSource *e) |
static bool | canDecodeMultiple (QMimeSource *e) |
static bool | decodeSingle (QDropEvent *e, QString &sourceMimeType, QString &sourceName, QString &field) |
static bool | decodeMultiple (QDropEvent *e, QString &sourceMimeType, QString &sourceName, QStringList &fields) |
Constructor & Destructor Documentation
|
implementation of KexiFieldDrag Creates drag object for a single field field. Definition at line 29 of file kexidragobjects.cpp. |
|
Creates drag object for multiple fields fields. If there's less than two elements in the list, data is set up as for above ctor. Definition at line 39 of file kexidragobjects.cpp. |
Member Function Documentation
|
Definition at line 69 of file kexidragobjects.cpp. |
|
Definition at line 63 of file kexidragobjects.cpp. |
|
Decodes data of multiple-field drag ("kexi/fields" mime type) coming with event e. Sets sourceMimeType, sourceName and fields. Also works with "kexi/field" data.
Definition at line 91 of file kexidragobjects.cpp. |
|
Decodes data of single-field drag ("kexi/field" mime type) coming with event e. Sets sourceMimeType, sourceName and field.
Definition at line 75 of file kexidragobjects.cpp. |
The documentation for this class was generated from the following files: