get rid of paintInterface
This commit is contained in:
parent
590cb7baa7
commit
b768f17c14
@ -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);
|
||||
|
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user