put notmart out of his misery on this one =) let containment tell the world when it's context changes

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857852
This commit is contained in:
Aaron J. Seigo 2008-09-06 16:29:47 +00:00
parent 6fbfe14609
commit f5168c65de
2 changed files with 7 additions and 0 deletions

View File

@ -1269,6 +1269,8 @@ Context* ContainmentPrivate::context()
{ {
if (!con) { if (!con) {
con = new Context(q); con = new Context(q);
q->connect(con, SIGNAL(changed(Plasma::Context*)),
q, SIGNAL(contextChanged(Plasma::Context*)));
} }
return con; return con;

View File

@ -373,6 +373,11 @@ class PLASMA_EXPORT Containment : public Applet
*/ */
void configureRequested(); void configureRequested();
/**
* The activity associated to this containemnt has changed
*/
void contextChanged(Plasma::Context *context);
public Q_SLOTS: public Q_SLOTS:
/** /**
* Informs the Corona as to what position it is in. This is informational * Informs the Corona as to what position it is in. This is informational