LeechCraft  0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
deviceroles.h
Go to the documentation of this file.
1 /**********************************************************************
2  * LeechCraft - modular cross-platform feature rich internet client.
3  * Copyright (C) 2006-2014 Georg Rudoy
4  *
5  * Distributed under the Boost Software License, Version 1.0.
6  * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7  **********************************************************************/
8 
9 #pragma once
10 
11 #include <Qt>
12 #include "devicetypes.h"
13 
14 namespace LC
15 {
24  {
28 
31  Empty = 0x00,
32 
35  Win95FAT32 = 0x0b,
36 
40  };
41 
45  {
52  DevType = Qt::UserRole + 1,
53 
57 
61 
63  };
64 
70  {
74 
78 
82 
86 
90 
94 
98 
105 
107  };
108 
114  {
120 
129 
133 
137 
141 
145 
151 
155 
163 
171 
176 
178  };
179 }
Empty partition without a type.
Definition: deviceroles.h:31
The unique device ID (QString).
Definition: deviceroles.h:56
The device file representing the device (QString).
Definition: deviceroles.h:119
FAT32 partition with LBA.
Definition: deviceroles.h:39
Whether this item is currently mounted (bool).
Definition: deviceroles.h:144
The type of the partition.
Definition: deviceroles.h:128
CommonDevRole
Roles for both USB Mass Storage and generic USB devices.
Definition: deviceroles.h:44
Whether this item could be mounted (bool).
Definition: deviceroles.h:140
PartitionType
Describes the various common partition types.
Definition: deviceroles.h:23
Whether this item is removable (bool).
Definition: deviceroles.h:132
Available size in bytes (qint64).
Definition: deviceroles.h:162
Something other than a partition.
Definition: deviceroles.h:27
The ID of the model (QString).
Definition: deviceroles.h:93
The human-readable name of the vendor (QString).
Definition: deviceroles.h:89
USBDeviceRole
Roles specific to generic USB devices.
Definition: deviceroles.h:69
MassStorageRole
Roles specific to mass storage USB devices.
Definition: deviceroles.h:113
FAT32 partition.
Definition: deviceroles.h:35
The ID of the vendor (QString).
Definition: deviceroles.h:85
The device number on the given bus (int).
Definition: deviceroles.h:81
The type of the device.
Definition: deviceroles.h:52
Total size in bytes (qint64).
Definition: deviceroles.h:170
The persistent unique device ID (QString).
Definition: deviceroles.h:60
The general USB ID of the role (QByteArray).
Definition: deviceroles.h:73
The system file representing the device (QString).
Definition: deviceroles.h:104
The list of directories this item is mounted to (QStringList).
Definition: deviceroles.h:175
The human-readable name of the device model (QString).
Definition: deviceroles.h:97
Whether this item contains media (bool).
Definition: deviceroles.h:150
Human-readable name of the device (QString).
Definition: deviceroles.h:154
The bus this device is attached to (int).
Definition: deviceroles.h:77
Whether this item is a partition (bool).
Definition: deviceroles.h:136