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