diff options
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index 1babdaa8e..f545345d5 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -911,3 +911,16 @@ void DivelogsDeWebServices::buttonClicked(QAbstractButton *button) break; } } + +UserSurveyServices::UserSurveyServices(QWidget *parent, Qt::WindowFlags f) : WebServices(parent, f) +{ + +} + +void UserSurveyServices::sendSurvey(QString values) +{ + QNetworkRequest request; + request.setUrl(QString("http://subsurface.hohndel.org/survey?%1").arg(values)); + request.setRawHeader("Accept", "text/xml"); + reply = manager()->get(request); +} |