KShare/screenshotutil.hpp
2017-07-05 16:41:53 +02:00

16 lines
433 B
C++

#ifndef SCREENSHOTUTIL_HPP
#define SCREENSHOTUTIL_HPP
#include <QApplication>
#include <QWidget>
namespace screenshotutil {
QPixmap fullscreen(bool cursor = true);
QPixmap fullscreenArea(bool cursor = true, qreal x = 0, qreal y = 0, qreal w = -1, qreal h = -1);
QPixmap window(WId wid, QScreen *w = QApplication::primaryScreen());
void toClipboard(QString value);
QPoint smallestScreenCoordinate();
}
#endif // SCREENSHOTUTIL_HPP