some thoughts about fonts, lastInteraction and label into keyDelegate
This commit is contained in:
parent
2aed8a1209
commit
15fb4bbd62
15 changed files with 166 additions and 171 deletions
|
@ -22,6 +22,7 @@ Shared::KeyInfo::KeyInfo(
|
|||
uint32_t p_id,
|
||||
const QByteArray& p_fingerPrint,
|
||||
const QString& p_label,
|
||||
const QDateTime& p_lastInteraction,
|
||||
Shared::TrustLevel p_trustLevel,
|
||||
Shared::EncryptionProtocol p_protocol,
|
||||
bool p_currentDevice
|
||||
|
@ -29,6 +30,7 @@ Shared::KeyInfo::KeyInfo(
|
|||
id(p_id),
|
||||
fingerPrint(p_fingerPrint),
|
||||
label(p_label),
|
||||
lastInteraction(p_lastInteraction),
|
||||
trustLevel(p_trustLevel),
|
||||
protocol(p_protocol),
|
||||
currentDevice(p_currentDevice)
|
||||
|
@ -39,6 +41,7 @@ Shared::KeyInfo::KeyInfo():
|
|||
id(0),
|
||||
fingerPrint(),
|
||||
label(),
|
||||
lastInteraction(),
|
||||
trustLevel(TrustLevel::undecided),
|
||||
protocol(EncryptionProtocol::omemo),
|
||||
currentDevice(false)
|
||||
|
@ -49,6 +52,7 @@ Shared::KeyInfo::KeyInfo(const Shared::KeyInfo& other):
|
|||
id(other.id),
|
||||
fingerPrint(other.fingerPrint),
|
||||
label(other.label),
|
||||
lastInteraction(other.lastInteraction),
|
||||
trustLevel(other.trustLevel),
|
||||
protocol(other.protocol),
|
||||
currentDevice(other.currentDevice)
|
||||
|
@ -59,6 +63,7 @@ Shared::KeyInfo & Shared::KeyInfo::operator=(const Shared::KeyInfo& other) {
|
|||
id = other.id;
|
||||
fingerPrint = other.fingerPrint;
|
||||
label = other.label;
|
||||
lastInteraction = other.lastInteraction;
|
||||
trustLevel = other.trustLevel;
|
||||
protocol = other.protocol;
|
||||
currentDevice = other.currentDevice;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue