Index: sources/storage/usbwatcher.h =================================================================== diff -u -r56d00a82669a7a2c00ab90109a89dbec8db27527 -r415f3e16ff6e572c8ce7e7b3576e82ce8b44c6ce --- sources/storage/usbwatcher.h (.../usbwatcher.h) (revision 56d00a82669a7a2c00ab90109a89dbec8db27527) +++ sources/storage/usbwatcher.h (.../usbwatcher.h) (revision 415f3e16ff6e572c8ce7e7b3576e82ce8b44c6ce) @@ -25,6 +25,12 @@ namespace Storage { +/*! + * \brief The USBWatcher class + * \details This class is to watch the USB device to be mounted if plugged in + * or to be unmounted if user through UI requests it. + * and will notify UI (user) on mounted and removed(No USB drive exists). + */ class USBWatcher : public QObject { Q_OBJECT @@ -60,8 +66,22 @@ bool usbSeek(QString &vDevice); signals: + /*! + * \brief didUSBDriveMount + * \details notifies UI when USB device is available and has been mounted. + */ void didUSBDriveMount (); + + /*! + * \brief didUSBDriveUmount + * \details notifies USB watcher on UI(user) request for USB umount. + */ void didUSBDriveUmount(); + + /*! + * \brief didUSBDriveRemove + * \details notifies UI when USB device has been removed(not exists). + */ void didUSBDriveRemove(); private slots: