diff options
| author | Peter Penz <[email protected]> | 2007-07-28 22:27:58 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-07-28 22:27:58 +0000 |
| commit | dcac8012b6a2e63bf7526d8c27d2442906afed32 (patch) | |
| tree | fff107e6dd8737f4ac6f72e214fde238746df4d3 /src/dolphincolumnview.h | |
| parent | 2e5379158e74250d37b7a536881ef2b8dbef4b3b (diff) | |
temporary fixes until MultiSelection will be implemented
svn path=/trunk/KDE/kdebase/apps/; revision=693752
Diffstat (limited to 'src/dolphincolumnview.h')
| -rw-r--r-- | src/dolphincolumnview.h | 25 |
1 files changed, 13 insertions, 12 deletions
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; |
