From a1590325ca45406b54f80d98c7ab38f2a415d99b Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 12 Jul 2012 22:22:14 +0200 Subject: 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 Reviewed-by: Casper van Donderen --- src/xml/doc/snippets/rsslisting/rsslisting.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/xml/doc/snippets') 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()); -- cgit v1.2.3