KFileItem* fileItem(const QModelIndex index) const;
- /**
- * Renames the filename of the source URL by the new file name.
- * If the new file name already exists, a dialog is opened which
- * asks the user to enter a new name.
- */
- void rename(const KUrl& source, const QString& newName);
-
DolphinStatusBar* statusBar() const;
/**
*/
void updateItemCount();
+ /**
+ * Shows the item information for the URL \a url inside the statusbar. If the
+ * URL is empty, the default statusbar information is shown.
+ */
+ void showItemInfo(const KUrl& url);
+
/** Shows the information \a msg inside the statusbar. */
void showInfoMessage(const QString& msg);
*/
void openContextMenu(KFileItem* item, const KUrl& url);
+ /**
+ * Saves the position of the contents to the
+ * current history element.
+ */
+ void saveContentsPos(int x, int y);
+
+ /**
+ * Restores the contents position of the view, if the view
+ * is part of the history.
+ */
+ void restoreContentsPos();
+
private:
/**
* Returns the default text of the status bar, if no item is