18 explicit CDesktop(QObject *parent =
nullptr){};
23 virtual int Width() = 0;
24 virtual int Height() = 0;
25 virtual QImage GetDesktop() = 0;
26 virtual QImage GetDesktop(
int x,
int y,
int width,
int height) = 0;
27 virtual QImage GetCursor(QPoint &pos, QPoint &posHot) = 0;
28 virtual QPoint GetCursorPosition() = 0;
29 virtual bool GetHasCursor()
const
33 virtual void SetHasCursor(
bool newHaveCursor)
35 m_bHasCursor = newHaveCursor;
39 void sigUpdate(QImage desktop, QRect rect);