Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 513 Bytes
#ifndef O1DROPBOX_H
#define O1DROPBOX_H
#include "o0export.h"
#include "o1.h"
/// Dropbox authenticator
class O0_EXPORT O1Dropbox: public O1 {
Q_OBJECT
public:
explicit O1Dropbox(QObject *parent = 0): O1(parent) {
setRequestTokenUrl(QUrl("https://api.dropbox.com/1/oauth/request_token"));
setAuthorizeUrl(QUrl("https://www.dropbox.com/1/oauth/authorize?display=mobile"));
setAccessTokenUrl(QUrl("https://api.dropbox.com/1/oauth/access_token"));
}
};
#endif // O1DROPBOX_H