24 #ifndef DIGIKAM_MEDIAWIKI_UPLOAD_H
25 #define DIGIKAM_MEDIAWIKI_UPLOAD_H
32 #include <QNetworkCookieJar>
52 class Upload :
public Job
55 Q_DECLARE_PRIVATE(Upload)
64 InternalError= Job::UserDefinedError+1,
132 explicit Upload(Iface& MediaWiki, QObject*
const parent =
nullptr);
142 void start()
override;
148 void setFilename(
const QString&);
154 void setFile(QIODevice*
const);
160 void setComment(
const QString&);
166 void setText(
const QString&);
170 void doWorkSendRequest(
const Page& page);
171 void doWorkProcessReply();