summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/subsurfacewebservices.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/subsurfacewebservices.h')
-rw-r--r--desktop-widgets/subsurfacewebservices.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/desktop-widgets/subsurfacewebservices.h b/desktop-widgets/subsurfacewebservices.h
index 86454fd6c..8f515e27c 100644
--- a/desktop-widgets/subsurfacewebservices.h
+++ b/desktop-widgets/subsurfacewebservices.h
@@ -59,19 +59,18 @@ slots:
void saveToZipFile();
void listDownloadFinished();
void downloadFinished();
- void uploadFinished();
+ void uploadFinished(bool success, const QString &text);
void downloadError(QNetworkReply::NetworkError error);
- void uploadError(QNetworkReply::NetworkError error);
void startUpload();
+ void updateProgress(qreal current, qreal total);
+ void uploadStatus(const QString &text);
private:
- bool uploadDives(bool selected);
explicit DivelogsDeWebServices(QWidget *parent = 0, Qt::WindowFlags f = 0);
void setStatusText(int status);
void download_dialog_traverse_xml(xmlNodePtr node, unsigned int *download_status);
unsigned int download_dialog_parse_response(const QByteArray &length);
- QHttpMultiPart *multipart;
QTemporaryFile zipFile;
bool uploadMode;
bool useSelectedDives;