currentDownload = netManager->post(request, ("xml=" + xmlbuffer->data()));
connect(currentDownload,SIGNAL(finished()),this,SLOT(ackOfResult()));
//connect(currentDownload,SIGNAL(error(QNetworkReply::NetworkError)),myMainw,SLOT(errorFromServer(QNetworkReply::NetworkError)));
- myMainw->resultDialog->setLabelInfoToUser("Sending result to server");
+
+ //Indicating user
+ myMainw->accstart->accRealTimeDialog->resultDialog->setLabelInfoToUser("Sending result to server");
xmlbuffer->close();
}
{
qDebug() << "_ackOfResult";
- myMainw->resultDialog->setLabelInfoToUser("");
+ //Indicating user
+ myMainw->accstart->accRealTimeDialog->resultDialog->setLabelInfoToUser("");
QNetworkReply* reply = qobject_cast<QNetworkReply*>(sender());
errorcode = reply->error();
if(errorcode != 0) {
qDebug() << "errorcode:" << errorcode << reply->errorString();
- QMessageBox::about(myMainw->resultDialog, "Server reply to result sending ",reply->errorString());
+
+ //Indicating user
+ QMessageBox::about(myMainw->accstart->accRealTimeDialog->resultDialog, "Server reply to result sending ",reply->errorString());
}
else {
qDebug() << "errorcode:" << errorcode << reply->errorString();
- QMessageBox::about(myMainw->resultDialog, "Server reply to result sending", "Result received " + reply->readAll());
+
+ //Indicating user
+ QMessageBox::about(myMainw->accstart->accRealTimeDialog->resultDialog, "Server reply to result sending", "Result received " + reply->readAll());
}
}