-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDropBoxAuthDialog.h
More file actions
38 lines (29 loc) · 813 Bytes
/
DropBoxAuthDialog.h
File metadata and controls
38 lines (29 loc) · 813 Bytes
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
#ifndef DROPBOXAUTHDIALOG_H
#define DROPBOXAUTHDIALOG_H
#include <QDialog>
#include "dropbox/endpoint/DropboxAppInfo.h"
using namespace dropboxQt;
namespace Ui {
class DropBoxAuthDialog;
}
class DropBoxAuthDialog : public QDialog
{
Q_OBJECT
public:
explicit DropBoxAuthDialog(QString workingPath, QWidget *parent = nullptr);
~DropBoxAuthDialog();
QString getToken( void ){ return m_token; }
private slots:
void on_pushButtonGetToken_clicked();
void on_lineEditAuthCode_textChanged(const QString &arg1);
void on_pushButtonPaste_clicked();
void on_buttonBox_accepted();
void on_buttonBox_rejected();
private:
Ui::DropBoxAuthDialog *ui;
QString m_url;
DropboxAppInfo m_appInfo;
QString m_token;
QString m_workingPath;
};
#endif // DROPBOXAUTHDIALOG_H