diff options
author | Montel Laurent <montel@kde.org> | 2013-05-06 08:02:04 +0200 |
---|---|---|
committer | Montel Laurent <montel@kde.org> | 2013-05-06 08:02:04 +0200 |
commit | da438361461948c9c151a770de91dd6ee4631714 (patch) | |
tree | db8177d800e7f6859314a752362d66bb02915f61 /src/webtab | |
parent | Fix forward declaration (diff) | |
download | rekonq-da438361461948c9c151a770de91dd6ee4631714.tar.xz |
normalize signal/slot
Diffstat (limited to 'src/webtab')
-rw-r--r-- | src/webtab/webpage.cpp | 2 | ||||
-rw-r--r-- | src/webtab/webtab.cpp | 6 |
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 } |