[Telepathy-commits] [telepathy-qt4/master] Account: Change presenceChanged signal to currentPresenceChanged.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Fri Feb 13 10:10:14 PST 2009
---
TelepathyQt4/Client/account.cpp | 2 +-
TelepathyQt4/Client/account.h | 2 +-
examples/accounts/account-item.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/TelepathyQt4/Client/account.cpp b/TelepathyQt4/Client/account.cpp
index 023c6cd..3d9a873 100644
--- a/TelepathyQt4/Client/account.cpp
+++ b/TelepathyQt4/Client/account.cpp
@@ -888,7 +888,7 @@ void Account::updateProperties(const QVariantMap &props)
props["CurrentPresence"]);
debug() << " Current Presence:" << mPriv->currentPresence.type <<
"-" << mPriv->currentPresence.status;
- emit presenceChanged(mPriv->currentPresence);
+ emit currentPresenceChanged(mPriv->currentPresence);
}
if (props.contains("RequestedPresence") &&
diff --git a/TelepathyQt4/Client/account.h b/TelepathyQt4/Client/account.h
index e8972e9..de08cbc 100644
--- a/TelepathyQt4/Client/account.h
+++ b/TelepathyQt4/Client/account.h
@@ -169,7 +169,7 @@ Q_SIGNALS:
void connectsAutomaticallyPropertyChanged(bool);
void parametersChanged(const QVariantMap &);
void automaticPresenceChanged(const Telepathy::SimplePresence &) const;
- void presenceChanged(const Telepathy::SimplePresence &) const;
+ void currentPresenceChanged(const Telepathy::SimplePresence &) const;
void requestedPresenceChanged(const Telepathy::SimplePresence &) const;
void avatarChanged(const Telepathy::Avatar &);
void connectionStatusChanged(Telepathy::ConnectionStatus,
diff --git a/examples/accounts/account-item.cpp b/examples/accounts/account-item.cpp
index 5b9ddf7..2bb46c0 100644
--- a/examples/accounts/account-item.cpp
+++ b/examples/accounts/account-item.cpp
@@ -83,7 +83,7 @@ void AccountItem::onReady(Telepathy::Client::PendingOperation *op)
SIGNAL(automaticPresenceChanged(const Telepathy::SimplePresence &)),
SLOT(onAutomaticPresenceChanged(const Telepathy::SimplePresence &)));
connect(acc,
- SIGNAL(presenceChanged(const Telepathy::SimplePresence &)),
+ SIGNAL(currentPresenceChanged(const Telepathy::SimplePresence &)),
SLOT(onCurrentPresenceChanged(const Telepathy::SimplePresence &)));
connect(acc,
SIGNAL(requestedPresenceChanged(const Telepathy::SimplePresence &)),
--
1.5.6.5
More information about the telepathy-commits
mailing list