]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinviewcontainer.h
SVN_SILENT: minor coding style fix (Sebastian likes spaces :-))
[dolphin.git] / src / dolphinviewcontainer.h
index 1f8f1caf6259dc56082ece151bbc02f683f40aa9..0f2ab9aad387ab8b61d55cccb87d126ed772f514 100644 (file)
@@ -44,7 +44,6 @@ class DolphinDirLister;
 class DolphinMainWindow;
 class DolphinSortFilterProxyModel;
 class DolphinStatusBar;
-class QModelIndex;
 
 /**
  * @short Represents a view for the directory content
@@ -69,15 +68,6 @@ public:
 
     virtual ~DolphinViewContainer();
 
-    /**
-     * Sets the current active URL, where all actions are applied. The
-     * URL navigator is synchronized with this URL. The signals
-     * KUrlNavigator::urlChanged() and KUrlNavigator::historyChanged()
-     * are emitted.
-     * @see DolphinViewContainer::urlNavigator()
-     */
-    void setUrl(const KUrl& url);
-
     /**
      * Returns the current active URL, where all actions are applied.
      * The URL navigator is synchronized with this URL.
@@ -115,6 +105,15 @@ public:
     bool isFilterBarVisible() const;
 
 public slots:
+    /**
+     * Sets the current active URL, where all actions are applied. The
+     * URL navigator is synchronized with this URL. The signals
+     * KUrlNavigator::urlChanged() and KUrlNavigator::historyChanged()
+     * are emitted.
+     * @see DolphinViewContainer::urlNavigator()
+     */
+    void setUrl(const KUrl& url);
+
     /**
      * Popups the filter bar above the status bar if \a show is true.
      */
@@ -126,7 +125,7 @@ signals:
      */
     void showFilterBarChanged(bool shown);
 
-private slots: 
+private slots:
     /**
      * Updates the number of items (= number of files + number of
      * directories) in the statusbar. If files are selected, the number
@@ -142,6 +141,8 @@ private slots:
      */
     void updateStatusBar();
 
+    void initializeProgress();
+
     void updateProgress(int percent);
 
     /**
@@ -205,12 +206,6 @@ private slots:
      */
     void saveContentsPos(int x, int y);
 
-    /**
-     * Restores the contents position of the view, if the view
-     * is part of the history.
-     */
-    void restoreContentsPos();
-
     /**
      * Marks the view container as active
      * (see DolphinViewContainer::setActive()).
@@ -254,7 +249,6 @@ private slots:
     void slotHistoryChanged();
 
 private:
-    bool m_showProgress;
     bool m_isFolderWritable;
 
     DolphinMainWindow* m_mainWindow;