| 40 | } |
| 41 | |
| 42 | void UpdatesProcessor::requestUpdates() |
| 43 | { |
| 44 | if(_reply != NULL) { |
| 45 | _reply->disconnect(); |
| 46 | delete _reply; |
| 47 | _reply = NULL; |
| 48 | } |
| 49 | |
| 50 | QNetworkRequest request(QUrl("http://lightpack.tv/updates.xml")); |
| 51 | _reply = _networkMan.get(request); |
| 52 | connect(_reply, SIGNAL(readyRead()), this, SIGNAL(readyRead())); |
| 53 | } |
| 54 | |
| 55 | QList<UpdateInfo> UpdatesProcessor::readUpdates(uint lastReadId) |
| 56 | { |
no test coverage detected