Commit Graph

157 Commits (1afb78e598cc0d8c320e98c963cb98ab7935435f)

Author SHA1 Message Date
Michele Calgaro 026828840f
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 months ago
Michele Calgaro 0d9263f836
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro a4241b7911
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 55af17246c
Remove usage of TDEDiskDeviceStatus::Hotpluggable
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro c4a6487c82
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 82c1dbe490
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 36f2e08fd3
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro b965cbac5b
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 33c7d15989
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 75a74bedae
Replace various Q_* and QT_* defines with TQ_* and TQT_*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 814bf5fc4f
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 22625693f1
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Denis Kozadaev 4d58a4ea8d
SunOS specific patches
Signed-off-by: Denis Kozadaev <denis@dilos.org>
2 years ago
Michele Calgaro ef300a683d
hwmanager: use alphabetically sorted menus in tdehwdevicetray.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro e35bb1ed56
tdeioslave mediamanager: show the device node in the label also for removable drives and CD/DVD disks.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 4974727d50
Add 'safeRemove' and 'safeRemoveByNode' to mediamanager DCOP interface.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 88d92af3c1
hwmanager: use tdeio_media_mounthelper process to
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>
3 years ago
Michele Calgaro 40ef766f02
tdeio media: add releaseHolders parameter to lock/lockByNode dcop calls.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro c787e7a715
mediamanager: fix name of available backends in error messages.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 8d0f49aeb4
Added 'eject' and 'ejectByNode' to mediamanager DCOP interface.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro f9f7aee79e Removed HAL dependant code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro bb2ea23175
Updated after changes to tdehw lib related to device notificaitons.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 764a03aa91
medianotifier: add medium name and url to notification dialog.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko e031e12d06
Respect build option WITH_TDEHWLIB, otherwise it can lead to FTBFS in special cases.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro 90e986bd5f
tdeioslave media: fixed wrong action in media unlock desktop file.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 9f7d035569
Fixed FTBFS when building without tdehw but using HAL.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko 48ddee7ba8
Update CMake rules to change tdehw library to standalone.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro d289ed30ed
mediamanager: added DCOP call to get medium's mimetype from its name.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro ad3cef031b
tdeioslave media: made 'Open Medium System Folder' action available for unmounted medium too.
The action is now also available in the notification dialog that opens up when a medium is inserted.
Fixed action support for mount path containing spaces.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 75204ade2d
tdeioslave media: made 'Open Medium System Folder' command available for camera devices.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 434983acd9
Added option to enable/disable Device Monitor notification panels when
disks are added/removed/changed status.
Minor tweak to menu entry in Device Monitor popup menu.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 5d9c673999
Added 'mount' and 'unlock' actions to notifier dialog and fixed size of icons in same dialog.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro d706b63745
Enable back media notification dialogs.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 56e992ab54
tdeioslave media: fixed FTBFS caused by previous commit and functionality of
tdeio_media_mounthelper when ejecting drives.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro d39c407bf4
1) tdehwdevicetray: added support for unmount/unlock/lock operations.
2) minor changes and improvements to user messages.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro e24245d45c
tdeioslaves media: added "Open Medium System Folder" action, previously
in tdeaddons.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 642bc50e18
tdeio media slave: added 'Open Real Folder' to tdeio_media_mounthelper.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro d8c7fa1e66
tdeioslave media: updates for property dialog and file media plugin mimetypes.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 53f8622a6a
tdehwmonitor: added Unlock/Lock buttons to LUKS disks.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro e108c7d7e0
Added icons to media actions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 3740009719
tdeioslave media: safe removal and locking are now avaiable also for
unlocked and mounted medium.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 8ab67852cd
tdeioslave media: encrypted devices (either locked or unlocked) are not
browsable folders, so disable tde trade offers for applications able to handle inode/directory mime type.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro f4cc9ec2fa
tdeioslave media: remove duplication of feedback for tdeio_media_helper
unlocking failures and leave password input dialog open in case of wrong password
supplied. This allows to quickly type in a new password instead of
having to repeat the complete procedure.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 1a089178fa
tdeioslave media: mount/unmount/unlock/lock are only allowed on devices
for which those operations make sense.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 7c6e00a43c
tdeioslave media: added LOCKED property to Medium class.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro b54fcda719
tdeioslave media: fixed handling of mountable state for encrypted devices.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro d34f23f403
tdeioslave media: clean up code related to medium mountable state in preparation for further work.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro ebc4784c4f
tdeioslave media: fixed update of mime type on encrypted CD/DVD devices 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>
4 years ago
Michele Calgaro e74e9afe2c
tdeioslave media: fixed displaying of encrypted disks.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 3676cf129d
tdeioslave media: added initial support for unlocking/locking of encrypted devices.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago