9f57a10bb8
Jeeeesh that's alot
22 lines
466 B
C++
22 lines
466 B
C++
#ifndef CLIPBOARDUPLOADER_HPP
|
|
#define CLIPBOARDUPLOADER_HPP
|
|
|
|
#include <QApplication>
|
|
#include <QPixmap>
|
|
#include <uploaders/uploader.hpp>
|
|
|
|
class ClipboardUploader : public Uploader {
|
|
Q_DECLARE_TR_FUNCTIONS(ClipboardUploader)
|
|
public:
|
|
QString name() {
|
|
return "clipboard";
|
|
}
|
|
QString description() {
|
|
return "Copies the image to clipboard";
|
|
}
|
|
|
|
void doUpload(QByteArray imgData, QString format);
|
|
};
|
|
|
|
#endif // CLIPBOARDUPLOADER_HPP
|