From b768f17c14520051a46541f9424ee4bb41ba6355 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 20 Aug 2013 18:19:39 +0200 Subject: [PATCH] get rid of paintInterface --- src/plasma/scripting/appletscript.cpp | 9 --------- src/plasma/scripting/appletscript.h | 12 ------------ 2 files changed, 21 deletions(-) diff --git a/src/plasma/scripting/appletscript.cpp b/src/plasma/scripting/appletscript.cpp index 1106891c9..f621a6ac3 100644 --- a/src/plasma/scripting/appletscript.cpp +++ b/src/plasma/scripting/appletscript.cpp @@ -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); diff --git a/src/plasma/scripting/appletscript.h b/src/plasma/scripting/appletscript.h index 0bdd99645..857aa8f81 100644 --- a/src/plasma/scripting/appletscript.h +++ b/src/plasma/scripting/appletscript.h @@ -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. *