KDEUI
kcolormimedata.cpp
Go to the documentation of this file.
void setHotSpot(const QPoint &hotspot)
bool end()
void fill(const QColor &color)
void setMimeData(QMimeData *data)
QString name() const
bool canDecode(const QMimeData *mimeData)
Returns true if the MIME data mimeData contains a color object.
Definition: kcolormimedata.cpp:36
void setColorData(const QVariant &color)
void setPixmap(const QPixmap &pixmap)
T value() const
bool hasText() const
void drawRect(const QRectF &rectangle)
QString text() const
void setPen(const QColor &color)
void setText(const QString &text)
QVariant colorData() const
QDrag * createDrag(const QColor &color, QWidget *dragsource)
Creates a color drag object.
Definition: kcolormimedata.cpp:61
QColor fromMimeData(const QMimeData *mimeData)
Decodes the MIME data mimeData and returns the resulting color.
Definition: kcolormimedata.cpp:50
void populateMimeData(QMimeData *mimeData, const QColor &color)
Sets the color and text representation fields for the specified color in the mimedata object: applica...
Definition: kcolormimedata.cpp:29
int length() const
bool hasColor() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 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:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.