┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontroller.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-10-26 19:02:33 +0000
committerPeter Penz <[email protected]>2007-10-26 19:02:33 +0000
commitbbf9faa05396d66b3dbe101a0c309459e3ffacb1 (patch)
tree2d38fabb1f923be80129cfb22d2da314fa759df6 /src/dolphincontroller.h
parentc1f27bb620337c7f173fce1dd3097fa3e43c2878 (diff)
Simplify DolphinController: don't remember the show-preview state in the controller and add an unnecessary additional signal; instead just read the state from the DolphinView
svn path=/trunk/KDE/kdebase/apps/; revision=729726
Diffstat (limited to 'src/dolphincontroller.h')
-rw-r--r--src/dolphincontroller.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h
index d1b0799bf..c5f0e1a2b 100644
--- a/src/dolphincontroller.h
+++ b/src/dolphincontroller.h
@@ -160,14 +160,6 @@ public:
void indicateAdditionalInfoChange(const KFileItemDelegate::InformationList& info);
/**
- * 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.
- */
- void setShowPreview(bool show);
- bool showPreview() 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.
@@ -291,14 +283,6 @@ signals:
void additionalInfoChanged(const KFileItemDelegate::InformationList& info);
/**
- * 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
- * updates are required in this case.
- */
- void showPreviewChanged(bool show);
-
- /**
* 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
@@ -341,7 +325,6 @@ signals:
void zoomOut();
private:
- bool m_showPreview;
bool m_zoomInPossible;
bool m_zoomOutPossible;
KUrl m_url;
@@ -358,11 +341,6 @@ inline const KUrl& DolphinController::url() const
return m_url;
}
-inline bool DolphinController::showPreview() const
-{
- return m_showPreview;
-}
-
inline void DolphinController::setZoomInPossible(bool possible)
{
m_zoomInPossible = possible;