25 #ifndef DIGIKAM_GP_TALKER_H
26 #define DIGIKAM_GP_TALKER_H
50 explicit GPTalker(QWidget*
const parent);
57 void listAlbums(
const QString& nextPageToken = QString());
59 const QString& nextPageToken = QString());
63 bool addPhoto(
const QString& photoPath,
65 const QString& albumId,
76 void getPhoto(
const QString& imgPath);
92 const QByteArray& photoData,
const QString& fileName);
97 void parseResponseGetLoggedInUser(
const QByteArray& data);
98 void parseResponseListAlbums(
const QByteArray& data);
99 void parseResponseListPhotos(
const QByteArray& data);
100 void parseResponseCreateAlbum(
const QByteArray& data);
101 void parseResponseAddPhoto(
const QByteArray& data);
102 void parseResponseUploadPhoto(
const QByteArray& data);
106 void slotError(
const QString& msg);
107 void slotFinished(QNetworkReply* reply);
108 void slotUploadPhoto();
Definition: gptalker.h:45
void getPhoto(const QString &imgPath)
Definition: gptalker.cpp:474
QStringList getUploadTokenList()
Definition: gptalker.cpp:170
void signalUploadPhotoDone(int, const QString &, const QStringList &)
void signalError(const QString &msg)
void signalReadyToUpload()
void listPhotos(const QString &albumId, const QString &nextPageToken=QString())
Definition: gptalker.cpp:249
void signalListAlbumsDone(int, const QString &, const QList< GSFolder > &)
void signalSetUserName(const QString &msg)
bool addPhoto(const QString &photoPath, GSPhoto &info, const QString &albumId, bool original, bool rescale, int maxDim, int imageQuality)
Definition: gptalker.cpp:323
void getLoggedInUser()
Definition: gptalker.cpp:224
void signalCreateAlbumDone(int, const QString &, const QString &)
~GPTalker() override
Definition: gptalker.cpp:157
void signalAddPhotoDone(int, const QString &)
void listAlbums(const QString &nextPageToken=QString())
Definition: gptalker.cpp:183
bool updatePhoto(const QString &photoPath, GSPhoto &info, bool rescale, int maxDim, int imageQuality)
Definition: gptalker.cpp:410
void signalListPhotosDone(int, const QString &, const QList< GSPhoto > &)
void createAlbum(const GSFolder &newAlbum)
Definition: gptalker.cpp:291
void signalGetPhotoDone(int errCode, const QString &errMsg, const QByteArray &photoData, const QString &fileName)
void cancel()
Definition: gptalker.cpp:493
GPTalker(QWidget *const parent)
Definition: gptalker.cpp:131
Definition: gstalkerbase.h:45
Definition: piwigotalker.h:48
Definition: gdmpform.cpp:46