Commit Graph

108 Commits (30d54139a83e6897c4a9a13a14e2a46d50b849a9)

Author SHA1 Message Date
Michele Calgaro 814bf5fc4f
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 9d96714f59
hwmanager: tdehwdevicetray now uses the same names used in Konqueror and KDesktop for the storage drives.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 2ffa44200e
hwmanager: avoid unnecessary update of device names on status change. This relates to issue TDE/tde#110.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko 68c1810b9e
hwmanager: Do not open a popup window when clicking on a notification,
if automatic opening of popup windows is enabled.
2 years ago
Michele Calgaro d196e674e1
hwmanager: add LMB menu based on storage devices.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 8c95671998
hwmanager: rework code for RMB menu. This does not add any new
functionality but allows the future LMB menu to reuse some of the code.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro b1d5dab80d
hwmanager: use a private class 'd' to store internal members of HwDeviceSystemTray.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 8410f6bd00
hwmanager: remove current LMB menu. Rearrange code of RMB menu. Use MMB click to
show the Device Manager dialog directly.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro b425c87ca3
tdehwdevicetray: add 'eject' and 'safe remove' buttons to the disk properties dialog.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 6258379360
tdehwdevicetray: add 'safe remove' to the list of available actions.
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 3aa097d05d
hwmanager: simplify code after tdelibs commit 5f795c0b.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 449305f190
tdehwdevicetray: use DCOP calls instead of direct tdehw calls to mount/unmount/unlock/lock/eject devices. This is for consistency of behavior and error messages.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro c9e2911bdb
tdehwdevicemanager: fix SEGV caused by removing a device when the Device list
dialog is open. Also make sure to update the device list correctly when
a device is removed.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro c8b66185be
tdehwdevicemanager: make sure to stop polling when closing the device dialog.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko 9a444a3310
KControl: Allow RandR warning to translate.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko 3eba4f728a
kcontrol/hwmanager: Allow translate an error message about unavailable information.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko 5e263a67d9
kcontrol/hwmanager: Allow translation for storage device states.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko 8665255c0c
hwdevicetray: Use the disk label for menu items, if available.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 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
Slávek Banko 6432d2c280
kcontrol/hwmanager: Move description to the corresponding item in TDEAboutData
and added a line break to avoid unwantedly wide about dialog.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro 2d6227f197
tdehwdevicetray: fixed up notification logic for added/removed disk devices.
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
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 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 c1ffddff42
Added icons to Properties popup menu entry in konqueror, kdesktop and tdehwdevicetray.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 510eea8e73
tdehwdevicetray: added 'Properties' action to right click menu.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro c71797083b
tdehwdevicetray: added separate entries for 'Open' and 'Mount' actions.
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 5d1962e435
tdehwmanager: fixed typo in previous commit.
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 6c48adfd2e
kcontrol hw manager: added mapped name information to storage device property dialog.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro a3876433e8
Removed additional code formatting modelines.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko 2f706891f3
Desktop file translations:
+ 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>
5 years ago
Slávek Banko 0215a0e712
Fix units of battery values in Device Manager.
Previously it was not clear whether the units in tdehwlib are
in Wh and W or Ah and A. Now the units are always Ah and A.

This is related to issue TDE/tdelibs#68.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro 1fbb6ee8cd
Updated Device Monitor name in system menu to match the one used in the
device tray application.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Chris f1047361d3 Quick fix for the BG translation entry.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Emanoil Kotsev 06acf10c0b Bulgarian translations for hwmanager.desktop
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
5 years ago
Michele Calgaro 664189c3b1 Added Italian translations for device manager (this relates to the previous commit).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Chris a8528d0066 Streamline device manager naming scheme.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Chris 45f848f6d2 Streamline device monitor naming scheme.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Slávek Banko b9d818d1be
Rename translation catalog for tdehwdevicetray.
Add CMakeL10n rules for kcmhwmanager and tdehwdevicetray.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro 969a048cd6
Fixed tdehwdevicetray autostart enable/disable functionality. This
resolves bug 2877.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 21d09d5b23
Adjusted to new normalized device icon names in tdelibs.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 7d2c7f0621
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro df9e4e43b0
Adjusted to new TDEStorageOpResult-based tdelibs api.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 6ae10fc66e
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko 661ed658b7
Add includes to UI files to resolve FTBFS
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago