Refactor: Move NAM to utils, rss model to welcome.

Change-Id: I0dddedd820e75df05c3a028e7fbb02b642c79659
Reviewed-on: http://codereview.qt.nokia.com/1902
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
Daniel Molkentin
2011-07-15 15:24:43 +02:00
committed by Eike Ziller
parent d20594a71d
commit 49b5556921
16 changed files with 118 additions and 59 deletions

View File

@@ -39,7 +39,7 @@
#include <QtNetwork/QNetworkReply>
#include <coreplugin/networkaccessmanager.h>
#include <utils/networkaccessmanager.h>
enum { debug = 0 };
@@ -529,7 +529,7 @@ void Gitorious::slotReplyFinished()
QNetworkReply *Gitorious::createRequest(const QUrl &url, int protocol, int hostIndex, int page)
{
if (!m_networkManager)
m_networkManager = new Core::NetworkAccessManager(this);
m_networkManager = new Utils::NetworkAccessManager(this);
QNetworkReply *reply = m_networkManager->get(QNetworkRequest(url));
connect(reply, SIGNAL(finished()), this, SLOT(slotReplyFinished()));
reply->setProperty(protocolPropertyC, QVariant(protocol));