Tielhalter

Untitled

Feb 16th, 2012
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef WIDGET_H
  2. #define WIDGET_H
  3.  
  4. #include <QtNetwork>
  5. #include <QtGui>
  6. #include <QtCore>
  7.  
  8. namespace Ui {
  9.     class Widget;
  10. }
  11.  
  12. class Widget : public QWidget
  13. {
  14.     Q_OBJECT
  15.  
  16. public:
  17.     explicit Widget(QWidget *parent = 0);
  18.     ~Widget();
  19.  
  20.     QNetworkAccessManager manager;
  21.     QNetworkReply *reply;
  22.     QUrl apiUrl;
  23.     QByteArray requestString;
  24.  
  25. public slots:
  26.     void getReplyFinished();
  27.     void readyReadReply();
  28.  
  29. private:
  30.     Ui::Widget *ui;
  31.  
  32. private slots:
  33.     void on_pushButton_clicked();
  34. };
  35.  
  36. #endif // WIDGET_H
Advertisement
Add Comment
Please, Sign In to add comment