summaryrefslogtreecommitdiff
path: root/src/webtab/webtab.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-04-07 12:51:18 +0200
committerAndrea Diamantini <adjam7@gmail.com>2013-04-07 12:51:18 +0200
commit2e71dd7907f9bc85bfce1e265d8458d1b7324dd4 (patch)
treeaba9059936a31960dff946e0f9d072e084f58dd9 /src/webtab/webtab.cpp
parentWorkaround about private browsing (diff)
downloadrekonq-2e71dd7907f9bc85bfce1e265d8458d1b7324dd4.tar.xz
Add bool info in WebTab about being a web app
Diffstat (limited to 'src/webtab/webtab.cpp')
-rw-r--r--src/webtab/webtab.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/webtab/webtab.cpp b/src/webtab/webtab.cpp
index 070ffcaf..1020d68a 100644
--- a/src/webtab/webtab.cpp
+++ b/src/webtab/webtab.cpp
@@ -78,6 +78,7 @@ WebTab::WebTab(QWidget *parent, bool isPrivateBrowsing)
, m_part(0)
, m_zoomFactor(10)
, m_isPrivateBrowsing(isPrivateBrowsing)
+ , m_isWebApp(false)
, m_splitter(new QSplitter(this))
#ifdef HAVE_KACTIVITIES
, m_activityResourceInstance(0)
@@ -119,6 +120,7 @@ WebTab::WebTab(QWidget *parent, bool isPrivateBrowsing)
if (!parent)
{
+ m_isWebApp = true;
connect(this, SIGNAL(titleChanged(QString)), this, SLOT(webAppTitleChanged(QString)));
connect(this, SIGNAL(iconChanged()), this, SLOT(webAppIconChanged()));
}
@@ -521,3 +523,9 @@ void WebTab::focusOut()
m_activityResourceInstance->notifyFocusedOut();
#endif
}
+
+
+bool WebTab::isWebApp()
+{
+ return m_isWebApp;
+}