telepathy-qt: dbus-tubes: Minor nitpicking on style and docs

Dario Freddi drf at kemper.freedesktop.org
Tue Jul 3 15:09:00 PDT 2012


Module: telepathy-qt
Branch: master
Commit: a63f94b88c1d89b7aacf7b322e05f42aa592ccd0
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=a63f94b88c1d89b7aacf7b322e05f42aa592ccd0

Author: Dario Freddi <dario.freddi at collabora.com>
Date:   Tue Jul  3 23:57:07 2012 +0200

dbus-tubes: Minor nitpicking on style and docs

---

 TelepathyQt/account.cpp           |   10 +++++-----
 TelepathyQt/dbus-tube-channel.cpp |    6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/TelepathyQt/account.cpp b/TelepathyQt/account.cpp
index a57f31c..c35759a 100644
--- a/TelepathyQt/account.cpp
+++ b/TelepathyQt/account.cpp
@@ -2844,11 +2844,11 @@ PendingChannelRequest *Account::createStreamTube(
  *         when the call has finished.
  * \sa ensureChannel(), createChannel()
  */
-PendingChannelRequest* Account::createDBusTube(
-        const QString& contactIdentifier,
-        const QString& serviceName,
-        const QDateTime& userActionTime,
-        const QString& preferredHandler,
+PendingChannelRequest *Account::createDBusTube(
+        const QString &contactIdentifier,
+        const QString &serviceName,
+        const QDateTime &userActionTime,
+        const QString &preferredHandler,
         const ChannelRequestHints &hints)
 {
     QVariantMap request = dbusTubeRequest(contactIdentifier, serviceName);
diff --git a/TelepathyQt/dbus-tube-channel.cpp b/TelepathyQt/dbus-tube-channel.cpp
index 8bc643b..001139e 100644
--- a/TelepathyQt/dbus-tube-channel.cpp
+++ b/TelepathyQt/dbus-tube-channel.cpp
@@ -158,7 +158,7 @@ void DBusTubeChannel::Private::introspectDBusTube(DBusTubeChannel::Private *self
 /**
  * \class DBusTubeChannel
  * \ingroup clientchannel
- * \headerfile TelepathyQt/stream-tube-channel.h <TelepathyQt/DBusTubeChannel>
+ * \headerfile TelepathyQt/dbus-tube-channel.h <TelepathyQt/DBusTubeChannel>
  *
  * \brief The DBusTubeChannel class represents a Telepathy channel of type DBusTube.
  *
@@ -321,6 +321,8 @@ QString DBusTubeChannel::address() const
  * This function will always return an empty hash in case the tube is p2p, even if
  * FeatureBusNameMonitoring has been activated.
  *
+ * This method requires FeatureBusNameMonitoring to be enabled.
+ *
  * \returns A list of active connection ids known to this tube
  */
 QHash<QString, Tp::ContactPtr> DBusTubeChannel::contactsForBusNames() const
@@ -426,8 +428,6 @@ void DBusTubeChannel::onContactsRetrieved(const QUuid &uuid, const QList<Contact
                 emit busNameAdded(busName, contact);
             }
         }
-
-
     } else if (mPriv->pendingNewBusNamesToRemove.contains(uuid)) {
         mPriv->pendingNewBusNamesToRemove.removeOne(uuid);
 



More information about the telepathy-commits mailing list