4 #include <QtCore/QCoreApplication>
5 #include <QXmlStreamReader>
6 #include <QXmlStreamWriter>
11 #include "mainwindow.h"
16 /* Constructor of the class */
18 /* Destructor of the class */
21 /*This function creates client's messages in xml -format from the given inputs.
22 Note ! In order to send pure character strings without linebreaks nor xml -headers,
23 xml autoformatting must be disabled and xml file header insertion is omitted.
26 @param QString content
27 @param QString latitude
28 @param QString longitude
31 bool writeXmlData(QString header, QDate date, QString content, QString latitude, QString longitude);