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:
parent
6fbfe14609
commit
f5168c65de
@ -1269,6 +1269,8 @@ Context* ContainmentPrivate::context()
|
||||
{
|
||||
if (!con) {
|
||||
con = new Context(q);
|
||||
q->connect(con, SIGNAL(changed(Plasma::Context*)),
|
||||
q, SIGNAL(contextChanged(Plasma::Context*)));
|
||||
}
|
||||
|
||||
return con;
|
||||
|
@ -373,6 +373,11 @@ class PLASMA_EXPORT Containment : public Applet
|
||||
*/
|
||||
void configureRequested();
|
||||
|
||||
/**
|
||||
* The activity associated to this containemnt has changed
|
||||
*/
|
||||
void contextChanged(Plasma::Context *context);
|
||||
|
||||
public Q_SLOTS:
|
||||
/**
|
||||
* Informs the Corona as to what position it is in. This is informational
|
||||
|
Loading…
Reference in New Issue
Block a user