diff options
| author | Peter Penz <[email protected]> | 2007-10-26 18:34:45 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-10-26 18:34:45 +0000 |
| commit | c1f27bb620337c7f173fce1dd3097fa3e43c2878 (patch) | |
| tree | f86a10b77112bf889f823e10d1db6352e5d2219b /src/dolphincontroller.h | |
| parent | 1f331872b2362a0c55fec66fab7ca340a2862188 (diff) | |
Simplify the DolphinController: The "show hidden files" state can be retrieved by the DolphinView, there is no need introducing additional signals + states. Further cleanups will follow...
svn path=/trunk/KDE/kdebase/apps/; revision=729721
Diffstat (limited to 'src/dolphincontroller.h')
| -rw-r--r-- | src/dolphincontroller.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h index 6425816a8..d1b0799bf 100644 --- a/src/dolphincontroller.h +++ b/src/dolphincontroller.h @@ -66,7 +66,6 @@ class QWidget; * - setUrl() * - setShowHiddenFiles() * - setShowPreview() - * - setAdditionalInfoCount() * - indicateActivationChange() * - triggerZoomIn() * - triggerZoomOut() @@ -161,14 +160,6 @@ public: void indicateAdditionalInfoChange(const KFileItemDelegate::InformationList& info); /** - * Informs the view implementation about a change of the show hidden files - * state and is invoked by the abstract Dolphin view. - * The signal showHiddenFilesChanged() is emitted. - */ - void setShowHiddenFiles(bool show); - bool showHiddenFiles() const; - - /** * Informs the view implementation about a change of the show preview * state and is invoked by the abstract Dolphin view. * The signal showPreviewChanged() is emitted. @@ -177,14 +168,6 @@ public: bool showPreview() const; /** - * Informs the view implementation about a change of the number of - * additional informations and is invoked by the abstract Dolphin view. - * The signal additionalInfoCountChanged() is emitted. - */ - //void setAdditionalInfoCount(int count); - //bool additionalInfoCount() const; - - /** * Informs the view implementation about a change of the activation * state and is invoked by the abstract Dolphin view. The signal * activationChanged() is emitted. @@ -308,14 +291,6 @@ signals: void additionalInfoChanged(const KFileItemDelegate::InformationList& info); /** - * Is emitted if the state for showing hidden files has been - * changed to \a show by the abstract Dolphin view. The view - * implementation might connect to this signal if custom - * updates are required in this case. - */ - void showHiddenFilesChanged(bool show); - - /** * Is emitted if the state for showing previews has been * changed to \a show by the abstract Dolphin view. * The view implementation might connect to this signal if custom @@ -324,14 +299,6 @@ signals: void showPreviewChanged(bool show); /** - * Is emitted if the number of additional informations has been - * changed to \a count by the abstract Dolphin view. - * The view implementation might connect to this signal if custom - * updates are required in this case. - */ - //void additionalInfoCountChanged(int count); - - /** * Is emitted if the activation state has been changed to \a active * by the abstract Dolphin view. * The view implementation might connect to this signal if custom @@ -374,11 +341,9 @@ signals: void zoomOut(); private: - bool m_showHiddenFiles; bool m_showPreview; bool m_zoomInPossible; bool m_zoomOutPossible; - //int m_additionalInfoCount; KUrl m_url; DolphinView* m_dolphinView; }; @@ -393,21 +358,11 @@ inline const KUrl& DolphinController::url() const return m_url; } -inline bool DolphinController::showHiddenFiles() const -{ - return m_showHiddenFiles; -} - inline bool DolphinController::showPreview() const { return m_showPreview; } -/*inline bool DolphinController::additionalInfoCount() const -{ - return m_additionalInfoCount; -}*/ - inline void DolphinController::setZoomInPossible(bool possible) { m_zoomInPossible = possible; |
