diff options
| author | ambar chakravartty <[email protected]> | 2025-01-27 16:50:13 +0530 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2025-02-06 14:32:35 +0000 |
| commit | 625599462a8ec82f0e43267d333b3ed74a4401bf (patch) | |
| tree | fea1bf6d046daa53c7e96940cb23ed7d6d2a7f1f /src/dolphintabpage.cpp | |
| parent | 529df26a3f99f186ffc8848d32d6ec8f2a4b2f5c (diff) | |
Added code for a "Rename Tab" feature.
BUG: 197009
Diffstat (limited to 'src/dolphintabpage.cpp')
| -rw-r--r-- | src/dolphintabpage.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/dolphintabpage.cpp b/src/dolphintabpage.cpp index dbc1ff147..4a061e3ec 100644 --- a/src/dolphintabpage.cpp +++ b/src/dolphintabpage.cpp @@ -13,6 +13,7 @@ #include <QGridLayout> #include <QStyle> #include <QVariantAnimation> +#include <quuid.h> DolphinTabPage::DolphinTabPage(const QUrl &primaryUrl, const QUrl &secondaryUrl, QWidget *parent) : QWidget(parent) @@ -342,6 +343,16 @@ void DolphinTabPage::setActive(bool active) activeViewContainer()->setActive(active); } +void DolphinTabPage::setTitle(const QString &name) +{ + m_title = QString(name); +} + +QString DolphinTabPage::title() +{ + return m_title; +} + void DolphinTabPage::slotAnimationFinished() { for (int i = 0; i < m_splitter->count(); ++i) { |
