Nepomuk-Core
Go to the documentation of this file.
21 #ifndef GLOBALPRESENCE_H
22 #define GLOBALPRESENCE_H
25 #include <TelepathyQt/AccountManager>
26 #include <TelepathyQt/AccountSet>
47 void setAccountManager(
const Tp::AccountManagerPtr &accountManager);
50 Tp::ConnectionStatus connectionStatus()
const;
60 bool isChangingPresence()
const;
63 bool hasEnabledAccounts()
const;
65 Tp::AccountSetPtr onlineAccounts()
const;
68 void requestedPresenceChanged(
const KTp::Presence &customPresence);
70 void changingPresence(
bool isChanging);
71 void connectionStatusChanged(Tp::ConnectionStatus);
75 void setPresence(
const Tp::Presence &presence);
78 void saveCurrentPresence();
80 void restoreSavedPresence();
83 void onCurrentPresenceChanged();
84 void onRequestedPresenceChanged();
85 void onChangingPresence();
86 void onConnectionStatusChanged();
88 void onAccountAdded(
const Tp::AccountPtr &account);
91 Tp::AccountSetPtr m_enabledAccounts;
92 Tp::AccountSetPtr m_onlineAccounts;
101 Tp::ConnectionStatus m_connectionStatus;
102 bool m_changingPresence;
107 #endif // GLOBALPRESENCE_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by
doxygen 1.8.1.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.