core: uploadDiveLogsDE::prepareDives no longer need to be public

Integration into desktop-widgets is complete.

Move prepareDives() from public to private

Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
jan Iversen 2019-12-10 11:36:42 +01:00 committed by Dirk Hohndel
parent ebe317d644
commit 85e6e90559

View file

@ -13,9 +13,6 @@ public:
static uploadDiveLogsDE *instance(); static uploadDiveLogsDE *instance();
void doUpload(bool selected, const QString &userid, const QString &password); void doUpload(bool selected, const QString &userid, const QString &password);
// only to be used in desktop-widgets::subsurfacewebservices
bool prepareDives(const QString &tempfile, const bool selected);
private slots: private slots:
void updateProgressSlot(qint64 current, qint64 total); void updateProgressSlot(qint64 current, qint64 total);
void uploadFinishedSlot(); void uploadFinishedSlot();
@ -32,6 +29,9 @@ private:
void uploadDives(const QString &filename, const QString &userid, const QString &password); void uploadDives(const QString &filename, const QString &userid, const QString &password);
// only to be used in desktop-widgets::subsurfacewebservices
bool prepareDives(const QString &tempfile, const bool selected);
QNetworkReply *reply; QNetworkReply *reply;
QHttpMultiPart *multipart; QHttpMultiPart *multipart;
QTimer timeout; QTimer timeout;