2017-04-23 15:05:48 +02:00
|
|
|
#ifndef CLIPBOARDUPLOADER_HPP
|
|
|
|
#define CLIPBOARDUPLOADER_HPP
|
|
|
|
|
2017-07-29 17:22:17 +02:00
|
|
|
#include <QApplication>
|
2017-04-23 15:05:48 +02:00
|
|
|
#include <QPixmap>
|
|
|
|
#include <uploaders/uploader.hpp>
|
|
|
|
|
2017-05-06 13:21:12 +02:00
|
|
|
class ClipboardUploader : public Uploader {
|
2017-07-29 17:22:17 +02:00
|
|
|
Q_DECLARE_TR_FUNCTIONS(ClipboardUploader)
|
2017-06-04 22:58:29 +02:00
|
|
|
public:
|
2017-05-09 17:26:00 +02:00
|
|
|
QString name() {
|
|
|
|
return "clipboard";
|
|
|
|
}
|
|
|
|
QString description() {
|
|
|
|
return "Copies the image to clipboard";
|
|
|
|
}
|
2017-06-04 22:58:29 +02:00
|
|
|
|
2017-06-06 17:05:34 +02:00
|
|
|
void doUpload(QByteArray imgData, QString format);
|
2017-04-23 15:05:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CLIPBOARDUPLOADER_HPP
|