┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontroller.cpp
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.cpp
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.cpp')
-rw-r--r--src/dolphincontroller.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/dolphincontroller.cpp b/src/dolphincontroller.cpp
index e1d4c48e3..ea9c25211 100644
--- a/src/dolphincontroller.cpp
+++ b/src/dolphincontroller.cpp
@@ -21,7 +21,9 @@
DolphinController::DolphinController(QObject* parent) :
QObject(parent),
- m_showPreview(false)
+ m_showPreview(false),
+ m_zoomInPossible(false),
+ m_zoomOutPossible(false)
{
}
@@ -65,6 +67,16 @@ void DolphinController::setShowPreview(bool showPreview)
}
}
+void DolphinController::triggerZoomIn()
+{
+ emit zoomIn();
+}
+
+void DolphinController::triggerZoomOut()
+{
+ emit zoomOut();
+}
+
void DolphinController::triggerItem(const QModelIndex& index)
{
emit itemTriggered(index);