KGuiAddons
kcolormimedata.cpp
KGUIADDONS_EXPORT QDrag * createDrag(const QColor &color, QObject *dragsource)
Creates a color drag object.
Definition kcolormimedata.cpp:46
KGUIADDONS_EXPORT QColor fromMimeData(const QMimeData *mimeData)
Decodes the MIME data mimeData and returns the resulting color.
Definition kcolormimedata.cpp:35
KGUIADDONS_EXPORT bool canDecode(const QMimeData *mimeData)
Returns true if the MIME data mimeData contains a color object.
Definition kcolormimedata.cpp:21
KGUIADDONS_EXPORT 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:15
QString name(NameFormat format) const const
void setHotSpot(const QPoint &hotspot)
void setMimeData(QMimeData *data)
void setPixmap(const QPixmap &pixmap)
QVariant colorData() const const
bool hasColor() const const
bool hasText() const const
void setColorData(const QVariant &color)
void setText(const QString &text)
QString text() const const
void drawRect(const QRect &rectangle)
bool end()
void setPen(Qt::PenStyle style)
void fill(const QColor &color)
qsizetype length() const const
black
T value() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.