mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
core: make prepareDives public in uploadDiveLogsDE
prepareDives needs to be public, in order to be used in subsurfacewebservices. "friend" is another option, but that gives subsurfacewebservices too much freedom. Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
parent
49e6330399
commit
d9f637a815
1 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,9 @@ public:
|
|||
static uploadDiveLogsDE *instance();
|
||||
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:
|
||||
void updateProgress(qint64 current, qint64 total);
|
||||
void uploadFinished();
|
||||
|
@ -26,7 +29,6 @@ signals:
|
|||
private:
|
||||
uploadDiveLogsDE();
|
||||
|
||||
bool prepareDives(const QString &tempfile, const bool selected);
|
||||
void uploadDives(const QString &filename, const QString &userid, const QString &password);
|
||||
|
||||
QNetworkReply *reply;
|
||||
|
|
Loading…
Reference in a new issue