23 #ifndef DIGIKAM_DB_TALKER_H
24 #define DIGIKAM_DB_TALKER_H
31 #include <QNetworkReply>
42 explicit DBTalker(QWidget*
const parent);
53 void listFolders(
const QString& cursor = QString());
54 bool addPhoto(
const QString& imgPath,
const QString& uploadFolder,
55 bool original,
bool rescale,
int maxDim,
int imageQuality);
73 void slotLinkingFailed();
74 void slotLinkingSucceeded();
75 void slotOpenBrowser(
const QUrl& url);
76 void slotFinished(QNetworkReply* reply);
80 void parseResponseUserName(
const QByteArray& data);
81 void parseResponseListFolders(
const QByteArray& data);
82 void parseResponseCreateFolder(
const QByteArray& data);
83 void parseResponseAddPhoto(
const QByteArray& data);
Definition: dbtalker.h:37
bool addPhoto(const QString &imgPath, const QString &uploadFolder, bool original, bool rescale, int maxDim, int imageQuality)
Definition: dbtalker.cpp:281
void signalSetUserName(const QString &msg)
void signalLinkingFailed()
DBTalker(QWidget *const parent)
Definition: dbtalker.cpp:118
void signalAddPhotoSucceeded()
void cancel()
Definition: dbtalker.cpp:356
void listFolders(const QString &cursor=QString())
Definition: dbtalker.cpp:255
bool authenticated()
Definition: dbtalker.cpp:212
void createFolder(const QString &path)
Definition: dbtalker.cpp:219
void link()
Definition: dbtalker.cpp:162
void reauthenticate()
Definition: dbtalker.cpp:177
void signalCreateFolderFailed(const QString &msg)
void signalBusy(bool val)
void getUserName()
Definition: dbtalker.cpp:240
void unLink()
Definition: dbtalker.cpp:168
~DBTalker() override
Definition: dbtalker.cpp:150
void signalListAlbumsDone(const QList< QPair< QString, QString > > &list)
void signalCreateFolderSucceeded()
void signalListAlbumsFailed(const QString &msg)
void signalLinkingSucceeded()
void signalAddPhotoFailed(const QString &msg)
Definition: piwigotalker.h:48