Plasma
wallpaperscript.cpp
Go to the documentation of this file.
virtual void initWallpaper(const KConfigGroup &config)
This method is called once the wallpaper is loaded or mode is changed.
Definition: wallpaperscript.cpp:77
void setContextualActions(const QList< QAction * > &actions)
Definition: wallpaperscript.cpp:200
void setConfigurationRequired(bool needsConfiguring, const QString &reason=QString())
Definition: wallpaperscript.cpp:163
void configNeedsSaving()
Definition: wallpaperscript.cpp:214
Wallpaper * wallpaper() const
Returns the Plasma::Wallpaper associated with this script component.
Definition: wallpaperscript.cpp:54
void insertIntoCache(const QString &key, const QImage &image)
Definition: wallpaperscript.cpp:193
void setTargetSizeHint(const QSizeF &targetSize)
Definition: wallpaperscript.cpp:156
ResizeMethod
Various resize modes supported by the built in image renderer.
Definition: wallpaper.h:74
void setUsingRenderingCache(bool useCache)
Definition: wallpaperscript.cpp:178
WallpaperScript(QObject *parent=0)
Default constructor for a WallpaperScript.
Definition: wallpaperscript.cpp:34
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 save(KConfigGroup &config)
This method is called when settings need to be saved.
Definition: wallpaperscript.cpp:88
The base class for scripting interfaces to be used in loading plasmoids of a given language...
Definition: scriptengine.h:65
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event)
Mouse move event.
Definition: wallpaperscript.cpp:99
bool findInCache(const QString &key, QImage &image, unsigned int lastModified=0)
Definition: wallpaperscript.cpp:185
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 update(const QRectF &exposedArea)
Definition: wallpaperscript.cpp:207
virtual void wheelEvent(QGraphicsSceneWheelEvent *event)
Mouse wheel event.
Definition: wallpaperscript.cpp:114
virtual void paint(QPainter *painter, const QRectF &exposedRect)
This method is called when the wallpaper should be painted.
Definition: wallpaperscript.cpp:82
QRectF boundingRect() const
Definition: wallpaperscript.cpp:135
void setWallpaper(Wallpaper *wallpaper)
Sets the Plasma::Wallpaper associated with this WallpaperScript.
Definition: wallpaperscript.cpp:45
KPluginInfo description() const
Definition: wallpaperscript.cpp:71
bool isInitialized() const
Definition: wallpaperscript.cpp:127
void setResizeMethodHint(Wallpaper::ResizeMethod resizeMethod)
Definition: wallpaperscript.cpp:149
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Mouse release event.
Definition: wallpaperscript.cpp:109
DataEngine * dataEngine(const QString &name) const
Definition: wallpaperscript.cpp:143
virtual void renderCompleted(const QImage &image)
Definition: wallpaperscript.cpp:221
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event)
Mouse press event.
Definition: wallpaperscript.cpp:104
virtual void urlDropped(const KUrl &url)
Definition: wallpaperscript.cpp:226
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.