]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphintabwidget.h
Add actions for switching to a specific tab
[dolphin.git] / src / dolphintabwidget.h
index 4351a40a837ded13f4e41347dd611f54be93d81f..746aec6c64ec347fdb2611c22d8e01a115374958 100644 (file)
@@ -154,6 +154,16 @@ public slots:
      */
     void closeTab(const int index);
 
+    /**
+     * Activates the tab with the index \a index.
+     */
+    void activateTab(const int index);
+
+    /**
+     * Activates the last tab in the tab bar.
+     */
+    void activateLastTab();
+
     /**
      * Activates the next tab in the tab bar.
      * If the current active tab is the last tab, it activates the first tab.