diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-10-24 22:52:11 -0200 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-10-24 22:52:11 -0200 |
commit | 216f9212b953aecddea1cfbce6a10740d3db2cd4 (patch) | |
tree | 8acde3c581eb03b31ac2bcfc010db876792ef83d /qt-ui/subsurfacewebservices.cpp | |
parent | 06ba04ab785e142ead9f95b3335e0d6237f03ad1 (diff) | |
download | subsurface-216f9212b953aecddea1cfbce6a10740d3db2cd4.tar.gz |
Added the skeleton for the Download / Upload from Divelogs.de
Added the skeleton code for the Download / Upload from Divelogs.
de webservice. Now I need to hoopup things from the .ui side and
do the actual implementation of the code.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index 7475ff1c7..edca1ee74 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -36,6 +36,12 @@ void WebServices::hideUpload() ui.upload->hide(); } +// # +// # +// # Subsurface Web Service Implementation. +// # +// # + SubsurfaceWebServices* SubsurfaceWebServices::instance() { static SubsurfaceWebServices *self = new SubsurfaceWebServices(); @@ -254,3 +260,49 @@ static bool merge_locations_into_dives(void) } return changed > 0; } + +// # +// # +// # Divelogs DE Web Service Implementation. +// # +// # + +DivelogsDeWebServices* DivelogsDeWebServices::instance() +{ + +} + +DivelogsDeWebServices::DivelogsDeWebServices(QWidget* parent, Qt::WindowFlags f): WebServices(parent, f) +{ + +} + +void DivelogsDeWebServices::startUpload() +{ + +} + +void DivelogsDeWebServices::startDownload() +{ + +} + +void DivelogsDeWebServices::downloadFinished() +{ + +} + +void DivelogsDeWebServices::setStatusText(int status) +{ + +} + +void DivelogsDeWebServices::downloadError(QNetworkReply::NetworkError error) +{ + +} + +void DivelogsDeWebServices::buttonClicked(QAbstractButton* button) +{ + +} |