diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-06-30 14:06:03 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-30 14:06:03 -0700 |
commit | 8315f44d2c447d5a6a1dcd9c505cb85fd73469be (patch) | |
tree | 7ed68d1f3b8f09e89d219dddf2e1d09a6751a148 /qt-ui/subsurfacewebservices.cpp | |
parent | 5b93c61348d29c5e9aac4978cf37f7f9343200da (diff) | |
parent | e4a88db7dc197eee3a7f63ba1fc725c10a195073 (diff) | |
download | subsurface-8315f44d2c447d5a6a1dcd9c505cb85fd73469be.tar.gz |
Merge branch 'survey'
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); +} |