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

0001 #ifndef O1FLICKR_H
0002 #define O1FLICKR_H
0003 
0004 #include "o0export.h"
0005 #include "o1.h"
0006 
0007 /// Flickr authenticator.
0008 class O0_EXPORT O1Flickr: public O1 {
0009     Q_OBJECT
0010 
0011 public:
0012     explicit O1Flickr(QObject *parent = 0): O1(parent) {
0013         setRequestTokenUrl(QUrl("http://www.flickr.com/services/oauth/request_token"));
0014         setAuthorizeUrl(QUrl("http://www.flickr.com/services/oauth/authorize?perms=write"));
0015         setAccessTokenUrl(QUrl("http://www.flickr.com/services/oauth/access_token"));
0016     }
0017 };
0018 
0019 #endif // O1FLICKR_H