summaryrefslogtreecommitdiff
path: root/src/webtab
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2013-05-06 08:02:04 +0200
committerMontel Laurent <montel@kde.org>2013-05-06 08:02:04 +0200
commitda438361461948c9c151a770de91dd6ee4631714 (patch)
treedb8177d800e7f6859314a752362d66bb02915f61 /src/webtab
parentFix forward declaration (diff)
downloadrekonq-da438361461948c9c151a770de91dd6ee4631714.tar.xz
normalize signal/slot
Diffstat (limited to 'src/webtab')
-rw-r--r--src/webtab/webpage.cpp2
-rw-r--r--src/webtab/webtab.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/webtab/webpage.cpp b/src/webtab/webpage.cpp
index 9598d7c5..522d13a3 100644
--- a/src/webtab/webpage.cpp
+++ b/src/webtab/webpage.cpp
@@ -178,7 +178,7 @@ WebPage::WebPage(QWidget *parent, bool isPrivateBrowsing)
connect(this, SIGNAL(loadStarted()), this, SLOT(loadStarted()));
connect(this, SIGNAL(loadFinished(bool)), this, SLOT(loadFinished(bool)));
- connect(this, SIGNAL(frameCreated(QWebFrame *)), AdBlockManager::self(), SLOT(applyHidingRules(QWebFrame *)));
+ connect(this, SIGNAL(frameCreated(QWebFrame*)), AdBlockManager::self(), SLOT(applyHidingRules(QWebFrame*)));
// protocol handler signals
connect(&_protHandler, SIGNAL(downloadUrl(KUrl)), this, SLOT(downloadUrl(KUrl)));
diff --git a/src/webtab/webtab.cpp b/src/webtab/webtab.cpp
index 1020d68a..d593fe5b 100644
--- a/src/webtab/webtab.cpp
+++ b/src/webtab/webtab.cpp
@@ -112,7 +112,7 @@ WebTab::WebTab(QWidget *parent, bool isPrivateBrowsing)
// Connect webview signals with related webtab ones
connect(view(), SIGNAL(loadFinished(bool)), this, SIGNAL(loadFinished(bool)));
- connect(view(), SIGNAL(loadProgress(int)), this, SIGNAL(loadProgress (int)));
+ connect(view(), SIGNAL(loadProgress(int)), this, SIGNAL(loadProgress(int)));
connect(view(), SIGNAL(loadStarted()), this, SIGNAL(loadStarted()));
connect(view(), SIGNAL(urlChanged(QUrl)), this, SIGNAL(urlChanged(QUrl)));
connect(view(), SIGNAL(titleChanged(QString)), this, SIGNAL(titleChanged(QString)));
@@ -138,8 +138,8 @@ WebTab::WebTab(QWidget *parent, bool isPrivateBrowsing)
m_activityResourceInstance = new KActivities::ResourceInstance(window()->winId(), this);
- connect(this, SIGNAL(urlChanged(const QUrl &)), m_activityResourceInstance, SLOT(setUri(const QUrl &)));
- connect(this, SIGNAL(titleChanged(const QString &)), m_activityResourceInstance, SLOT(setTitle(const QString &)));
+ connect(this, SIGNAL(urlChanged(QUrl)), m_activityResourceInstance, SLOT(setUri(QUrl)));
+ connect(this, SIGNAL(titleChanged(QString)), m_activityResourceInstance, SLOT(setTitle(QString)));
#endif
}