summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/tdestoragedevice.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-08-11 14:36:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-08-13 16:01:01 +0900
commitf159fa61a972641944adc614d33baf5e52ac5e0e (patch)
treea00705c6f65529f40f90f622ccd8cc4cb60f5c89 /tdecore/tdehw/tdestoragedevice.h
parentde4f27a2eea6f7b8e723dc8966a34ce1de0952d0 (diff)
downloadtdelibs-f159fa61a972641944adc614d33baf5e52ac5e0e.tar.gz
tdelibs-f159fa61a972641944adc614d33baf5e52ac5e0e.zip
tdehw lib: reworked device notifications to avoid repeated scanning of devices.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/tdehw/tdestoragedevice.h')
-rw-r--r--tdecore/tdehw/tdestoragedevice.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/tdecore/tdehw/tdestoragedevice.h b/tdecore/tdehw/tdestoragedevice.h
index 0a8ef7283..c279586f8 100644
--- a/tdecore/tdehw/tdestoragedevice.h
+++ b/tdecore/tdehw/tdestoragedevice.h
@@ -199,11 +199,6 @@ class TDECORE_EXPORT TDEStorageDevice : public TDEGenericDevice
TQString mappedName();
/**
- * Find and store the alternative mapped name of a mapped device
- */
- void updateMappedName();
-
- /**
* @return an OR-ed combination of TDEDiskDeviceType::TDEDiskDeviceType type flags
*/
TDEDiskDeviceType::TDEDiskDeviceType diskType();
@@ -494,6 +489,16 @@ class TDECORE_EXPORT TDEStorageDevice : public TDEGenericDevice
*/
void internalGetLUKSKeySlotStatus();
+ /**
+ * Find and store the alternative mapped name of a mapped device
+ */
+ void internalUpdateMappedName();
+
+ /**
+ * Find and store the mount point of the device, if any
+ */
+ void internalUpdateMountPath();
+
private:
TQString m_mappedName; // Alternative name for a mapped device
TDEDiskDeviceType::TDEDiskDeviceType m_diskType;