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:
Davide Bettio 2008-04-27 11:23:09 +00:00
parent 8cd95e4ae7
commit 7672b1620c
3 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -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);
}

View File

@ -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.