]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinviewcontainer.h
fixed some activation issues in combination with split views
[dolphin.git] / src / dolphinviewcontainer.h
index 5652e4b4a6fc5d9ad6fe09b5c8e3eda14daef041..88b4b3b47c6a0df694a2e66696d648ad5826e0a3 100644 (file)
@@ -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