diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 18:44:56 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-07-07 23:44:40 +0900 |
commit | aaaf378033f889408155a902349c676429b85254 (patch) | |
tree | 2adaae48af3e2f3a5f7be528880efcf06c9f1202 /tdecore/tdehw/tdestoragedevice.h | |
parent | bf683427937ea0cfd90749b833456377de6ffa10 (diff) | |
download | tdelibs-aaaf378033f889408155a902349c676429b85254.tar.gz tdelibs-aaaf378033f889408155a902349c676429b85254.zip |
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/tdehw/tdestoragedevice.h')
-rw-r--r-- | tdecore/tdehw/tdestoragedevice.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/tdecore/tdehw/tdestoragedevice.h b/tdecore/tdehw/tdestoragedevice.h index d6a4269a8..6bd39353b 100644 --- a/tdecore/tdehw/tdestoragedevice.h +++ b/tdecore/tdehw/tdestoragedevice.h @@ -21,6 +21,7 @@ #define _TDESTORAGEDEVICE_H #include "tdegenericdevice.h" +#include "tqvariant.h" struct crypt_device; @@ -166,9 +167,7 @@ enum TDELUKSResult { }; }; -class TQVariant; typedef TQMap<TQString, TQString> TDEStorageMountOptions; -typedef TQMap<TQString, TQVariant> TDEStorageOpResult; class TDECORE_EXPORT TDEStorageDevice : public TDEGenericDevice { @@ -235,9 +234,9 @@ class TDECORE_EXPORT TDEStorageDevice : public TDEGenericDevice * @param a TQString containing a requested mount name under /media, if desired * @param a TDEStorageMountOptions containing any mount options for pmount, if desired * - * @return a TDEStorageOpResult object containing information about the operation outcome + * @return a TQStringVariantMap object containing information about the operation outcome */ - TDEStorageOpResult mountDevice(TQString mediaName = TQString::null, + TQStringVariantMap mountDevice(TQString mediaName = TQString::null, TDEStorageMountOptions mountOptions = TDEStorageMountOptions()); /** @@ -247,17 +246,17 @@ class TDECORE_EXPORT TDEStorageDevice : public TDEGenericDevice * @param a TQString containing a requested mount name under /media, if desired * @param a TDEStorageMountOptions containing any mount options for pmount, if desired * - * @return a TDEStorageOpResult object containing information about the operation outcome + * @return a TQStringVariantMap object containing information about the operation outcome */ - TDEStorageOpResult mountEncryptedDevice(TQString passphrase, TQString mediaName = TQString::null, + TQStringVariantMap mountEncryptedDevice(TQString passphrase, TQString mediaName = TQString::null, TDEStorageMountOptions mountOptions = TDEStorageMountOptions()); /** * Unmounts the device * - * @return a TDEStorageOpResult object containing information about the operation outcome + * @return a TQStringVariantMap object containing information about the operation outcome */ - TDEStorageOpResult unmountDevice(); + TQStringVariantMap unmountDevice(); /** * @return a TQString with the mount path, if mounted |