remove geometryChanged, it's in QGraphicsWidget these days
This commit is contained in:
parent
b9d4f2f042
commit
d7e13e62ae
@ -2925,14 +2925,6 @@ void AppletOverlayWidget::paint(QPainter *painter,
|
|||||||
painter->fillPath(backgroundShape, wash);
|
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
|
} // Plasma namespace
|
||||||
|
|
||||||
#include "applet.moc"
|
#include "applet.moc"
|
||||||
|
12
applet.h
12
applet.h
@ -720,18 +720,6 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
|
|||||||
*/
|
*/
|
||||||
void releaseVisualFocus();
|
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.
|
* Emitted when the user completes a transformation of the applet.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user