started refactoring of the VCard UI
This commit is contained in:
parent
bb304ce774
commit
4af16b75bf
32 changed files with 1250 additions and 166 deletions
|
@ -16,13 +16,25 @@
|
|||
|
||||
#include "info.h"
|
||||
|
||||
Shared::Info::Info(const QString& p_jid, bool p_editable):
|
||||
jid(p_jid),
|
||||
editable(p_editable),
|
||||
vcard(),
|
||||
activeKeys(),
|
||||
inactiveKeys()
|
||||
{}
|
||||
|
||||
Shared::Info::Info():
|
||||
jid(),
|
||||
editable(false),
|
||||
vcard(),
|
||||
activeKeys(),
|
||||
inactiveKeys()
|
||||
{}
|
||||
|
||||
Shared::Info::Info(const Shared::Info& other):
|
||||
jid(other.jid),
|
||||
editable(other.editable),
|
||||
vcard(other.vcard),
|
||||
activeKeys(other.activeKeys),
|
||||
inactiveKeys(other.inactiveKeys)
|
||||
|
|
|
@ -33,9 +33,12 @@ namespace Shared {
|
|||
class Info {
|
||||
public:
|
||||
Info();
|
||||
Info(const QString& jid, bool editable = false);
|
||||
Info(const Info& other);
|
||||
~Info();
|
||||
|
||||
QString jid;
|
||||
bool editable;
|
||||
VCard vcard;
|
||||
std::list<KeyInfo> activeKeys;
|
||||
std::list<KeyInfo> inactiveKeys;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue