+/**
+ *This slot function is called when the server has finished guery.
+ */
+void CarMainWindow::networkResponse(QNetworkReply *reply)
+{
+ qDebug() << "_networkResponse";
+ xmlreader->xmlRead(reply);
+ qDebug() << reply->readAll();
+ QNetworkReply::NetworkError errorcode;
+ errorcode = reply->error();
+ if(errorcode != 0) {
+ qDebug() << errorcode << reply->errorString();
+ }
+ else {
+ qDebug() << "errorcode=0";
+ }