diff --git a/3rdparty/o2/src/o1twitter.h b/3rdparty/o2/src/o1twitter.h new file mode 100644 index 0000000000000000000000000000000000000000..0fd3e9f9003b2f37af386bb5be650b152ab48192 --- /dev/null +++ b/3rdparty/o2/src/o1twitter.h @@ -0,0 +1,17 @@ +#ifndef O1TWITTER_H +#define O1TWITTER_H + +#include "o1.h" + +class O1Twitter: public O1 { + Q_OBJECT + +public: + explicit O1Twitter(QObject *parent = 0): O1(parent) { + setRequestTokenUrl(QUrl("https://api.twitter.com/oauth/request_token")); + setAuthorizeUrl(QUrl("https://api.twitter.com/oauth/authenticate")); + setAccessTokenUrl(QUrl("https://api.twitter.com/oauth/access_token")); + } +}; + +#endif // O1TWITTER_H