constraintsUpdated() -> constraintsEvent()
Probably it should be protected and we need also updateConstraints() like in applet. svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801661
This commit is contained in:
parent
8cd95e4ae7
commit
7672b1620c
@ -676,7 +676,7 @@ void Applet::constraintsEvent(Plasma::Constraints constraints)
|
||||
Q_UNUSED(constraints)
|
||||
//kDebug() << constraints << "constraints are FormFactor: " << formFactor() << ", Location: " << location();
|
||||
if (d->script) {
|
||||
d->script->constraintsUpdated(constraints);
|
||||
d->script->constraintsEvent(constraints);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -70,7 +70,7 @@ QSizeF AppletScript::size() const
|
||||
return QSizeF();
|
||||
}
|
||||
|
||||
void AppletScript::constraintsUpdated(Plasma::Constraints constraints)
|
||||
void AppletScript::constraintsEvent(Plasma::Constraints constraints)
|
||||
{
|
||||
Q_UNUSED(constraints);
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ public:
|
||||
*
|
||||
* @param constraints the type of constraints that were updated
|
||||
*/
|
||||
virtual void constraintsUpdated(Plasma::Constraints constraints);
|
||||
virtual void constraintsEvent(Plasma::Constraints constraints);
|
||||
|
||||
/**
|
||||
* Returns a list of context-related QAction instances.
|
||||
|
Loading…
Reference in New Issue
Block a user