]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.h
Make Qt 4.5's new "move tab" feature work in Dolphin. Up to now, tabs could be moved...
[dolphin.git] / src / dolphinmainwindow.h
index 687eecddfefdf9eccc1333eb5d6b88ec4c68b739..5e1d27476bc1c10af8f1461f42f18046b93a2122 100644 (file)
@@ -375,6 +375,13 @@ private slots:
      */
     void searchItems(const KUrl& url);
 
+    /**
+     * Is connected to the QTabBar signal tabMoved(int from, int to).
+     * Reorders the list of tabs after a tab was moved in the tab bar
+     * and sets m_tabIndex to the new index of the current tab.
+     */
+    void slotTabMoved(int from, int to);
+
 private:
     DolphinMainWindow(int id);
     void init();