]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphintabpage.h
Apply 1 suggestion(s) to 1 file(s)
[dolphin.git] / src / dolphintabpage.h
index 0c691830ebd7f3ce68ee51719234c9a43a602c05..1b918c24807b97ebf4221b312e3daf9cb184a2cb 100644 (file)
@@ -138,6 +138,12 @@ public:
      */
     void setActive(bool active);
 
+    void switchActiveView();
+
+    void setTitle(const QString &name);
+
+    QString title() const;
+
 Q_SIGNALS:
     void activeViewChanged(DolphinViewContainer *viewContainer);
     void activeViewUrlChanged(const QUrl &url);
@@ -170,8 +176,6 @@ private Q_SLOTS:
      */
     void slotViewUrlRedirection(const QUrl &oldUrl, const QUrl &newUrl);
 
-    void switchActiveView();
-
 private:
     /**
      * Creates a new view container and does the default initialization.
@@ -201,6 +205,7 @@ private:
     bool m_primaryViewActive;
     bool m_splitViewEnabled;
     bool m_active;
+    QString m_title;
 };
 
 class DolphinTabPageSplitterHandle : public QSplitterHandle