remove some empty reimplemented methods
This commit is contained in:
parent
4cc44f6a92
commit
a4dbbf60ea
@ -1741,11 +1741,6 @@ KActionCollection* AppletPrivate::defaultActions(QObject *parent)
|
||||
return actions;
|
||||
}
|
||||
|
||||
bool Applet::eventFilter(QObject *o, QEvent *e)
|
||||
{
|
||||
return QObject::eventFilter(o, e);
|
||||
}
|
||||
|
||||
bool Applet::sceneEventFilter(QGraphicsItem *watched, QEvent *event)
|
||||
{
|
||||
if (watched == this) {
|
||||
|
7
applet.h
7
applet.h
@ -1023,15 +1023,10 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
|
||||
*/
|
||||
Extender *extender() const;
|
||||
|
||||
/**
|
||||
* @internal event filter; used for focus watching
|
||||
**/
|
||||
bool eventFilter(QObject *o, QEvent *e);
|
||||
|
||||
/**
|
||||
* @internal scene event filter; used to manage applet dragging
|
||||
*/
|
||||
bool sceneEventFilter (QGraphicsItem *watched, QEvent *event);
|
||||
bool sceneEventFilter(QGraphicsItem *watched, QEvent *event);
|
||||
|
||||
/**
|
||||
* @internal manage the mouse movement to drag the applet around
|
||||
|
@ -1685,13 +1685,6 @@ void Containment::wheelEvent(QGraphicsSceneWheelEvent *event)
|
||||
}
|
||||
}
|
||||
|
||||
bool Containment::sceneEventFilter(QGraphicsItem *watched, QEvent *event)
|
||||
{
|
||||
Q_UNUSED(watched)
|
||||
Q_UNUSED(event)
|
||||
return false;
|
||||
}
|
||||
|
||||
QVariant Containment::itemChange(GraphicsItemChange change, const QVariant &value)
|
||||
{
|
||||
//FIXME if the applet is moved to another containment we need to unfocus it
|
||||
|
@ -550,7 +550,6 @@ Q_SIGNALS:
|
||||
void contextMenuEvent(QGraphicsSceneContextMenuEvent *event);
|
||||
void keyPressEvent(QKeyEvent *event);
|
||||
void wheelEvent(QGraphicsSceneWheelEvent *event);
|
||||
bool sceneEventFilter(QGraphicsItem *watched, QEvent *event);
|
||||
QVariant itemChange(GraphicsItemChange change, const QVariant &value);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user