Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void MessageManager::downloadMessgaes(){
- url.setUrl("http://atleast.aut.bme.hu/ait-ios/messenger/messages");
- inBuf.clear();
- reply = accessManager.get(QNetworkRequest(url));
- connect(this->reply, SIGNAL(readyRead()), this, SLOT(readyRead()));
- qDebug() << connect(this->reply, SIGNAL(finished()), this, SLOT(finished()));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement