diff options
| author | Peter Penz <[email protected]> | 2008-08-05 20:15:51 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-08-05 20:15:51 +0000 |
| commit | 7308c7d03e182795d6b64d85a3f0725d8af32436 (patch) | |
| tree | 4d7414dccbfbf6d28864ee2bb3615b3a27a59b26 /src/dolphincolumnview.h | |
| parent | 208549cefcd47b4454b8e38b2c5cb12b82189b7b (diff) | |
First step of refactoring to improve the zooming capabilities of views:
* Let classes that use DolphinView know about the currently used zoom level.
* Provide more zoom levels for all views (the settings dialogs have not been adjusted yet).
* Fixed issue that when using the wheel that the enabled state of the zoom actions has not been updated.
svn path=/trunk/KDE/kdebase/apps/; revision=842715
Diffstat (limited to 'src/dolphincolumnview.h')
| -rw-r--r-- | src/dolphincolumnview.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/dolphincolumnview.h b/src/dolphincolumnview.h index 24353ad34..c563888b9 100644 --- a/src/dolphincolumnview.h +++ b/src/dolphincolumnview.h @@ -130,8 +130,7 @@ protected: virtual void wheelEvent(QWheelEvent* event); private slots: - void zoomIn(); - void zoomOut(); + void setZoomLevel(int level); /** * Moves the content of the columns view to represent @@ -159,9 +158,6 @@ private slots: void slotShowPreviewChanged(); private: - bool isZoomInPossible() const; - bool isZoomOutPossible() const; - DolphinColumnWidget* activeColumn() const; /** |
