get rid of paintInterface

This commit is contained in:
Marco Martin 2013-08-20 18:19:39 +02:00
parent 590cb7baa7
commit b768f17c14
2 changed files with 0 additions and 21 deletions

View File

@ -57,15 +57,6 @@ Applet *AppletScript::applet() const
return d->applet;
}
void AppletScript::paintInterface(QPainter *painter,
const QStyleOptionGraphicsItem *option,
const QRect &contentsRect)
{
Q_UNUSED(painter);
Q_UNUSED(option);
Q_UNUSED(contentsRect);
}
void AppletScript::constraintsEvent(Plasma::Types::Constraints constraints)
{
Q_UNUSED(constraints);

View File

@ -71,18 +71,6 @@ public:
*/
Plasma::Applet *applet() const;
/**
* Called when the script should paint the applet
*
* @param painter the QPainter to use
* @param option the style option containing such flags as selection, level of detail, etc
* @param contentsRect the rect to paint within; automatically adjusted for
* the background, if any
*/
virtual void paintInterface(QPainter *painter,
const QStyleOptionGraphicsItem *option,
const QRect &contentsRect);
/**
* Called when any of the geometry constraints have been updated.
*