8 #include "recordfieldvaluemap.h" 55 inline bool operator==(
const Record& lhs,
const Record& rhs){
return lhs.
id == rhs.
id; }
56 inline bool operator!=(
const Record& lhs,
const Record& rhs){
return !(lhs == rhs); }
58 inline bool recordLessThanDisplayName(
const Record& e1,
const Record& e2)
63 inline bool recordLessThanId(
const Record& e1,
const Record& e2)
65 return e1.
id.toString().toLower() < e2.
id.toString().toLower();
Definition: commandlineoptions.h:6
QString displayName
Display name of this record.
Definition: record.h:27
RecordFieldValueMap fieldValues
Values of all fields of this record.
Definition: record.h:37
QVariant id
Unique id of this record.
Definition: record.h:22
QString recordSetName
Name of the set this record belongs to.
Definition: record.h:52
QVariant parentId
Id of the parent of this record, or null if this record is a root of the record tree.
Definition: record.h:42
bool readOnly
Whether to prevent this record from being edited, reparented or removed.
Definition: record.h:47
QString editorIconFieldId
Id of the field to use as editor icon for this record.
Definition: record.h:32
Data record that combines the values of various fields.
Definition: record.h:16