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*)));
313Containment *View::swapContainment(Plasma::Containment *existing, const QString &name, const QVariantList &args)
The base class for plugins that provide backgrounds and applet grouping containers.
Definition containment.h:73
void setScreen(int screen, int desktop=-1)
Sets the physical screen this Containment is associated with.
Definition containment.cpp:955
void removeAssociatedWidget(QWidget *widget)
un-associate actions from this widget, including ones added after this call.
Definition containment.cpp:1782
void addAssociatedWidget(QWidget *widget)
associate actions with this widget, including ones added after this call.
Definition containment.cpp:1768
void containmentAdded(Plasma::Containment *containment)
This signal indicates a new containment has been added to the Corona.
void requestConfigSync()
Schedules a flush-to-disk synchronization of the configuration state at the next convenient moment.
Definition corona.cpp:156
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
Containment * containmentForScreen(int screen, int desktop=-1) const
Returns the Containment, if any, for a given physical screen and desktop.
Definition corona.cpp:296
void setWallpaperEnabled(bool draw)
Sets whether or not to draw the containment wallpaper when painting on this item.
Definition view.cpp:392
void setTrackContainmentChanges(bool trackChanges)
Set whether or not the view should adjust its size when the associated containment does.
Definition view.cpp:402
void setScreen(int screen, int desktop=-1)
Sets which screen this view is associated with, if any.
Definition view.cpp:173
int effectiveDesktop() const
The virtual desktop this view is actually being viewed on.
Definition view.cpp:221
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 configNeedsSaving() const
Requests that the config be synchronized to disk.
Definition view.cpp:376
void sceneRectChanged()
This signal is emitted whenever the containment being viewed has changed its geometry,...
View(Containment *containment, QWidget *parent=0)
Constructs a view for a given contanment.
Definition view.cpp:139
void lostContainment()
This is emitted after the containment is destroyed, for views that need to do something about it (lik...
void sceneRectAboutToChange()
This signal is emitted whenever the containment being viewed has changed its geometry,...
Containment * swapContainment(Plasma::Containment *existing, const QString &name, const QVariantList &args=QVariantList())
Swaps one containment with another.
Definition view.cpp:313
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.