keep going on refactoring vcard

This commit is contained in:
Blue 2023-02-02 21:39:38 +03:00
parent 4af16b75bf
commit edf1ee60cd
Signed by: blue
GPG key ID: 9B203B252A63EE38
13 changed files with 483 additions and 55 deletions

View file

@ -16,7 +16,8 @@
#include "info.h"
Shared::Info::Info(const QString& p_jid, bool p_editable):
Shared::Info::Info(const QString& p_jid, EntryType p_type, bool p_editable):
type(p_type),
jid(p_jid),
editable(p_editable),
vcard(),
@ -25,6 +26,7 @@ Shared::Info::Info(const QString& p_jid, bool p_editable):
{}
Shared::Info::Info():
type(EntryType::contact),
jid(),
editable(false),
vcard(),
@ -33,6 +35,7 @@ Shared::Info::Info():
{}
Shared::Info::Info(const Shared::Info& other):
type(other.type),
jid(other.jid),
editable(other.editable),
vcard(other.vcard),