X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/be9746e87bb6a42e641dbf36c528a60fb564420a..862ceee323ad3b474ce9de11eefbddd99c528fac:/src/dolphinviewcontainer.h diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h index 5652e4b4a..88b4b3b47 100644 --- a/src/dolphinviewcontainer.h +++ b/src/dolphinviewcontainer.h @@ -107,13 +107,6 @@ public: 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; /** @@ -163,6 +156,12 @@ private slots: */ 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); @@ -185,6 +184,24 @@ private slots: */ 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(); + + /** + * Marks the view container as active + * (see DolphinViewContainer::setActive()). + */ + void activate(); + private: /** * Returns the default text of the status bar, if no item is