┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontroller.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-03-01 19:36:37 +0000
committerPeter Penz <[email protected]>2007-03-01 19:36:37 +0000
commita0cf8456fe171bd221025b3ff3677db4675390b5 (patch)
treef75d81bc2bdc5b7c80b816fe09e6ecbfc12a3db4 /src/dolphincontroller.h
parent84c32167c9c3082c7ce80ac613149a4f7596ba32 (diff)
Allow zooming in and zooming out in the icons view.
svn path=/trunk/KDE/kdebase/apps/; revision=638386
Diffstat (limited to 'src/dolphincontroller.h')
-rw-r--r--src/dolphincontroller.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h
index 08d12ea57..1bd283fd4 100644
--- a/src/dolphincontroller.h
+++ b/src/dolphincontroller.h
@@ -70,6 +70,14 @@ public:
void setShowPreview(bool showPreview);
bool showPreview() const { return m_showPreview; }
+ void triggerZoomIn();
+ void setZoomInPossible(bool possible) { m_zoomInPossible = possible; }
+ bool isZoomInPossible() const { return m_zoomInPossible; }
+
+ void triggerZoomOut();
+ void setZoomOutPossible(bool possible) { m_zoomOutPossible = possible; }
+ bool isZoomOutPossible() const { return m_zoomOutPossible; }
+
public slots:
void triggerItem(const QModelIndex& index);
void indicateSelectionChange();
@@ -121,8 +129,16 @@ signals:
/** Is emitted if the selection has been changed by the user. */
void selectionChanged();
+ /** Is emitted if the view should zoom in. */
+ void zoomIn();
+
+ /** Is emitted if the view should zoom out. */
+ void zoomOut();
+
private:
bool m_showPreview;
+ bool m_zoomInPossible;
+ bool m_zoomOutPossible;
KUrl m_url;
};