keep going on refactoring vcard
This commit is contained in:
parent
4af16b75bf
commit
edf1ee60cd
13 changed files with 483 additions and 55 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue