From 7f6cbe092e9eabed5e90429b569082a40f6a9379 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 27 Jan 2011 13:45:58 +0100 Subject: renaming, little things.. --- src/fbbrowser.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/fbbrowser.cpp') diff --git a/src/fbbrowser.cpp b/src/fbbrowser.cpp index 5495a78..2e4fee6 100644 --- a/src/fbbrowser.cpp +++ b/src/fbbrowser.cpp @@ -3,8 +3,9 @@ #include #include -void fbbrowser::httpReadyRead() +void fbbrowser::httpReqFinished() { + // TODO: fix this up.. // This slot listens to readyRead() signal from our QNetworkReply. qDebug() << "finished() signal emmited!" << endl; if(reply->error() == QNetworkReply::NoError) @@ -28,7 +29,7 @@ fbbrowser::fbbrowser(const QUrl & url) // Let the manager send the request and receive the reply. // QNetworkReply *reply = manager->get(request); reply = manager->get(request); - connect(reply, SIGNAL(finished()), this, SLOT(httpReadyRead())); + connect(reply, SIGNAL(finished()), this, SLOT(httpReqFinished())); //connect(reply, SIGNAL(finished()), this, SLOT()); // Check if the reply is an error message. -- cgit v1.2.3-55-g7522