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 | |
parent | Fix forward declaration (diff) | |
download | rekonq-da438361461948c9c151a770de91dd6ee4631714.tar.xz |
normalize signal/slot
-rw-r--r-- | src/bookmarks/bookmarkstreemodel.cpp | 2 | ||||
-rw-r--r-- | src/panels/paneltreeview.cpp | 2 | ||||
-rw-r--r-- | src/sessionwidget.cpp | 2 | ||||
-rw-r--r-- | src/tabwindow/rekonqwindow.cpp | 4 | ||||
-rw-r--r-- | src/webtab/webpage.cpp | 2 | ||||
-rw-r--r-- | src/webtab/webtab.cpp | 6 |
6 files changed, 9 insertions, 9 deletions
diff --git a/src/bookmarks/bookmarkstreemodel.cpp b/src/bookmarks/bookmarkstreemodel.cpp index 8a74e3e6..45b50253 100644 --- a/src/bookmarks/bookmarkstreemodel.cpp +++ b/src/bookmarks/bookmarkstreemodel.cpp @@ -166,7 +166,7 @@ BookmarksTreeModel::BookmarksTreeModel(QObject *parent) , m_root(0) { resetModel(); - connect(BookmarkManager::self()->manager(), SIGNAL(changed(QString, QString)), + connect(BookmarkManager::self()->manager(), SIGNAL(changed(QString,QString)), this, SLOT(bookmarksChanged(QString))); } diff --git a/src/panels/paneltreeview.cpp b/src/panels/paneltreeview.cpp index 722ba8a9..e8cd90d9 100644 --- a/src/panels/paneltreeview.cpp +++ b/src/panels/paneltreeview.cpp @@ -44,7 +44,7 @@ PanelTreeView::PanelTreeView(QWidget *parent) : QTreeView(parent) { connect(this, SIGNAL(itemHovered(QString)), parent, SIGNAL(itemHovered(QString))); - connect(this, SIGNAL(openUrl(KUrl, Rekonq::OpenType)), parent, SIGNAL(openUrl(KUrl, Rekonq::OpenType))); + connect(this, SIGNAL(openUrl(KUrl,Rekonq::OpenType)), parent, SIGNAL(openUrl(KUrl,Rekonq::OpenType))); setMouseTracking(true); setExpandsOnDoubleClick(false); diff --git a/src/sessionwidget.cpp b/src/sessionwidget.cpp index f1b5f4c0..f708ca11 100644 --- a/src/sessionwidget.cpp +++ b/src/sessionwidget.cpp @@ -64,7 +64,7 @@ SessionWidget::SessionWidget(QWidget *parent) connect(deleteButton, SIGNAL(clicked()), this, SLOT(deleteSession())); connect(listWidget, SIGNAL(currentRowChanged(int)), this, SLOT(updateButtons(int))); - connect(listWidget, SIGNAL(itemChanged(QListWidgetItem *)), this, SLOT(save())); + connect(listWidget, SIGNAL(itemChanged(QListWidgetItem*)), this, SLOT(save())); updateButtons(-1); diff --git a/src/tabwindow/rekonqwindow.cpp b/src/tabwindow/rekonqwindow.cpp index 4a4db7fc..98f60f30 100644 --- a/src/tabwindow/rekonqwindow.cpp +++ b/src/tabwindow/rekonqwindow.cpp @@ -168,7 +168,7 @@ void RekonqWindow::showBookmarksPanel(bool on) if (_bookmarksPanel.isNull()) { _bookmarksPanel = new BookmarksPanel(i18n("Bookmarks Panel"), this); - connect(_bookmarksPanel.data(), SIGNAL(openUrl(KUrl, Rekonq::OpenType)), this, SLOT(loadUrl(KUrl, Rekonq::OpenType))); + connect(_bookmarksPanel.data(), SIGNAL(openUrl(KUrl,Rekonq::OpenType)), this, SLOT(loadUrl(KUrl,Rekonq::OpenType))); QAction *a = _tabWidget->actionByName(QL1S("show_bookmarks_panel")); connect(_bookmarksPanel.data(), SIGNAL(visibilityChanged(bool)), a, SLOT(setChecked(bool))); @@ -192,7 +192,7 @@ void RekonqWindow::showHistoryPanel(bool on) if (_historyPanel.isNull()) { _historyPanel = new HistoryPanel(i18n("History Panel"), this); - connect(_historyPanel.data(), SIGNAL(openUrl(KUrl, Rekonq::OpenType)), this, SLOT(loadUrl(KUrl, Rekonq::OpenType))); + connect(_historyPanel.data(), SIGNAL(openUrl(KUrl,Rekonq::OpenType)), this, SLOT(loadUrl(KUrl,Rekonq::OpenType))); QAction *a = _tabWidget->actionByName(QL1S("show_history_panel")); connect(_historyPanel.data(), SIGNAL(visibilityChanged(bool)), a, SLOT(setChecked(bool))); 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 } |