diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-10-25 14:13:23 +0800 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-10-25 14:13:23 +0800 |
commit | 53f8622a6a4a47a49431bcbb4f63aa09220bb835 (patch) | |
tree | b5eac82f45f46fa4e76449780f4c33c9c418f688 /kcontrol/hwmanager/devicepropsdlg.h | |
parent | 6b2d46a5486df6c4d15140c86bbe74e014d274ef (diff) | |
download | tdebase-53f8622a6a4a47a49431bcbb4f63aa09220bb835.tar.gz tdebase-53f8622a6a4a47a49431bcbb4f63aa09220bb835.zip |
tdehwmonitor: added Unlock/Lock buttons to LUKS disks.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol/hwmanager/devicepropsdlg.h')
-rw-r--r-- | kcontrol/hwmanager/devicepropsdlg.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/kcontrol/hwmanager/devicepropsdlg.h b/kcontrol/hwmanager/devicepropsdlg.h index e958d39ba..50fd1cac1 100644 --- a/kcontrol/hwmanager/devicepropsdlg.h +++ b/kcontrol/hwmanager/devicepropsdlg.h @@ -20,13 +20,13 @@ #define __devicepropsdlg_h__ #include <tqprogressbar.h> - #include <kdialogbase.h> - #include <tdehardwaredevices.h> #include "devicepropsdlgbase.h" +class PasswordDlg; + /** * * Simple sensor name and text label value display widget @@ -190,6 +190,9 @@ private slots: void mountDisk(); void unmountDisk(); + void unlockDisk(); + void doUnlockDisk(); + void lockDisk(); void cryptLUKSAddKey(); void cryptLUKSDelKey(); @@ -204,9 +207,7 @@ private slots: private: TDEGenericDevice* m_device; DevicePropertiesDialogBase* base; - - class DevicePropertiesDialogPrivate; - DevicePropertiesDialogPrivate* d; + PasswordDlg *m_passDlg; TQGridLayout* m_sensorDataGrid; SensorDisplayWidgetList m_sensorDataGridWidgets; |