forked from blue/squawk
moving on with MUC, nothing final yet
This commit is contained in:
parent
0a6f612b60
commit
828d14c908
10 changed files with 314 additions and 145 deletions
|
@ -26,7 +26,6 @@ Core::RosterItem::RosterItem(const QString& pJid, const QString& account, QObjec
|
|||
name(),
|
||||
archiveState(empty),
|
||||
archive(new Archive(jid)),
|
||||
subscriptionState(Shared::unknown),
|
||||
syncronizing(false),
|
||||
requestedCount(0),
|
||||
requestedBefore(),
|
||||
|
@ -55,24 +54,11 @@ Core::RosterItem::ArchiveState Core::RosterItem::getArchiveState() const
|
|||
return archiveState;
|
||||
}
|
||||
|
||||
Shared::SubscriptionState Core::RosterItem::getSubscriptionState() const
|
||||
{
|
||||
return subscriptionState;
|
||||
}
|
||||
|
||||
QString Core::RosterItem::getName() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
void Core::RosterItem::setSubscriptionState(Shared::SubscriptionState state)
|
||||
{
|
||||
if (subscriptionState != state) {
|
||||
subscriptionState = state;
|
||||
emit subscriptionStateChanged(subscriptionState);
|
||||
}
|
||||
}
|
||||
|
||||
void Core::RosterItem::setName(const QString& n)
|
||||
{
|
||||
if (name != n) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue