X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Fxmlreader.h;h=6ba8f66f42ad5b74da568d370d896248451f791b;hp=4a751a31a649def560169133578749f1a51b4572;hb=3fa5091583bdd9421a4ecd5851d954e9bed58731;hpb=ca99897dbd880fee2f7a7d77e4db8eef1fd00fe9 diff --git a/Client/xmlreader.h b/Client/xmlreader.h index 4a751a3..6ba8f66 100644 --- a/Client/xmlreader.h +++ b/Client/xmlreader.h @@ -15,17 +15,20 @@ #include #include "categorylist.h" +class ProfileDialog; + class XmlReader : public QObject { Q_OBJECT public: XmlReader(); ~XmlReader(); CategoryList *myCategoryList; + void xmlReadProfile(QIODevice *device, ProfileDialog *profileDialog); private: QXmlStreamReader xmlreader; - QXmlStreamAttributes attr; + ProfileDialog *profile; QString category; QString unit; QString date; @@ -39,7 +42,7 @@ signals: void receivedTop10List(); public slots: - void xmlReadTop10Results(QNetworkReply *device); + void xmlReadTop10Results(QNetworkReply *device, QString userName); void xmlReadCategories(QNetworkReply *device); //void xmlReadCategories(QIODevice *device); void xmlShow();