From dcac8012b6a2e63bf7526d8c27d2442906afed32 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 28 Jul 2007 22:27:58 +0000 Subject: temporary fixes until MultiSelection will be implemented svn path=/trunk/KDE/kdebase/apps/; revision=693752 --- src/dolphincolumnview.h | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'src/dolphincolumnview.h') diff --git a/src/dolphincolumnview.h b/src/dolphincolumnview.h index 274b71195..59bb805fe 100644 --- a/src/dolphincolumnview.h +++ b/src/dolphincolumnview.h @@ -46,6 +46,7 @@ protected: virtual void mousePressEvent(QMouseEvent* event); virtual void dragEnterEvent(QDragEnterEvent* event); virtual void dropEvent(QDropEvent* event); + virtual void showEvent(QShowEvent* event); private slots: void zoomIn(); @@ -59,15 +60,13 @@ private slots: */ void updateColumnsState(const KUrl& url); -private: - bool isZoomInPossible() const; - bool isZoomOutPossible() const; - /** - * Requests the activation for the column \a column. The URL - * navigator will be changed to represent the column. + * Updates the size of the decoration dependent on the + * icon size of the ColumnModeSettings. The controller + * will get informed about possible zoom in/zoom out + * operations. */ - void requestActivation(QWidget* column); + void updateDecorationSize(); /** * Updates the selections of all columns to assure that @@ -76,13 +75,15 @@ private: */ void updateSelections(); +private: + bool isZoomInPossible() const; + bool isZoomOutPossible() const; + /** - * Updates the size of the decoration dependent on the - * icon size of the ColumnModeSettings. The controller - * will get informed about possible zoom in/zoom out - * operations. + * Requests the activation for the column \a column. The URL + * navigator will be changed to represent the column. */ - void updateDecorationSize(); + void requestActivation(QWidget* column); private: DolphinController* m_controller; -- cgit v1.3.1