xref: /OK3568_Linux_fs/app/forlinx/forlinx_qt/4g/mainwindow.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
3 
4 #include <QMainWindow>
5 #include <QProcess>
6 
7 namespace Ui {
8 class MainWindow;
9 }
10 
11 class MainWindow : public QMainWindow
12 {
13     Q_OBJECT
14 
15 public:
16     explicit MainWindow(QWidget *parent = 0);
17     ~MainWindow();
18 
19 public slots:
20     bool eventFilter(QObject *,QEvent *);
21 
22 private slots:
23     void result();
24     void ping_result();
25     void on_connect_clicked();
26     void on_ping_clicked();
27 
28 private:
29     Ui::MainWindow *ui;
30     QProcess *myprocess;
31     QProcess *ping_process;
32 };
33 
34 #endif // MAINWINDOW_H
35