Index: sources/device/DeviceController.h =================================================================== diff -u -rf38edd22f7b63694c21b83d6f4b69ea618390126 -r052c794d6a8db55a2fbfdad172275af073ee54c3 --- sources/device/DeviceController.h (.../DeviceController.h) (revision f38edd22f7b63694c21b83d6f4b69ea618390126) +++ sources/device/DeviceController.h (.../DeviceController.h) (revision 052c794d6a8db55a2fbfdad172275af073ee54c3) @@ -77,11 +77,13 @@ bool init(); bool init(QThread &vThread); + void doScreenshot(const QImage &vImage, const QString &vFileName); + private slots: void quit(); void onRemoveLogs(bool vInProgress); + void onScreenshot(const QImage &vImage, const QString &vFileName); - protected: void timerEvent(QTimerEvent *) override; @@ -101,6 +103,14 @@ signals: /*! + * \brief didScreenshot + * \details The screenshot signal to run the onScreenshot slot in device controller thread. + * \param vImage - The image source object + * \param vFileName - The filename to same the image to + */ + void didScreenshot(const QImage &vImage, const QString &vFilenNme); + + /*! * \brief didUSBDriveMount * \details notifies UI when USB device is available and has been mounted. */