KDE3Support
k3colordrag.cpp
Go to the documentation of this file.
virtual QByteArray encodedData(const char *format) const =0
bool end()
virtual const char * format(int i) const
QString name() const
virtual QByteArray encodedData(const char *format) const
virtual void setPixmap(QPixmap pm)
virtual QByteArray encodedData(const char *m) const
Definition: k3colordrag.cpp:63
int length() const
virtual void virtual_hook(int id, void *data)
Definition: k3colordrag.cpp:110
void setNamedColor(const QString &name)
void resize(int size)
void drawRect(const QRectF &rectangle)
void setPen(const QColor &color)
virtual void setEncodedData(const QByteArray &data)
static bool decode(QMimeSource *e, QColor &col)
Decodes the MIME source e and puts the resulting color into col.
Definition: k3colordrag.cpp:90
K3ColorDrag(QWidget *dragsource=0, const char *name=0)
Constructs a color drag with a white color.
Definition: k3colordrag.cpp:34
static K3ColorDrag * makeDrag(const QColor &, QWidget *dragsource)
Definition: k3colordrag.cpp:105
QByteArray toLatin1() const
bool decode(QMimeSource *source, QColor &color)
int length() const
char * data()
QString fromLatin1(const char *str, int size)
static bool canDecode(QMimeSource *e)
Returns true if the MIME source e contains a color object.
Definition: k3colordrag.cpp:77
int size() const
virtual bool provides(const char *mimeType) const
bool isValid() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.