1. #ifndef MAINWINDOW_H
  2. #define MAINWINDOW_H
  3. #include <QMainWindow>
  4. #include <QNetworkReply>
  5. namespace Ui {
  6. class MainWindow;
  7. }
  8. class MainWindow : public QMainWindow
  9. {
  10. Q_OBJECT
  11. public:
  12. explicit MainWindow(QWidget *parent = 0);
  13. ~MainWindow();
  14. private slots:
  15. void on_btn_crash_clicked();
  16. private:
  17. Ui::MainWindow *ui;
  18. QNetworkReply *mNetworkReply;
  19. QNetworkAccessManager* mNetworkAccessManager;
  20. };
  21. #endif // MAINWINDOW_H
Comments powered by Disqus