stub in where wallpaper loading will happen
This commit is contained in:
parent
46cf753b15
commit
e216e08a96
@ -392,13 +392,12 @@ ContainmentInterface::ContainmentInterface(AbstractJsAppletScript *parent)
|
|||||||
m_movableApplets(true)
|
m_movableApplets(true)
|
||||||
{
|
{
|
||||||
qmlRegisterType<ContainmentInterface>();
|
qmlRegisterType<ContainmentInterface>();
|
||||||
|
|
||||||
connect(containment(), SIGNAL(appletRemoved(Plasma::Applet *)), this, SLOT(appletRemovedForward(Plasma::Applet *)));
|
connect(containment(), SIGNAL(appletRemoved(Plasma::Applet *)), this, SLOT(appletRemovedForward(Plasma::Applet *)));
|
||||||
|
|
||||||
connect(containment(), SIGNAL(appletAdded(Plasma::Applet *, const QPointF &)), this, SLOT(appletAddedForward(Plasma::Applet *, const QPointF &)));
|
connect(containment(), SIGNAL(appletAdded(Plasma::Applet *, const QPointF &)), this, SLOT(appletAddedForward(Plasma::Applet *, const QPointF &)));
|
||||||
|
|
||||||
connect(containment(), SIGNAL(screenChanged(int, int, Plasma::Containment*)), this, SIGNAL(screenChanged()));
|
connect(containment(), SIGNAL(screenChanged(int, int, Plasma::Containment*)), this, SIGNAL(screenChanged()));
|
||||||
|
|
||||||
connect(containment(), SIGNAL(activityChanged()), this, SIGNAL(activityChanged()));
|
connect(containment(), SIGNAL(activityChanged()), this, SIGNAL(activityChanged()));
|
||||||
|
connect(containment(), SIGNAL(wallpaperChanged()), this, SLOT(loadWallpaper()));
|
||||||
|
|
||||||
if (containment()->corona()) {
|
if (containment()->corona()) {
|
||||||
connect(containment()->corona(), SIGNAL(availableScreenRegionChanged()),
|
connect(containment()->corona(), SIGNAL(availableScreenRegionChanged()),
|
||||||
@ -487,6 +486,11 @@ void ContainmentInterface::appletRemovedForward(Plasma::Applet *applet)
|
|||||||
emit appletRemoved(appletGraphicObject);
|
emit appletRemoved(appletGraphicObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ContainmentInterface::loadWallpaper()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
QString ContainmentInterface::activityName() const
|
QString ContainmentInterface::activityName() const
|
||||||
{
|
{
|
||||||
//TODO
|
//TODO
|
||||||
|
@ -369,6 +369,7 @@ Q_SIGNALS:
|
|||||||
protected Q_SLOTS:
|
protected Q_SLOTS:
|
||||||
void appletAddedForward(Plasma::Applet *applet, const QPointF &pos);
|
void appletAddedForward(Plasma::Applet *applet, const QPointF &pos);
|
||||||
void appletRemovedForward(Plasma::Applet *applet);
|
void appletRemovedForward(Plasma::Applet *applet);
|
||||||
|
void loadWallpaper();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool m_movableApplets;
|
bool m_movableApplets;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user