summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/mediamanager
Commit message (Collapse)AuthorAgeFilesLines
* Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORTMichele Calgaro2024-05-051-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-166-26/+26
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove usage of TDEDiskDeviceStatus::HotpluggableMichele Calgaro2023-12-281-4/+3
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, ↵Michele Calgaro2023-09-251-1/+1
| | | | | | QIODevice with TQ* version Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace various Q_* and QT_* defines with TQ_* and TQT_*Michele Calgaro2023-09-061-4/+4
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace Q_OBJECT with TQ_OBJECTMichele Calgaro2023-07-207-7/+7
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwmanager: use alphabetically sorted menus in tdehwdevicetray.Michele Calgaro2023-03-131-0/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdeioslave mediamanager: show the device node in the label also for ↵Michele Calgaro2023-03-121-3/+3
| | | | | | removable drives and CD/DVD disks. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add 'safeRemove' and 'safeRemoveByNode' to mediamanager DCOP interface.Michele Calgaro2022-03-274-0/+47
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwmanager: use tdeio_media_mounthelper process toMichele Calgaro2022-03-261-0/+2
| | | | | | | | mount/unmout/lock/unlock/ejct media devices. This ensures a consistent media device status also with complex partition structures and LUKS encryption. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdeio media: add releaseHolders parameter to lock/lockByNode dcop calls.Michele Calgaro2022-03-234-17/+73
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* mediamanager: fix name of available backends in error messages.Michele Calgaro2022-03-061-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added 'eject' and 'ejectByNode' to mediamanager DCOP interface.Michele Calgaro2022-02-194-59/+114
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Removed HAL dependant code.Michele Calgaro2022-02-147-2345/+21
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Updated after changes to tdehw lib related to device notificaitons.Michele Calgaro2021-08-151-2/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed FTBFS when building without tdehw but using HAL.Michele Calgaro2021-05-081-12/+15
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Update CMake rules to change tdehw library to standalone.Slávek Banko2021-05-071-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* mediamanager: added DCOP call to get medium's mimetype from its name.Michele Calgaro2021-03-062-26/+50
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Enable back media notification dialogs.Michele Calgaro2021-02-131-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* 1) tdehwdevicetray: added support for unmount/unlock/lock operations.Michele Calgaro2020-11-211-6/+6
| | | | | | 2) minor changes and improvements to user messages. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdeioslave media: safe removal and locking are now avaiable also forMichele Calgaro2020-10-171-1/+0
| | | | | | unlocked and mounted medium. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdeioslave media: mount/unmount/unlock/lock are only allowed on devicesMichele Calgaro2020-10-172-45/+79
| | | | | | for which those operations make sense. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdeioslave media: added LOCKED property to Medium class.Michele Calgaro2020-10-173-1/+8
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdeioslave media: fixed handling of mountable state for encrypted devices.Michele Calgaro2020-10-173-12/+29
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdeioslave media: clean up code related to medium mountable state in ↵Michele Calgaro2020-10-175-87/+164
| | | | | | preparation for further work. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdeioslave media: fixed update of mime type on encrypted CD/DVD devices ↵Michele Calgaro2020-10-171-0/+1
| | | | | | | | | | caused by missing udev events. Note: not sure if the bug was only specific to VirtualBox "iso" CD/DVD or general for any CD/DVD. In any case this fix is required if using LUKS encrytped .iso files with TDE running inside VirtualBox. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdeioslave media: fixed displaying of encrypted disks.Michele Calgaro2020-10-172-180/+63
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdeioslave media: added initial support for unlocking/locking of encrypted ↵Michele Calgaro2020-10-174-13/+88
| | | | | | devices. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added translation capabilities for "Unlock Storage Device" dialog box title.Slávek Banko2020-09-081-1/+1
| | | | | | This resolves issue #168. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Desktop file translations:Slávek Banko2020-06-282-135/+15
| | | | | | | + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix missing paired parentheses in HAL media backend.Slávek Banko2020-05-311-5/+5
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Improved support for bluray discs.Michele Calgaro2020-05-304-33/+71
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* mediamanager always get started at TDE startup. Therefore the module is no ↵Michele Calgaro2020-02-062-8/+10
| | | | | | longer available in TCC->TDE Components->Service Manager->Startup Services for enable/disable at startup. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Revive NetBSD supportOBATA Akio2019-08-182-4/+6
| | | | | | Catch up to TDE and OS changes Signed-off-by: OBATA Akio <obache@wizdas.com>
* Fixed incorrect display of media device mime comment. This relates toMichele Calgaro2019-08-131-16/+17
| | | | | | issue TDE/tdelibs#35. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Adjusted to new normalized device icon names in tdelibs.Michele Calgaro2019-07-092-43/+39
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Adjusted to new icon names and renamed media types related to encrypted ↵Michele Calgaro2019-07-097-50/+51
| | | | | | drives in a better way. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Renamed methods decrypt/undecrypt to unlock/lock.Michele Calgaro2019-07-086-41/+41
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Extended media manager dcop interface by adding functions toMichele Calgaro2019-07-084-4/+74
| | | | | | mount/unmount/decrypt/undecrypt a medium by device node (for example /dev/sdc). Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Improved media manager dcop interface for mount/unmount/decrypt/undecrypt ↵Michele Calgaro2019-07-088-231/+373
| | | | | | methods by returning more information. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Adjusted to use new TQStringVariantMap type.Michele Calgaro2019-07-081-3/+3
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Adjusted to new TDEStorageOpResult-based tdelibs api.Michele Calgaro2019-07-081-24/+27
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* mediamanager: cleaned up use of medium name map.Michele Calgaro2019-06-071-28/+15
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* qt -> tqt conversion:Michele Calgaro2018-09-271-2/+2
| | | | | | | | | | | QTDIR -> TQTDIR QTDOC -> TQTDOC INCDIR_QT -> INCDIR_TQT LIBDIR_QT -> LIBDIR_TQT QT_INC -> TQT_INC QT_LIB -> TQT_LIB Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Removed unnecessary executable flag. This relates to bug 2153.Michele Calgaro2018-09-021-0/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix FTBFS with stricter C++11Slávek Banko2018-08-181-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Start media backend on TDE session startup. This resolves bug 2780.Michele Calgaro2018-07-173-0/+10
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0066e3149204abc023fa441d0982c26c8b48ba3c)
* Added "default" mount option to TDE hardware manager. This resolves bug 2593.Michele Calgaro2016-02-252-5/+6
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix device icons in the media:/ tdeioslave to comply with XDG standardsSlávek Banko2016-02-032-10/+18
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Hide underlying partitions of non-active device mapper devices from the ↵Slávek Banko2016-01-311-1/+2
| | | | | | media:/ tdeioslave Signed-off-by: Slávek Banko <slavek.banko@axis.cz>