]> cloud.milkyroute.net Git - dolphin.git/commitdiff
[KItemListController] Drop unused functions
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 2 Dec 2018 13:02:23 +0000 (14:02 +0100)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 2 Dec 2018 13:08:55 +0000 (14:08 +0100)
src/kitemviews/kitemlistcontroller.cpp
src/kitemviews/kitemlistcontroller.h

index bde2bb26c14b1985faf5d015398ec2258240a191..d3dbeb35ccdd369b36abd3488728c64f8df006c3 100644 (file)
@@ -210,18 +210,6 @@ bool KItemListController::singleClickActivationEnforced() const
     return m_singleClickActivationEnforced;
 }
 
-bool KItemListController::showEvent(QShowEvent* event)
-{
-    Q_UNUSED(event);
-    return false;
-}
-
-bool KItemListController::hideEvent(QHideEvent* event)
-{
-    Q_UNUSED(event);
-    return false;
-}
-
 bool KItemListController::keyPressEvent(QKeyEvent* event)
 {
     int index = m_selectionManager->currentItem();
index 2f84a6c2c3f2580ffb9acd0d6e9d255453ce74af..0abdb6795007aa3cbfd9ff616d79b3eb06b85afb 100644 (file)
@@ -40,10 +40,8 @@ class QGraphicsSceneDragDropEvent;
 class QGraphicsSceneMouseEvent;
 class QGraphicsSceneResizeEvent;
 class QGraphicsSceneWheelEvent;
-class QHideEvent;
 class QInputMethodEvent;
 class QKeyEvent;
-class QShowEvent;
 class QTransform;
 
 /**
@@ -136,8 +134,6 @@ public:
     void setSingleClickActivationEnforced(bool singleClick);
     bool singleClickActivationEnforced() const;
 
-    virtual bool showEvent(QShowEvent* event);
-    virtual bool hideEvent(QHideEvent* event);
     virtual bool keyPressEvent(QKeyEvent* event);
     virtual bool inputMethodEvent(QInputMethodEvent* event);
     virtual bool mousePressEvent(QGraphicsSceneMouseEvent* event, const QTransform& transform);