You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include "clipboarduploader.hpp" |
|
|
|
#include <QApplication> |
|
#include <QClipboard> |
|
#include <notifications.hpp> |
|
|
|
void ClipboardUploader::doUpload(QPixmap *pixmap) |
|
{ |
|
QApplication::clipboard()->setImage(pixmap->toImage()); |
|
notifications::notify("KShare", "Copied to clipboard!"); |
|
}
|
|
|