X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Fxmlwriter.h;h=ac60175df8c1bb1a43b37d89206a59dbeac1407d;hp=89a6ad0e9294adfe3f81e38b82a52ed630b9f247;hb=74a1541fc05869163401c4885da4445c8940c822;hpb=b5f6266e93bf1e41bfa6ad097a6fa8d8f96a2146 diff --git a/Client/xmlwriter.h b/Client/xmlwriter.h index 89a6ad0..ac60175 100644 --- a/Client/xmlwriter.h +++ b/Client/xmlwriter.h @@ -24,25 +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(); void writeItems(); - void serverWritesXml(); - }; #endif // XMLWRITER_H +