forked from blue/squawk
clearing presences and statuses on disconnect of an account
This commit is contained in:
parent
49aa99d4db
commit
833913cac2
6 changed files with 38 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
namespace Models {
|
||||
class Account : public Item {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit Account(const QMap<QString, QVariant> &data, Item *parentItem = 0);
|
||||
~Account();
|
||||
|
@ -50,6 +51,9 @@ namespace Models {
|
|||
QString error;
|
||||
Shared::ConnectionState state;
|
||||
Shared::Availability availability;
|
||||
|
||||
protected slots:
|
||||
void toOfflineState() override;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue