telepathy-qt: dbus-tubes: Rename FeatureBusNamesMonitoring to FeatureBusNameMonitoring
Dario Freddi
drf at kemper.freedesktop.org
Tue Jul 3 15:08:39 PDT 2012
Module: telepathy-qt
Branch: master
Commit: 858c2e9d4d75a40fbfb6fb96ac65b1261be3c2a5
URL: http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=858c2e9d4d75a40fbfb6fb96ac65b1261be3c2a5
Author: Dario Freddi <dario.freddi at collabora.co.uk>
Date: Fri Jun 3 22:59:42 2011 +0200
dbus-tubes: Rename FeatureBusNamesMonitoring to FeatureBusNameMonitoring
---
TelepathyQt/dbus-tube-channel.cpp | 12 ++++++------
TelepathyQt/dbus-tube-channel.h | 2 +-
TelepathyQt/outgoing-dbus-tube-channel.cpp | 2 +-
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/TelepathyQt/dbus-tube-channel.cpp b/TelepathyQt/dbus-tube-channel.cpp
index 78ee9a5..a1ce5c4 100644
--- a/TelepathyQt/dbus-tube-channel.cpp
+++ b/TelepathyQt/dbus-tube-channel.cpp
@@ -53,7 +53,7 @@ DBusTubeChannel::Private::Private(DBusTubeChannel *parent)
QStringList(), // dependsOnInterfaces
(ReadinessHelper::IntrospectFunc) &Private::introspectBusNamesMonitoring,
this);
- introspectables[DBusTubeChannel::FeatureBusNamesMonitoring] = introspectableBusNamesMonitoring;
+ introspectables[DBusTubeChannel::FeatureBusNameMonitoring] = introspectableBusNamesMonitoring;
readinessHelper->addIntrospectables(introspectables);
}
@@ -95,10 +95,10 @@ void DBusTubeChannel::Private::introspectBusNamesMonitoring(DBusTubeChannel::Pri
parent->connect(dbusTubeInterface, SIGNAL(DBusNamesChanged(Tp::DBusTubeParticipants,Tp::UIntList)),
parent, SLOT(onDBusNamesChanged(Tp::DBusTubeParticipants,Tp::UIntList)));
} else {
- warning() << "FeatureBusNamesMonitoring does not make sense in a P2P context";
+ warning() << "FeatureBusNameMonitoring does not make sense in a P2P context";
}
- self->readinessHelper->setIntrospectCompleted(DBusTubeChannel::FeatureBusNamesMonitoring, true);
+ self->readinessHelper->setIntrospectCompleted(DBusTubeChannel::FeatureBusNameMonitoring, true);
}
void DBusTubeChannel::Private::introspectDBusTube(DBusTubeChannel::Private *self)
@@ -157,7 +157,7 @@ const Feature DBusTubeChannel::FeatureDBusTube = Feature(QLatin1String(DBusTubeC
*
* %busNamesChanged will be emitted when the participants of this tube change
*/
-const Feature DBusTubeChannel::FeatureBusNamesMonitoring = Feature(QLatin1String(DBusTubeChannel::staticMetaObject.className()), 1);
+const Feature DBusTubeChannel::FeatureBusNameMonitoring = Feature(QLatin1String(DBusTubeChannel::staticMetaObject.className()), 1);
/**
* Create a new DBusTubeChannel channel.
@@ -288,9 +288,9 @@ QString DBusTubeChannel::address() const
*/
QHash<ContactPtr, QString> DBusTubeChannel::busNames() const
{
- if (!isReady(FeatureBusNamesMonitoring)) {
+ if (!isReady(FeatureBusNameMonitoring)) {
warning() << "DBusTubeChannel::busNames() used with "
- "FeatureBusNamesMonitoring not ready";
+ "FeatureBusNameMonitoring not ready";
return QHash<ContactPtr, QString>();
}
diff --git a/TelepathyQt/dbus-tube-channel.h b/TelepathyQt/dbus-tube-channel.h
index ecb235f..699670a 100644
--- a/TelepathyQt/dbus-tube-channel.h
+++ b/TelepathyQt/dbus-tube-channel.h
@@ -39,7 +39,7 @@ class TP_QT_EXPORT DBusTubeChannel : public TubeChannel
public:
static const Feature FeatureDBusTube;
- static const Feature FeatureBusNamesMonitoring;
+ static const Feature FeatureBusNameMonitoring;
static DBusTubeChannelPtr create(const ConnectionPtr &connection,
const QString &objectPath, const QVariantMap &immutableProperties);
diff --git a/TelepathyQt/outgoing-dbus-tube-channel.cpp b/TelepathyQt/outgoing-dbus-tube-channel.cpp
index 9707496..1911fa8 100644
--- a/TelepathyQt/outgoing-dbus-tube-channel.cpp
+++ b/TelepathyQt/outgoing-dbus-tube-channel.cpp
@@ -100,7 +100,7 @@ OutgoingDBusTubeChannel::Private::~Private()
*
* To learn more on how to use introspectable and features, please see \ref account_ready_sec.
*
- * You can also enable DBusTubeChannel::FeatureBusNamesMonitoring to monitor connections
+ * You can also enable DBusTubeChannel::FeatureBusNameMonitoring to monitor connections
* to the tube.
*
* Once your object is ready, you can use offerTube to create a brand new DBus connection and offer
More information about the telepathy-commits
mailing list