Plasma
view.cpp
Go to the documentation of this file.
236 disconnect(d->containment, SIGNAL(screenChanged(int,int,Plasma::Containment*)), this, SLOT(containmentScreenChanged(int,int,Plasma::Containment*)));
283 (!containment || otherScreen != containment->screen() || otherDesktop != containment->desktop())) {
285 //kDebug() << "set screen from setContainment" << screen << otherScreen << desktop << otherDesktop;
300 connect(containment, SIGNAL(screenChanged(int,int,Plasma::Containment*)), this, SLOT(containmentScreenChanged(int,int,Plasma::Containment*)));
313 Containment *View::swapContainment(Plasma::Containment *existing, const QString &name, const QVariantList &args)
void destroy()
Destroys this containment and all its applets (after a confirmation dialog); it will be removed nicel...
Definition: containment.cpp:2053
void configNeedsSaving() const
Requests that the config be synchronized to disk.
Definition: view.cpp:376
virtual void setContainment(Plasma::Containment *containment)
Sets the containment for this view, which will also cause the view to track the geometry of the conta...
Definition: view.cpp:227
void setTrackContainmentChanges(bool trackChanges)
Set whether or not the view should adjust its size when the associated containment does...
Definition: view.cpp:402
Corona * corona() const
Returns the Corona (if any) that this Containment is hosted by.
Definition: containment.cpp:525
View(Containment *containment, QWidget *parent=0)
Constructs a view for a given contanment.
Definition: view.cpp:139
Containment * swapContainment(Plasma::Containment *existing, const QString &name, const QVariantList &args=QVariantList())
Swaps one containment with another.
Definition: view.cpp:313
void setScreen(int screen, int desktop=-1)
Sets the physical screen this Containment is associated with.
Definition: containment.cpp:955
void requestConfigSync()
Schedules a flush-to-disk synchronization of the configuration state at the next convenient moment...
Definition: corona.cpp:156
void setScreen(int screen, int desktop=-1)
Sets which screen this view is associated with, if any.
Definition: view.cpp:173
void containmentAdded(Plasma::Containment *containment)
This signal indicates a new containment has been added to the Corona.
KConfigGroup config() const
Returns the KConfigGroup to access the applets configuration.
Definition: applet.cpp:450
A customized desktop panel.
Definition: containment.h:105
Containment * addContainmentDelayed(const QString &name, const QVariantList &args=QVariantList())
Loads a containment with delayed initialization, primarily useful for implementations of loadDefaultL...
Definition: corona.cpp:358
void updateConstraints(Plasma::Constraints constraints=Plasma::AllConstraints)
Called when any of the geometry constraints have been updated.
Definition: applet.cpp:750
Containment * containmentForScreen(int screen, int desktop=-1) const
Returns the Containment, if any, for a given physical screen and desktop.
Definition: corona.cpp:296
The base class for plugins that provide backgrounds and applet grouping containers.
Definition: containment.h:72
int effectiveDesktop() const
The virtual desktop this view is actually being viewed on.
Definition: view.cpp:221
void setWallpaperEnabled(bool draw)
Sets whether or not to draw the containment wallpaper when painting on this item. ...
Definition: view.cpp:392
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.