123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #ifndef TWITTER_H
- #define TWITTER_H
- #include <QMainWindow>
- #include <QtNetwork/QNetworkAccessManager>
- #include <QUrl>
- #include <QtNetwork/QNetworkReply>
- #include <QtXml/QXmlStreamReader>
- #include <QtDebug>
- #include <QStringListModel>
- namespace Ui {
- class Twitter;
- }
- class Twitter : public QMainWindow
- {
- Q_OBJECT
- public:
- explicit Twitter(QWidget *parent = 0);
- ~Twitter();
- protected:
- void changeEvent(QEvent *e);
- private:
- Ui::Twitter *ui;
- QXmlStreamReader xml;
- void parseXml();
- // QNetworkAccessManager * manager ;
- private slots:
- void on_pushButton_released();
- void replyFinished(QNetworkReply*);
- };
- #endif // TWITTER_H
|