Debian Codegraph @

src/transfer_dialog.h

raw symbols SCIP
1 #pragma once
2
3 #include "job_options.h"
4 #include "pch.h"
5 #include "ui_transfer_dialog.h"
6
7 class TransferDialog : public QDialog {
8 Q_OBJECT
9
10 public:
11 TransferDialog(bool isDownload, bool isDrop, const QString &remote,
12 const QDir &path, bool isFolder, QWidget *parent = nullptr,
13 JobOptions *task = nullptr, bool editMode = false);
14 ~TransferDialog();
15
16 void setSource(const QString &path);
17
18 QString getMode() const;
19 QString getSource() const;
20 QString getDest() const;
21 QStringList getOptions();
22
23 JobOptions *getJobOptions();
24
25 private:
26 Ui::TransferDialog ui;
27
28 bool mIsDownload;
29 bool mDryRun = false;
30 bool mIsFolder;
31 bool mIsEditMode;
32
33 JobOptions *mJobOptions;
34
35 void putJobOptions();
36
37 void done(int r) override;
38
39 signals:
40 void tasksListChanged();
41 };