25 #ifndef DIGIKAM_FLICKR_TALKER_H
26 #define DIGIKAM_FLICKR_TALKER_H
35 #include <QNetworkReply>
42 class QProgressDialog;
74 explicit FlickrTalker(QWidget*
const parent,
const QString& serviceName,
78 void link(
const QString& userName);
80 void removeUserName(
const QString& userName);
81 QString getUserName()
const;
82 QString getUserId()
const;
83 void maxAllowedFileSize();
84 QString getMaxAllowedFileSize();
85 void getPhotoProperty(
const QString& method,
const QStringList& argList);
89 void listPhotos(
const QString& albumName);
90 void createPhotoSet(
const QString& name,
93 const QString& primaryPhotoId);
95 void addPhotoToPhotoSet(
const QString& photoId,
const QString& photoSetId);
96 bool addPhoto(
const QString& photoPath,
const FPhotoInfo& info,
97 bool original =
false,
bool rescale =
false,
98 int maxDim = 600,
int imageQuality = 85);
99 void setGeoLocation(
const QString& photoId,
const QString& lat,
const QString& lon);
124 void parseResponseMaxSize(
const QByteArray& data);
125 void parseResponseListPhotoSets(
const QByteArray& data);
126 void parseResponseListPhotos(
const QByteArray& data);
127 void parseResponseCreateAlbum(
const QByteArray& data);
128 void parseResponseAddPhoto(
const QByteArray& data);
129 void parseResponsePhotoProperty(
const QByteArray& data);
130 void parseResponseCreatePhotoSet(
const QByteArray& data);
131 void parseResponseAddPhotoToPhotoSet(
const QByteArray& data);
132 void parseResponseSetGeoLocation(
const QByteArray& data);
136 void slotLinkingFailed();
137 void slotLinkingSucceeded();
138 void slotCatchUrl(
const QUrl& url);
139 void slotOpenBrowser(
const QUrl& url);
140 void slotError(
const QString& msg);
141 void slotFinished(QNetworkReply* reply);
Definition: flickritem.h:40
Definition: flickritem.h:70
Definition: flickrtalker.h:53
void signalListPhotoSetsFailed(const QString &msg)
void signalError(const QString &msg)
void signalAddPhotoSetSucceeded()
QProgressDialog * m_authProgressDlg
Definition: flickrtalker.h:103
State
Definition: flickrtalker.h:59
@ FE_ADDPHOTO
Definition: flickrtalker.h:65
@ FE_ADDPHOTOTOPHOTOSET
Definition: flickrtalker.h:67
@ FE_GETMAXSIZE
Definition: flickrtalker.h:68
@ FE_LISTPHOTOS
Definition: flickrtalker.h:63
@ FE_GETPHOTOPROPERTY
Definition: flickrtalker.h:64
@ FE_LISTPHOTOSETS
Definition: flickrtalker.h:62
@ FE_CREATEPHOTOSET
Definition: flickrtalker.h:66
void signalBusy(bool val)
void signalListPhotoSetsFailed(QString &msg)
void signalListPhotoSetsSucceeded()
FPhotoSet m_selectedPhotoSet
Definition: flickrtalker.h:105
void signalAddPhotoSucceeded(const QString &)
void signalAddPhotoFailed(const QString &msg)
void signalLinkingSucceeded()
QList< FPhotoSet > * m_photoSetsList
Definition: flickrtalker.h:104
Definition: dinfointerface.h:56
Definition: piwigotalker.h:48
Definition: flickritem.h:37
Definition: datefolderview.cpp:43