File indexing completed on 2025-01-19 03:55:38

0001 #ifndef O1DROPBOX_H
0002 #define O1DROPBOX_H
0003 
0004 #include "o0export.h"
0005 #include "o1.h"
0006 
0007 /// Dropbox authenticator
0008 class O0_EXPORT O1Dropbox: public O1 {
0009     Q_OBJECT
0010 
0011 public:
0012     explicit O1Dropbox(QObject *parent = 0): O1(parent) {
0013         setRequestTokenUrl(QUrl("https://api.dropbox.com/1/oauth/request_token"));
0014         setAuthorizeUrl(QUrl("https://www.dropbox.com/1/oauth/authorize?display=mobile"));
0015         setAccessTokenUrl(QUrl("https://api.dropbox.com/1/oauth/access_token"));
0016      }
0017 };
0018 
0019 #endif // O1DROPBOX_H