From da438361461948c9c151a770de91dd6ee4631714 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Mon, 6 May 2013 08:02:04 +0200 Subject: normalize signal/slot --- src/webtab/webpage.cpp | 2 +- src/webtab/webtab.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/webtab') 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 } -- cgit v1.2.1