MCPcopy Create free account
hub / github.com/Atarity/Lightpack / requestUpdates

Method requestUpdates

Software/src/UpdatesProcessor.cpp:42–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void 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
55QList<UpdateInfo> UpdatesProcessor::readUpdates(uint lastReadId)
56{

Callers 2

checkUpdateMethod · 0.80
checkUpdateMethod · 0.80

Calls 2

getMethod · 0.80
disconnectMethod · 0.45

Tested by

no test coverage detected