┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphincontroller.h')
-rw-r--r--src/dolphincontroller.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h
index 29dd7dfb1..ba1036060 100644
--- a/src/dolphincontroller.h
+++ b/src/dolphincontroller.h
@@ -73,6 +73,7 @@ class QWidget;
* - setShowPreview()
* - indicateActivationChange()
* - setZoomLevel()
+ * - triggerScrollToCurrentItem()
*/
class LIBDOLPHINPRIVATE_EXPORT DolphinController : public QObject
{
@@ -190,6 +191,12 @@ public:
int zoomLevel() const;
/**
+ * Triggers the view implementation to assure having a fully visible
+ * current item. The signal scrollToCurrentItem() will be emitted.
+ */
+ void triggerScrollToCurrentItem();
+
+ /**
* Tells the view implementation to zoom out by emitting the signal zoomOut()
* and is invoked by the abstract Dolphin view.
*/
@@ -369,6 +376,12 @@ signals:
*/
void hideToolTip();
+ /**
+ * Is emitted if the view implementation should scroll to the current item, so
+ * that it is fully visible.
+ */
+ void scrollToCurrentItem();
+
private slots:
void updateMouseButtonState();