summaryrefslogtreecommitdiffstats
path: root/kcontrol/hwmanager/devicepropsdlg.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-10-25 14:13:23 +0800
committerMichele Calgaro <[email protected]>2020-10-25 14:13:23 +0800
commit53f8622a6a4a47a49431bcbb4f63aa09220bb835 (patch)
treeb5eac82f45f46fa4e76449780f4c33c9c418f688 /kcontrol/hwmanager/devicepropsdlg.h
parent6b2d46a5486df6c4d15140c86bbe74e014d274ef (diff)
downloadtdebase-53f8622a6a4a47a49431bcbb4f63aa09220bb835.tar.gz
tdebase-53f8622a6a4a47a49431bcbb4f63aa09220bb835.zip
tdehwmonitor: added Unlock/Lock buttons to LUKS disks.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kcontrol/hwmanager/devicepropsdlg.h')
-rw-r--r--kcontrol/hwmanager/devicepropsdlg.h11
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;