2014-06-13 17:56:46 +00:00
|
|
|
#ifndef USERSURVEY_H
|
|
|
|
#define USERSURVEY_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
2014-06-30 14:19:22 +00:00
|
|
|
class QNetworkAccessManager;
|
|
|
|
class QNetworkReply;
|
2014-06-13 17:56:46 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class UserSurvey;
|
|
|
|
}
|
|
|
|
|
|
|
|
class UserSurvey : public QDialog {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit UserSurvey(QWidget *parent = 0);
|
|
|
|
~UserSurvey();
|
2014-07-31 18:20:11 +00:00
|
|
|
static QString getVersion();
|
2014-08-08 18:13:05 +00:00
|
|
|
static QString getUserAgent();
|
2014-06-13 17:56:46 +00:00
|
|
|
|
|
|
|
private
|
|
|
|
slots:
|
|
|
|
void on_buttonBox_accepted();
|
|
|
|
void on_buttonBox_rejected();
|
2014-07-16 20:20:21 +00:00
|
|
|
void requestReceived();
|
2014-06-13 17:56:46 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::UserSurvey *ui;
|
2014-06-30 14:19:22 +00:00
|
|
|
QString os;
|
2014-06-13 17:56:46 +00:00
|
|
|
};
|
|
|
|
#endif // USERSURVEY_H
|