Plasma
wallpaperscript.h
Go to the documentation of this file.
This class provides a generic API for write access to settings or services.
Definition service.h:92
Wallpaper * wallpaper() const
Returns the Plasma::Wallpaper associated with this script component.
Definition wallpaperscript.cpp:54
virtual void paint(QPainter *painter, const QRectF &exposedRect)
This method is called when the wallpaper should be painted.
Definition wallpaperscript.cpp:82
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event)
Mouse move event.
Definition wallpaperscript.cpp:99
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Mouse release event.
Definition wallpaperscript.cpp:109
void configNeedsSaving()
Definition wallpaperscript.cpp:214
void setResizeMethodHint(Wallpaper::ResizeMethod resizeMethod)
Definition wallpaperscript.cpp:149
void insertIntoCache(const QString &key, const QImage &image)
Definition wallpaperscript.cpp:193
virtual QWidget * createConfigurationInterface(QWidget *parent)
Returns a widget that can be used to configure the options (if any) associated with this wallpaper.
Definition wallpaperscript.cpp:93
virtual void renderCompleted(const QImage &image)
Definition wallpaperscript.cpp:221
KPluginInfo description() const
Definition wallpaperscript.cpp:71
virtual void urlDropped(const KUrl &url)
Definition wallpaperscript.cpp:226
DataEngine * dataEngine(const QString &name) const
Definition wallpaperscript.cpp:143
void update(const QRectF &exposedArea)
Definition wallpaperscript.cpp:207
void render(const QString &sourceImagePath, const QSize &size, Wallpaper::ResizeMethod resizeMethod=Plasma::Wallpaper::ScaledResize, const QColor &color=QColor(0, 0, 0))
Definition wallpaperscript.cpp:170
void setUsingRenderingCache(bool useCache)
Definition wallpaperscript.cpp:178
virtual void initWallpaper(const KConfigGroup &config)
This method is called once the wallpaper is loaded or mode is changed.
Definition wallpaperscript.cpp:77
virtual void save(KConfigGroup &config)
This method is called when settings need to be saved.
Definition wallpaperscript.cpp:88
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event)
Mouse press event.
Definition wallpaperscript.cpp:104
void setConfigurationRequired(bool needsConfiguring, const QString &reason=QString())
Definition wallpaperscript.cpp:163
void setTargetSizeHint(const QSizeF &targetSize)
Definition wallpaperscript.cpp:156
bool findInCache(const QString &key, QImage &image, unsigned int lastModified=0)
Definition wallpaperscript.cpp:185
void setWallpaper(Wallpaper *wallpaper)
Sets the Plasma::Wallpaper associated with this WallpaperScript.
Definition wallpaperscript.cpp:45
WallpaperScript(QObject *parent=0)
Default constructor for a WallpaperScript.
Definition wallpaperscript.cpp:34
void setContextualActions(const QList< QAction * > &actions)
Definition wallpaperscript.cpp:200
virtual void wheelEvent(QGraphicsSceneWheelEvent *event)
Mouse wheel event.
Definition wallpaperscript.cpp:114
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.