stub in where wallpaper loading will happen

This commit is contained in:
Aaron Seigo 2013-02-06 15:27:59 +01:00
parent 46cf753b15
commit e216e08a96
2 changed files with 8 additions and 3 deletions

View File

@ -392,13 +392,12 @@ ContainmentInterface::ContainmentInterface(AbstractJsAppletScript *parent)
m_movableApplets(true)
{
qmlRegisterType<ContainmentInterface>();
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(screenChanged(int, int, Plasma::Containment*)), this, SIGNAL(screenChanged()));
connect(containment(), SIGNAL(activityChanged()), this, SIGNAL(activityChanged()));
connect(containment(), SIGNAL(wallpaperChanged()), this, SLOT(loadWallpaper()));
if (containment()->corona()) {
connect(containment()->corona(), SIGNAL(availableScreenRegionChanged()),
@ -487,6 +486,11 @@ void ContainmentInterface::appletRemovedForward(Plasma::Applet *applet)
emit appletRemoved(appletGraphicObject);
}
void ContainmentInterface::loadWallpaper()
{
}
QString ContainmentInterface::activityName() const
{
//TODO

View File

@ -369,6 +369,7 @@ Q_SIGNALS:
protected Q_SLOTS:
void appletAddedForward(Plasma::Applet *applet, const QPointF &pos);
void appletRemovedForward(Plasma::Applet *applet);
void loadWallpaper();
private:
bool m_movableApplets;