| 1 | #pragma once |
| 2 | |
| 3 | #include "pch.h" |
| 4 | #include "ui_export_dialog.h" |
| 5 | |
| 6 | class ExportDialog : public QDialog { |
| 7 | Q_OBJECT |
| 8 | |
| 9 | public: |
| 10 | ExportDialog(const QString &remote, const QDir &path, |
| 11 | QWidget *parent = nullptr); |
| 12 | ~ExportDialog(); |
| 13 | |
| 14 | QString getDestination() const; |
| 15 | bool onlyFilenames() const; |
| 16 | QStringList getOptions() const; |
| 17 | |
| 18 | private: |
| 19 | Ui::ExportDialog ui; |
| 20 | QString mTarget; |
| 21 | |
| 22 | void done(int r) override; |
| 23 | }; |