]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.h
1) Make sure that size qprogressbar is really updated after each change
[dolphin.git] / src / dolphinview.h
index 9af9aab8d9dcffd813acdd3e3c034b46324cae0c..0936b06a3558fb037ab57d15249b4b9c856b645e 100644 (file)
@@ -420,6 +420,12 @@ signals:
     /** Is emitted if URL of the view has been changed to \a url. */
     void urlChanged(const KUrl& url);
 
+    /**
+     * Is emitted if the view requests a changing of the current
+     * URL to \a url (see DolphinController::triggerUrlChangeRequest()).
+     */
+    void requestUrlChange(const KUrl& url);
+
     /**
      * Is emitted when clicking on an item with the left mouse button.
      */
@@ -595,6 +601,24 @@ private slots:
      */
     void slotDeleteFileFinished(KJob* job);
 
+    /**
+     * Called when KDirLister emits redirection.
+     * Testcase: fish://localhost
+     */
+    void slotRedirection(const KUrl& oldUrl, const KUrl& newUrl);
+
+    /**
+     * Is emitted if the controller requests a changing of the current
+     * URL to \a url
+     */
+    void slotRequestUrlChange(const KUrl& url);
+
+    /**
+     * Restores the current item (= item that has the keyboard focus)
+     * to m_currentItemUrl.
+     */
+    void restoreCurrentItem();
+
 private:
     void loadDirectory(const KUrl& url, bool reload = false);
 
@@ -655,7 +679,7 @@ private:
     bool m_loadingDirectory : 1;
     bool m_storedCategorizedSorting : 1;
     bool m_tabsForFiles : 1;
-    bool m_isContextMenuOpen : 1;   // TODO: workaround for Qt-issue xxxxxx
+    bool m_isContextMenuOpen : 1;   // TODO: workaround for Qt-issue 207192
 
     Mode m_mode;
 
@@ -677,6 +701,7 @@ private:
     ToolTipManager* m_toolTipManager;
 
     KUrl m_rootUrl;
+    KUrl m_currentItemUrl;
 };
 
 /// Allow using DolphinView::Mode in QVariant