mirror of
https://github.com/theCheeseboard/thedesk.git
synced 2025-01-22 18:32:09 -05:00
29 lines
588 B
C++
29 lines
588 B
C++
#ifndef SCREENSHOTMANAGER_H
|
|
#define SCREENSHOTMANAGER_H
|
|
|
|
#include <QObject>
|
|
|
|
struct ScreenshotManagerPrivate;
|
|
class ScreenshotManager : public QObject {
|
|
Q_OBJECT
|
|
public:
|
|
explicit ScreenshotManager(QObject* parent = nullptr);
|
|
~ScreenshotManager();
|
|
|
|
void setupForTheDesk();
|
|
void showScreenshotWindows();
|
|
|
|
QPixmap finalPixmap();
|
|
bool accepted();
|
|
|
|
signals:
|
|
void finished();
|
|
|
|
private:
|
|
ScreenshotManagerPrivate* d;
|
|
|
|
void accept(QPixmap pixmap);
|
|
void reject();
|
|
};
|
|
|
|
#endif // SCREENSHOTMANAGER_H
|