update can take a rect

svn path=/trunk/KDE/kdebase/runtime/; revision=1048754
This commit is contained in:
Aaron J. Seigo 2009-11-13 22:10:32 +00:00
parent 34a21dc5ef
commit 61a1288379
2 changed files with 3 additions and 3 deletions

View File

@ -109,9 +109,9 @@ void AppletInterface::setConfigurationRequired(bool needsConfiguring, const QStr
m_appletScriptEngine->setConfigurationRequired(needsConfiguring, reason); m_appletScriptEngine->setConfigurationRequired(needsConfiguring, reason);
} }
void AppletInterface::update() void AppletInterface::update(const QRectF &rect)
{ {
applet()->update(); applet()->update(rect);
} }
QString AppletInterface::activeConfig() const QString AppletInterface::activeConfig() const

View File

@ -198,7 +198,7 @@ enum QtAlignment {
Q_INVOKABLE void setPreferredSize(qreal w, qreal h); 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; Q_INVOKABLE QString activeConfig() const;