-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsharefolderwindow.h
More file actions
45 lines (39 loc) · 1.02 KB
/
sharefolderwindow.h
File metadata and controls
45 lines (39 loc) · 1.02 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
#ifndef SHAREFOLDERWINDOW_H
#define SHAREFOLDERWINDOW_H
#include "common.h"
#include "psynclib.h"
#include "remotetreesdialog.h"
#include <QMainWindow>
#include <QTreeWidgetItem>
#include <QCloseEvent>
#include <QShowEvent>
namespace Ui {
class ShareFolderWindow;
}
class PCloudWindow;
class PCloudApp;
class ShareFolderWindow : public QMainWindow
{
Q_OBJECT
public:
explicit ShareFolderWindow(PCloudApp *a,PCloudWindow *w, QString path, QWidget *parent = 0);
~ShareFolderWindow();
void setContextMenuFlag(bool flag);
void setFldrbyMenu(QString path); // for contex menu only
private:
Ui::ShareFolderWindow *ui;
PCloudApp *app;
bool contxMenuFlag;
QString fldrPath;
quint64 fldrid;
PCloudWindow* pclwin;
RemoteTreesDialog *remoteFldrsDialog;
void displayShareName();
void closeEvent(QCloseEvent *event);
void showEvent(QShowEvent *event);
public slots:
void setFlrd();
void shareFolder();
void showError(const char* err);
};
#endif // SHAREFOLDERWINDOW_H