subsurface/qt-ui/usersurvey.h
Dirk Hohndel ddc01e39e7 Move helper functions around
We had a ton of helper functions in qt-gui.cpp which really didn't make
much sense. So I moved them all into qthelper.cpp.

Also moved the UserAgent helper that didn't belong in the UpdateHandler to
begin with - that's a generic helper used in many places...

With this we can successfully build using cmake again.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-02-23 09:31:08 -08:00

30 lines
467 B
C++

#ifndef USERSURVEY_H
#define USERSURVEY_H
#include <QDialog>
class QNetworkAccessManager;
class QNetworkReply;
namespace Ui {
class UserSurvey;
}
class UserSurvey : public QDialog {
Q_OBJECT
public:
explicit UserSurvey(QWidget *parent = 0);
~UserSurvey();
static QString getVersion();
private
slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
void requestReceived();
private:
Ui::UserSurvey *ui;
QString os;
};
#endif // USERSURVEY_H