-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathaddsyncdialog.h
More file actions
50 lines (45 loc) · 1.17 KB
/
addsyncdialog.h
File metadata and controls
50 lines (45 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef ADDSYNCDIALOG_H
#define ADDSYNCDIALOG_H
#include <syncpage.h>
//#include "pcloudapp.h"
//#include "pcloudwindow.h"
#include "suggestnsbasewin.h"
#include "remotetreesdialog.h"
#include "common.h"
#include <QFileDialog>
#include <QDialog>
#include <QFileSystemModel>
namespace Ui {
class addSyncDialog;
}
class SyncPage;
class SuggestnsBaseWin;
class PCloudWindow;
class PCloudApp;
class addSyncDialog : public QDialog
{
Q_OBJECT
public:
friend class SuggestnsBaseWin;
explicit addSyncDialog(PCloudApp *a,PCloudWindow *w,SuggestnsBaseWin *wlcm, QWidget *parent = 0);
~addSyncDialog();
private:
Ui::addSyncDialog *ui;
PCloudApp *app;
PCloudWindow *win;
SuggestnsBaseWin *addNewSyncsWin;
//QFileSystemModel *model; // the old tree
RemoteTreesDialog *remotesDialog;
QString localpath, remotepath;
QString getDisplFldrPath(QString fldrpath, QChar osSep);
void showError(const QString &err);
void load();
public slots:
void chooseLocalFldr();
void chooseRemoteFldr();
void addSync();
// void newLocalFldr(); //obsolete
void newRemoteFldr(QString dirname);
void hideDialog();
};
#endif // ADDSYNCDIALOG_H