* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
-
#ifndef DOLPHINVIEWCONTAINER_H
#define DOLPHINVIEWCONTAINER_H
-#include <kfileitem.h>
-#include <kfileitemdelegate.h>
-#include <kglobalsettings.h>
-#include <kio/job.h>
+#include <KFileItem>
+#include <KFileItemDelegate>
+#include <KGlobalSettings>
+#include <KIO/Job>
-#include <kurlnavigator.h>
+#include <KUrlNavigator>
#include <QElapsedTimer>
#include <QWidget>
class FilterBar;
class KUrl;
-class DolphinModel;
class KUrlNavigator;
-class DolphinDirLister;
class DolphinSearchBox;
-class DolphinSortFilterProxyModel;
class DolphinStatusBar;
/**
*/
void updateStatusBar();
- void initializeProgress();
-
void updateProgress(int percent);
+ /**
+ * Updates the statusbar to show an undetermined progress with the correct
+ * context information whether a searching or a directory loading is done.
+ */
+ void slotStartedPathLoading();
+
/**
* Assures that the viewport position is restored and updates the
* statusbar to reflect the current content.
*/
- void slotDirListerCompleted();
+ void slotFinishedPathLoading();
/**
* Handles clicking on an item. If the item is a directory, the
bool isSearchUrl(const KUrl& url) const;
private:
- bool m_isFolderWritable;
-
QVBoxLayout* m_topLayout;
KUrlNavigator* m_urlNavigator;
DolphinSearchBox* m_searchBox;
DolphinStatusBar* m_statusBar;
QTimer* m_statusBarTimer; // Triggers a delayed update
QElapsedTimer m_statusBarTimestamp; // Time in ms since last update
-
- DolphinModel* m_dolphinModel;
- DolphinDirLister* m_dirLister;
- DolphinSortFilterProxyModel* m_proxyModel;
};
inline const DolphinStatusBar* DolphinViewContainer::statusBar() const