From d6c022a8b01715f50d227c938beed680ac40ace0 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 28 Dec 2012 18:32:05 +0100 Subject: Krazy fixes, second shot (normalize) --- src/urlbar/completionwidget.cpp | 8 ++++---- src/urlbar/listitem.cpp | 4 ++-- src/urlbar/resourcelinkdialog.cpp | 4 ++-- src/urlbar/urlbar.cpp | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/urlbar') diff --git a/src/urlbar/completionwidget.cpp b/src/urlbar/completionwidget.cpp index 02f0bc7e..f745afae 100644 --- a/src/urlbar/completionwidget.cpp +++ b/src/urlbar/completionwidget.cpp @@ -75,9 +75,9 @@ void CompletionWidget::insertItems(const UrlSuggestionList &list, const QString& ListItem *suggestion = ListItemFactory::create(item, text, this); suggestion->setBackgroundRole(offset % 2 ? QPalette::AlternateBase : QPalette::Base); connect(suggestion, - SIGNAL(itemClicked(ListItem*, Qt::MouseButton, Qt::KeyboardModifiers)), + SIGNAL(itemClicked(ListItem*,Qt::MouseButton,Qt::KeyboardModifiers)), this, - SLOT(itemChosen(ListItem*, Qt::MouseButton, Qt::KeyboardModifiers))); + SLOT(itemChosen(ListItem*,Qt::MouseButton,Qt::KeyboardModifiers))); connect(suggestion, SIGNAL(updateList()), this, SLOT(updateList())); connect(this, SIGNAL(nextItemSubChoice()), suggestion, SLOT(nextItemSubChoice())); @@ -394,8 +394,8 @@ void CompletionWidget::suggestUrls(const QString &text) } UrlSuggester *res = new UrlSuggester(text); - connect(res, SIGNAL(suggestionsReady(UrlSuggestionList, QString)), - this, SLOT(updateSuggestionList(UrlSuggestionList, QString))); + connect(res, SIGNAL(suggestionsReady(UrlSuggestionList,QString)), + this, SLOT(updateSuggestionList(UrlSuggestionList,QString))); _resList = res->orderedSearchItems(); // NOTE: It's important to call this AFTER orderedSearchItems() to let everything work diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp index e5adeec4..e1eac250 100644 --- a/src/urlbar/listitem.cpp +++ b/src/urlbar/listitem.cpp @@ -393,8 +393,8 @@ ImageLabel::ImageLabel(const QString &url, int width, int height, QWidget *paren else { KIO::TransferJob *job = KIO::get(KUrl(url), KIO::NoReload, KIO::HideProgressInfo); - connect(job, SIGNAL(data(KIO::Job*, QByteArray)), - this, SLOT(slotData(KJob*, QByteArray))); + connect(job, SIGNAL(data(KIO::Job*,QByteArray)), + this, SLOT(slotData(KJob*,QByteArray))); connect(job, SIGNAL(result(KJob*)), this, SLOT(slotResult(KJob*))); } diff --git a/src/urlbar/resourcelinkdialog.cpp b/src/urlbar/resourcelinkdialog.cpp index b300c8ec..799171f2 100644 --- a/src/urlbar/resourcelinkdialog.cpp +++ b/src/urlbar/resourcelinkdialog.cpp @@ -166,9 +166,9 @@ Nepomuk::ResourceLinkDialog::ResourceLinkDialog(Nepomuk::Resource &nfoResource, d->m_linkedResources->setContextMenuPolicy(Qt::CustomContextMenu); - connect(d->m_resourceView->selectionModel(), SIGNAL(selectionChanged(QItemSelection, QItemSelection)), + connect(d->m_resourceView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), this, SLOT(_k_selectionChanged())); - connect(d->m_linkedResources->selectionModel(), SIGNAL(selectionChanged(QItemSelection, QItemSelection)), + connect(d->m_linkedResources->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), this, SLOT(_k_selectionChanged())); connect(this, SIGNAL(user1Clicked()), this, SLOT(linkResourceSlot())); connect(this, SIGNAL(user2Clicked()), this, SLOT(unlinkResourceSlot())); diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index 1e572ea6..4aeec1b2 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -160,7 +160,7 @@ UrlBar::UrlBar(QWidget *parent) connect(BookmarkManager::self(), SIGNAL(bookmarksUpdated()), this, SLOT(updateRightIcons())); // suggestions - connect(_box.data(), SIGNAL(chosenUrl(KUrl, Rekonq::OpenType)), this, SLOT(loadRequestedUrl(KUrl, Rekonq::OpenType))); + connect(_box.data(), SIGNAL(chosenUrl(KUrl,Rekonq::OpenType)), this, SLOT(loadRequestedUrl(KUrl,Rekonq::OpenType))); connect(this, SIGNAL(textEdited(QString)), this, SLOT(detectTypedString(QString))); _suggestionTimer->setSingleShot(true); -- cgit v1.2.1