23 #ifndef DIGIKAM_TWITTER_TALKER_H
24 #define DIGIKAM_TWITTER_TALKER_H
31 #include <QNetworkReply>
35 #if defined(Q_CC_CLANG)
36 # pragma clang diagnostic push
37 # pragma clang diagnostic ignored "-Wextra-semi"
41 #include "o0globals.h"
42 #include "o1twitter.h"
44 #if defined(Q_CC_CLANG)
45 # pragma clang diagnostic pop
64 explicit TwTalker(QWidget*
const parent);
74 bool addPhoto(
const QString& imgPath,
const QString& uploadFolder,
bool rescale,
int maxDim,
int imageQuality);
78 QMap<QString, QString> ParseUrlParameters(
const QString& url);
79 void createTweet(
const QString& mediaId);
81 bool addPhotoSingleUpload(
const QString& imgPath);
83 bool addPhotoInit(
const QString& imgPath);
84 bool addPhotoAppend(
const QString& mediaId,
int segmentIndex=0);
85 bool addPhotoFinalize(
const QString& mediaId);
104 void slotLinkingFailed();
105 void slotLinkingSucceeded();
106 void slotOpenBrowser(
const QUrl& url);
107 void slotFinished(QNetworkReply* reply);
109 void slotCheckUploadStatus();
113 void parseResponseUserName(
const QByteArray& data);
114 void parseResponseListFolders(
const QByteArray& data);
115 void parseResponseCreateFolder(
const QByteArray& data);
116 void parseResponseAddPhoto(
const QByteArray& data);
117 void parseResponseAddPhotoInit(
const QByteArray& data);
118 void parseResponseAddPhotoAppend(
const QByteArray& data,
int segmentIndex);
119 void parseResponseAddPhotoFinalize(
const QByteArray& data);
120 void parseResponseCreateTweet(
const QByteArray& data);
121 void parseCheckUploadStatus(
const QByteArray& data);
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43