diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-07-12 22:22:14 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-13 12:09:42 +0200 |
commit | a1590325ca45406b54f80d98c7ab38f2a415d99b (patch) | |
tree | 96918ab714a269a391eb0a9e34264511a6067281 /src/xml | |
parent | a42bc1e92331d709fab9f2e4d28e008874aef9de (diff) |
doc/snippets: normalize signals/slots
There's one in corelib that has a comment
// slower due to signature normalization at runtime
I obviously didn't change that one.
This is the result of running util/normalize --modify
from Qt 4.7 with manual review.
Change-Id: I0ffb2305800a9cb746b7f8a4eb710702d64f1b92
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/xml')
-rw-r--r-- | src/xml/doc/snippets/rsslisting/rsslisting.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xml/doc/snippets/rsslisting/rsslisting.cpp b/src/xml/doc/snippets/rsslisting/rsslisting.cpp index 5fb7c28da9..f04662f533 100644 --- a/src/xml/doc/snippets/rsslisting/rsslisting.cpp +++ b/src/xml/doc/snippets/rsslisting/rsslisting.cpp @@ -88,11 +88,11 @@ RSSListing::RSSListing(QWidget *parent) handler = 0; - connect(&http, SIGNAL(readyRead(const QHttpResponseHeader &)), - this, SLOT(readData(const QHttpResponseHeader &))); + connect(&http, SIGNAL(readyRead(QHttpResponseHeader)), + this, SLOT(readData(QHttpResponseHeader))); - connect(&http, SIGNAL(requestFinished(int, bool)), - this, SLOT(finished(int, bool))); + connect(&http, SIGNAL(requestFinished(int,bool)), + this, SLOT(finished(int,bool))); connect(lineEdit, SIGNAL(returnPressed()), this, SLOT(fetch())); connect(fetchButton, SIGNAL(clicked()), this, SLOT(fetch())); @@ -152,8 +152,8 @@ void RSSListing::fetch() xmlReader.setErrorHandler(handler); //! [0] - connect(handler, SIGNAL(newItem(QString &, QString &)), - this, SLOT(addItem(QString &, QString &))); + connect(handler, SIGNAL(newItem(QString&,QString&)), + this, SLOT(addItem(QString&,QString&))); QUrl url(lineEdit->text()); |