class DolphinMainWindow;
class DolphinSortFilterProxyModel;
class DolphinStatusBar;
-class QModelIndex;
/**
* @short Represents a view for the directory content
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.
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.
*/
*/
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
*/
void updateStatusBar();
+ void initializeProgress();
+
void updateProgress(int percent);
/**
*/
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()).
void slotHistoryChanged();
private:
- bool m_showProgress;
bool m_isFolderWritable;
DolphinMainWindow* m_mainWindow;