X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Fxmlwriter.h;h=ac60175df8c1bb1a43b37d89206a59dbeac1407d;hp=539ccab20036cdf799642666104158b6ee978e30;hb=74a1541fc05869163401c4885da4445c8940c822;hpb=17639e6f1949d4e577803c655aefd299f7f43cd7 diff --git a/Client/xmlwriter.h b/Client/xmlwriter.h index 539ccab..ac60175 100644 --- a/Client/xmlwriter.h +++ b/Client/xmlwriter.h @@ -24,24 +24,24 @@ #include -class XmlWriter : public QObject -{ +class XmlWriter : public QObject { + Q_OBJECT public: XmlWriter(); ~XmlWriter(); - int tmpvalue; private: QXmlStreamWriter xmlwriter; public slots: void writeRegistering(QBuffer *netbuf, QString usr, QString psswd, QString email); - void writeResult(QBuffer *netbuf); + void writeResult(QBuffer *netbuf, double result); + void writeGpsTrack(QBuffer *netbuf, int counter, int start, int stop, int lat, int lon, int alt, int speed, int time); bool writeXmlFile(QIODevice *device); - void writeXml(QString usr, QString psswd, QString email); + //void writeXml(QString usr, QString psswd, QString email); + void writeXml(); void writeItems(); - void serverWritesTop(); - }; #endif // XMLWRITER_H +