summaryrefslogtreecommitdiffstats
path: root/kcontrol/hwmanager/devicepropsdlg.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-04-05 15:35:19 +0900
committerMichele Calgaro <[email protected]>2022-04-05 15:35:19 +0900
commitb425c87ca31d9558e761cc7307ed62a4cd368348 (patch)
tree30b5b8167dfe8a5ad43d31f04e50749a1f368290 /kcontrol/hwmanager/devicepropsdlg.h
parent62583793601489c5aa14b57d0d12628436c20923 (diff)
downloadtdebase-b425c87ca31d9558e761cc7307ed62a4cd368348.tar.gz
tdebase-b425c87ca31d9558e761cc7307ed62a4cd368348.zip
tdehwdevicetray: add 'eject' and 'safe remove' buttons to the disk properties dialog.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kcontrol/hwmanager/devicepropsdlg.h')
-rw-r--r--kcontrol/hwmanager/devicepropsdlg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kcontrol/hwmanager/devicepropsdlg.h b/kcontrol/hwmanager/devicepropsdlg.h
index a1f46e563..aabda590f 100644
--- a/kcontrol/hwmanager/devicepropsdlg.h
+++ b/kcontrol/hwmanager/devicepropsdlg.h
@@ -192,6 +192,8 @@ private slots:
void unmountDisk();
void unlockDisk();
void lockDisk();
+ void ejectDisk();
+ void safeRemoveDisk();
void cryptLUKSAddKey();
void cryptLUKSDelKey();
@@ -204,6 +206,8 @@ private slots:
void processLockouts();
private:
+ static bool isMonitoredDevice(TDEStorageDevice *sdevice);
+
TDEGenericDevice* m_device;
DevicePropertiesDialogBase* base;