update can take a rect
svn path=/trunk/KDE/kdebase/runtime/; revision=1048754
This commit is contained in:
parent
34a21dc5ef
commit
61a1288379
@ -109,9 +109,9 @@ void AppletInterface::setConfigurationRequired(bool needsConfiguring, const QStr
|
||||
m_appletScriptEngine->setConfigurationRequired(needsConfiguring, reason);
|
||||
}
|
||||
|
||||
void AppletInterface::update()
|
||||
void AppletInterface::update(const QRectF &rect)
|
||||
{
|
||||
applet()->update();
|
||||
applet()->update(rect);
|
||||
}
|
||||
|
||||
QString AppletInterface::activeConfig() const
|
||||
|
@ -198,7 +198,7 @@ enum QtAlignment {
|
||||
|
||||
Q_INVOKABLE void setPreferredSize(qreal w, qreal h);
|
||||
|
||||
Q_INVOKABLE void update();
|
||||
Q_INVOKABLE void update(const QRectF &rect = QRectF());
|
||||
|
||||
Q_INVOKABLE QString activeConfig() const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user