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/webtab/webtab.cpp | 4 ++-- src/webtab/webview.cpp | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/webtab') diff --git a/src/webtab/webtab.cpp b/src/webtab/webtab.cpp index ba4c9c7c..f1928880 100644 --- a/src/webtab/webtab.cpp +++ b/src/webtab/webtab.cpp @@ -100,8 +100,8 @@ WebTab::WebTab(QWidget *parent, bool isPrivateBrowsing) if (wallet) { - connect(wallet, SIGNAL(saveFormDataRequested(QString, QUrl)), - this, SLOT(createWalletBar(QString, QUrl))); + connect(wallet, SIGNAL(saveFormDataRequested(QString,QUrl)), + this, SLOT(createWalletBar(QString,QUrl))); } connect(view(), SIGNAL(loadProgress(int)), this, SLOT(updateProgress(int))); diff --git a/src/webtab/webview.cpp b/src/webtab/webview.cpp index 986f8484..4c6520cd 100644 --- a/src/webtab/webview.cpp +++ b/src/webtab/webview.cpp @@ -103,7 +103,7 @@ WebView::WebView(QWidget* parent, bool isPrivateBrowsing) , m_isPrivateBrowsing(isPrivateBrowsing) { // loadUrl signal - connect(this, SIGNAL(loadUrl(KUrl, Rekonq::OpenType)), rApp, SLOT(loadUrl(KUrl, Rekonq::OpenType))); + connect(this, SIGNAL(loadUrl(KUrl,Rekonq::OpenType)), rApp, SLOT(loadUrl(KUrl,Rekonq::OpenType))); // Auto scroll timer connect(m_autoScrollTimer, SIGNAL(timeout()), this, SLOT(scrollFrameChanged())); @@ -413,25 +413,25 @@ void WebView::contextMenuEvent(QContextMenuEvent *event) a = new KAction(KIcon("view-preview"), i18n("&View Image"), &menu); a->setData(m_contextMenuHitResult.imageUrl()); - connect(a, SIGNAL(triggered(Qt::MouseButtons, Qt::KeyboardModifiers)), - this, SLOT(viewImage(Qt::MouseButtons, Qt::KeyboardModifiers))); + connect(a, SIGNAL(triggered(Qt::MouseButtons,Qt::KeyboardModifiers)), + this, SLOT(viewImage(Qt::MouseButtons,Qt::KeyboardModifiers))); menu.addAction(a); a = new KAction(KIcon("document-save"), i18n("Save image as..."), &menu); a->setData(m_contextMenuHitResult.imageUrl()); - connect(a, SIGNAL(triggered(Qt::MouseButtons, Qt::KeyboardModifiers)), this, SLOT(saveImage())); + connect(a, SIGNAL(triggered(Qt::MouseButtons,Qt::KeyboardModifiers)), this, SLOT(saveImage())); menu.addAction(a); a = new KAction(KIcon("view-media-visualization"), i18n("&Copy Image Location"), &menu); a->setData(m_contextMenuHitResult.imageUrl()); - connect(a, SIGNAL(triggered(Qt::MouseButtons, Qt::KeyboardModifiers)), this, SLOT(slotCopyImageLocation())); + connect(a, SIGNAL(triggered(Qt::MouseButtons,Qt::KeyboardModifiers)), this, SLOT(slotCopyImageLocation())); menu.addAction(a); if (AdBlockManager::self()->isEnabled()) { a = new KAction(KIcon("preferences-web-browser-adblock"), i18n("Block image"), &menu); a->setData(m_contextMenuHitResult.imageUrl()); - connect(a, SIGNAL(triggered(Qt::MouseButtons, Qt::KeyboardModifiers)), this, SLOT(blockImage())); + connect(a, SIGNAL(triggered(Qt::MouseButtons,Qt::KeyboardModifiers)), this, SLOT(blockImage())); menu.addAction(a); } } @@ -1429,8 +1429,8 @@ void WebView::spellCheck() spellDialog->setAttribute(Qt::WA_DeleteOnClose, true); spellDialog->showSpellCheckCompletionMessage(true); - connect(spellDialog, SIGNAL(replace(QString, int, QString)), this, SLOT(spellCheckerCorrected(QString, int, QString))); - connect(spellDialog, SIGNAL(misspelling(QString, int)), this, SLOT(spellCheckerMisspelling(QString, int))); + connect(spellDialog, SIGNAL(replace(QString,int,QString)), this, SLOT(spellCheckerCorrected(QString,int,QString))); + connect(spellDialog, SIGNAL(misspelling(QString,int)), this, SLOT(spellCheckerMisspelling(QString,int))); if (m_contextMenuHitResult.isContentSelected()) connect(spellDialog, SIGNAL(done(QString)), this, SLOT(slotSpellCheckDone(QString))); spellDialog->setBuffer(text); -- cgit v1.2.1