some thoughts about fonts, lastInteraction and label into keyDelegate

This commit is contained in:
Blue 2023-01-11 23:45:38 +03:00
parent 2aed8a1209
commit 15fb4bbd62
Signed by: blue
GPG key ID: 9B203B252A63EE38
15 changed files with 166 additions and 171 deletions

View file

@ -19,6 +19,7 @@
#include <QString>
#include <QByteArray>
#include <QDateTime>
#include <stdint.h>
@ -31,9 +32,9 @@ class KeyInfo
public:
KeyInfo(
uint32_t id,
const QByteArray&
fingerPrint,
const QByteArray& fingerPrint,
const QString& label,
const QDateTime& lastInteraction,
TrustLevel trustLevel,
EncryptionProtocol protocol = EncryptionProtocol::omemo,
bool currentDevice = false
@ -47,6 +48,7 @@ public:
uint32_t id;
QByteArray fingerPrint;
QString label;
QDateTime lastInteraction;
TrustLevel trustLevel;
EncryptionProtocol protocol;
bool currentDevice;