source: subsurface/desktop-widgets/diveshareexportdialog.h @ 5a4485b

Last change on this file since 5a4485b was 5a4485b, checked in by Dirk Hohndel <dirk@…>, 6 months ago

Random whitespace cleanup

Signed-off-by: Dirk Hohndel <dirk@…>

  • Property mode set to 100644
File size: 760 bytes
Line 
1// SPDX-License-Identifier: GPL-2.0
2#ifndef DIVESHAREEXPORTDIALOG_H
3#define DIVESHAREEXPORTDIALOG_H
4
5#include <QDialog>
6#include <QNetworkReply>
7#include <QNetworkAccessManager>
8
9#define DIVESHARE_WEBSITE "dive-share.appspot.com"
10#define DIVESHARE_BASE_URI "http://" DIVESHARE_WEBSITE
11
12namespace Ui {
13class DiveShareExportDialog;
14}
15
16class DiveShareExportDialog : public QDialog
17{
18        Q_OBJECT
19public:
20        explicit DiveShareExportDialog(QWidget *parent = 0);
21        ~DiveShareExportDialog();
22        static DiveShareExportDialog *instance();
23        void prepareDivesForUpload(bool);
24private:
25        Ui::DiveShareExportDialog *ui;
26        bool exportSelected;
27        QNetworkReply *reply;
28private
29slots:
30        void UIDFromBrowser();
31        void doUpload();
32        void finishedSlot();
33};
34
35#endif // DIVESHAREEXPORTDIALOG_H
Note: See TracBrowser for help on using the repository browser.