remove some empty reimplemented methods

This commit is contained in:
Aaron Seigo 2011-05-28 00:33:12 +02:00
parent 4cc44f6a92
commit a4dbbf60ea
4 changed files with 1 additions and 19 deletions

View File

@ -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) {

View File

@ -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

View File

@ -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

View File

@ -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);
/**