24 #ifndef DIGIKAM_VKONTAKTE_GETPHOTOUPLOADSERVERJOB_H
25 #define DIGIKAM_VKONTAKTE_GETPHOTOUPLOADSERVERJOB_H
38 class GetPhotoUploadServerJob :
public VkontakteJob
44 GetPhotoUploadServerJob(
const QString& accessToken, Vkontakte::UploadPhotosJob::Dest m_dest);
46 void initUploadAlbum(
int aid,
int gid = -1);
47 QUrl uploadUrl()
const;
51 void prepareQueryItems()
override;
52 void handleData(
const QJsonValue& data)
override;
54 static QString getMethod(
enum UploadPhotosJob::Dest dest);
58 UploadPhotosJob::Dest m_dest;
67 GetPhotoUploadServerJob(QObject*) =
delete;