Libplasma
containmentitem.h
69 * Process the mime data arrived to a particular coordinate, either with a drag and drop or paste with middle mouse button
71 Q_INVOKABLE void processMimeData(QMimeData *data, int x, int y, KIO::DropJob *dropJob = nullptr);
74 * Process the mime data arrived to a particular coordinate, either with a drag and drop or paste with middle mouse button
134 Plasma::Applet *createApplet(const QString &plugin, const QVariantList &args, const QRectF &geom);
This class is exposed to containments QML as the attached property Plasmoid.
Definition containmentitem.h:36
Q_INVOKABLE QObject * containmentItemAt(int x, int y)
Search for a containment at those coordinates.
Definition containmentitem.cpp:165
bool loading
True if the UI is still loading, for instance a desktop which doesn't have its wallpaper yet.
Definition containmentitem.h:44
Q_INVOKABLE QPointF adjustToAvailableScreenRegion(int x, int y, int w, int h) const
Given a geometry, it adjusts it moving it completely inside of the boundaries of availableScreenRegio...
Definition containmentitem.cpp:219
Q_INVOKABLE AppletQuickItem * itemFor(Plasma::Applet *applet) const
Returns the corresponding PlasmoidItem of one of its applets.
Definition containmentitem.cpp:135
Q_INVOKABLE QPointF mapToApplet(Plasma::Applet *applet, int x, int y)
Map coordinates from relative to this containment to relative to the given applet.
Definition containmentitem.cpp:203
Q_INVOKABLE void processMimeData(QMimeData *data, int x, int y, KIO::DropJob *dropJob=nullptr)
Process the mime data arrived to a particular coordinate, either with a drag and drop or paste with m...
Definition containmentitem.cpp:351
Q_INVOKABLE void openContextMenu(const QPointF &globalPos)
Opens the context menu of the Corona.
Definition containmentitem.cpp:331
Q_INVOKABLE QPointF mapFromApplet(Plasma::Applet *applet, int x, int y)
Map coordinates from relative to the given applet to relative to this containment.
Definition containmentitem.cpp:189
This class is exposed to wallpapers as the WallpaperItem root qml item.
Definition wallpaperitem.h:38
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
T * data() const const
ItemChange
parent
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:34:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:34:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.