25 #ifndef DIGIKAM_FB_TALKER_H
26 #define DIGIKAM_FB_TALKER_H
35 #include <QNetworkReply>
53 explicit FbTalker(QWidget*
const parent);
69 void addPhoto(
const QString& imgPath,
const QString& albumID,
70 const QString& caption);
87 void getLoggedInUser();
89 QString errorToText(
int errCode,
const QString& errMsg);
90 int parseErrorResponse(
const QDomElement& e, QString& errMsg);
91 void parseResponseGetLoggedInUser(
const QByteArray& data);
92 void parseResponseAddPhoto(
const QByteArray& data);
93 void parseResponseCreateAlbum(
const QByteArray& data);
94 void parseResponseListAlbums(
const QByteArray& data);
95 void parseResponseLogoutUser();
99 void slotLinkingSucceeded();
100 void slotCatchUrl(
const QUrl& url);
101 void slotFinished(QNetworkReply* reply);
Definition: fbtalker.h:48
void signalLoginProgress(int step, int maxStep=0, const QString &label=QString())
void signalBusy(bool val)
void signalAddPhotoDone(int errCode, const QString &errMsg)
void writeSettings()
Definition: fbtalker.cpp:793
void createAlbum(const FbAlbum &album)
Definition: fbtalker.cpp:382
FbTalker(QWidget *const parent)
Definition: fbtalker.cpp:149
void link()
Definition: fbtalker.cpp:175
void addPhoto(const QString &imgPath, const QString &albumID, const QString &caption)
Definition: fbtalker.cpp:440
bool linked()
Definition: fbtalker.cpp:273
~FbTalker()
Definition: fbtalker.cpp:163
void listAlbums(long long userID=0)
Definition: fbtalker.cpp:337
void signalCreateAlbumDone(int errCode, const QString &errMsg, const QString &newAlbumId)
FbUser getUser() const
Definition: fbtalker.cpp:268
void readSettings()
Definition: fbtalker.cpp:801
void signalListAlbumsDone(int errCode, const QString &errMsg, const QList< FbAlbum > &albumsList)
void cancel()
Definition: fbtalker.cpp:213
void unlink()
Definition: fbtalker.cpp:201
void signalLoginDone(int errCode, const QString &errMsg)
void logout()
Definition: fbtalker.cpp:308
Definition: piwigotalker.h:48