From d7e13e62ae0a2821e791b63f26cd1b9fac80714d Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Fri, 20 May 2011 08:53:53 +0200 Subject: [PATCH] remove geometryChanged, it's in QGraphicsWidget these days --- applet.cpp | 8 -------- applet.h | 12 ------------ 2 files changed, 20 deletions(-) diff --git a/applet.cpp b/applet.cpp index 17e604f15..3bcd4d113 100644 --- a/applet.cpp +++ b/applet.cpp @@ -2925,14 +2925,6 @@ void AppletOverlayWidget::paint(QPainter *painter, painter->fillPath(backgroundShape, wash); } -#if QT_VERSION >= 0x040700 -// in QGraphicsWidget now; preserve BC by implementing it as a protected method -void Applet::geometryChanged() -{ - emit QGraphicsWidget::geometryChanged(); -} -#endif - } // Plasma namespace #include "applet.moc" diff --git a/applet.h b/applet.h index 89704527c..415fc7d05 100644 --- a/applet.h +++ b/applet.h @@ -720,18 +720,6 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget */ void releaseVisualFocus(); -#if QT_VERSION >= 0x040700 - protected: - void geometryChanged(); // in QGraphicsWidget now; preserve BC -#else - /** - * Emitted whenever the applet makes a geometry change, so that views - * can coordinate themselves with these changes if they desire. - */ - void geometryChanged(); -#endif - - Q_SIGNALS: /** * Emitted when the user completes a transformation of the applet. */