]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphintabpage.h
Correct searchbox, split view transitions between tabs
[dolphin.git] / src / dolphintabpage.h
index 9d180883ab06b1bc59f35f8f0d35672f69c416ab..45c540775fe127c73dc3d2c61b90862367d9901f 100644 (file)
@@ -50,7 +50,7 @@ public:
      *
      * If \a enabled is true, it creates a secondary view with the url of the primary view.
      */
-    void setSplitViewEnabled(bool enabled);
+    void setSplitViewEnabled(bool enabled, const QUrl &secondaryUrl = QUrl());
 
     /**
      * @return The primary view containter.
@@ -129,6 +129,12 @@ public:
      */
     void restoreStateV1(const QByteArray& state);
 
+    /**
+     * Set whether the tab page is active
+     *
+     */
+    void setActive(bool active);
+
 signals:
     void activeViewChanged(DolphinViewContainer* viewContainer);
     void activeViewUrlChanged(const QUrl& url);
@@ -165,6 +171,7 @@ private:
 
     bool m_primaryViewActive;
     bool m_splitViewEnabled;
+    bool m_active;
 };
 
 #endif // DOLPHIN_TAB_PAGE_H