Go to the documentation of this file.
64 {
return !m_realDevice.isEmpty() ? m_realDevice : m_devicePath; }
75 const QString&
getKeyID()
const {
return m_keyID; }
81 bool isDeviceOpen()
const;
96 virtual bool openDevice();
97 virtual bool closeDevice();
98 virtual bool isSameDevice(
const QString &path);
99 virtual void setSpeed(
int speed);
105 virtual bool performMountCmd(
bool DoMount );
107 bool mount() {
return performMountCmd(
true); }
108 bool unmount() {
return performMountCmd(
false); }
110 bool isMounted(
bool bVerify =
true);
111 bool findMountPath();
114 const QString& extensions);
122 QString MediaTypeString();
124 static QString MediaTypeString(
uint type);
144 bool ScanMediaType(
const QString &directory,
ext_cnt_t &cnt);
154 QString m_realDevice;
166 bool m_locked {
false};
175 int m_deviceHandle {-1};
187 QEvent(kEventType), m_oldStatus(oldStatus), m_device(pDevice) {}