Mark old enum values as deprecated.
This commit is contained in:
parent
f389306964
commit
df449ac3d4
|
@ -80,10 +80,10 @@ public:
|
||||||
New, /**< from a NewOperation */
|
New, /**< from a NewOperation */
|
||||||
Copy, /**< from a CopyOperation */
|
Copy, /**< from a CopyOperation */
|
||||||
Restore, /**< from a RestoreOperation */
|
Restore, /**< from a RestoreOperation */
|
||||||
StateNone = 0, /**< deprecated */
|
StateNone __attribute__((deprecated)) = None,
|
||||||
StateNew = 1, /**< deprecated */
|
StateNew __attribute__((deprecated)) = New,
|
||||||
StateCopy = 2, /**< deprecated */
|
StateCopy __attribute__((deprecated)) = Copy,
|
||||||
StateRestore = 3 /**< deprecated */
|
StateRestore __attribute__((deprecated)) = Restore
|
||||||
};
|
};
|
||||||
|
|
||||||
Partition(PartitionNode* parent, const Device& device, const PartitionRole& role, FileSystem* fs, qint64 sectorStart, qint64 sectorEnd, QString partitionPath, PartitionTable::Flags availableFlags = PartitionTable::FlagNone, const QString& mountPoint = QString(), bool mounted = false, PartitionTable::Flags activeFlags = PartitionTable::FlagNone, State state = State::None);
|
Partition(PartitionNode* parent, const Device& device, const PartitionRole& role, FileSystem* fs, qint64 sectorStart, qint64 sectorEnd, QString partitionPath, PartitionTable::Flags availableFlags = PartitionTable::FlagNone, const QString& mountPoint = QString(), bool mounted = false, PartitionTable::Flags activeFlags = PartitionTable::FlagNone, State state = State::None);
|
||||||
|
|
Loading…
Reference in New Issue