mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
444a97e6c9
QQtExample工程依赖于QQt工程
30 lines
524 B
C++
30 lines
524 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
#include <qtsoap.h>
|
|
#include <qqt-qt.h>
|
|
|
|
class MainWindow : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MainWindow(QWidget* parent = 0);
|
|
~MainWindow();
|
|
|
|
private slots:
|
|
void onResponse(const QtSoapMessage&);
|
|
void onSubmit();
|
|
|
|
private:
|
|
QtSoapHttpTransport* m_pHttp;
|
|
QLabel* m_pQQLabel;
|
|
QLabel* m_pStateLabel ;
|
|
QLineEdit* m_pQQLineEdit ;
|
|
QLineEdit* m_pStateLineEdit;
|
|
QPushButton* m_pSubmitButton ;
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|