From: Martin Smith Date: Thu, 12 Jan 2012 08:11:55 +0000 (+0100) Subject: qdoc3: Don't put \relates in class member functions. X-Git-Tag: qt-v5.0.0-alpha1~1821 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e58e1abbd9f4993782e87051f3c96a44a1e208aa;p=profile%2Fivi%2Fqtbase.git qdoc3: Don't put \relates in class member functions. This removes two uses of \relates that were unnecessary. Task-number: QTBUG-23599 Change-Id: I3e10375159f6535f56622f9d24e16151938c63c3 Reviewed-by: Martin Smith Reviewed-by: Casper van Donderen --- diff --git a/src/dbus/qdbusconnection.cpp b/src/dbus/qdbusconnection.cpp index 1e3e630..50a5504 100644 --- a/src/dbus/qdbusconnection.cpp +++ b/src/dbus/qdbusconnection.cpp @@ -123,21 +123,6 @@ void QDBusConnectionManager::setConnection(const QString &name, QDBusConnectionP } /*! - \fn QDBusConnection &QDBusConnection::sessionBus() - - Returns a QDBusConnection object opened with the session bus. The object - reference returned by this function is valid until the application terminates, - at which point the connection will be closed and the object deleted. -*/ -/*! - \fn QDBusConnection &QDBusConnection::systemBus() - - Returns a QDBusConnection object opened with the system bus. The object reference returned - by this function is valid until the QCoreApplication's destructor is run, when the - connection will be closed and the object, deleted. -*/ - -/*! \class QDBusConnection \inmodule QtDBus \since 4.2 @@ -1123,11 +1108,25 @@ Q_GLOBAL_STATIC_WITH_ARGS(QDBusDefaultConnection, _q_sessionBus, Q_GLOBAL_STATIC_WITH_ARGS(QDBusDefaultConnection, _q_systemBus, (QDBusConnection::SystemBus, _q_systemBusName)) +/*! + \fn QDBusConnection QDBusConnection::sessionBus() + + Returns a QDBusConnection object opened with the session bus. The object + reference returned by this function is valid until the application terminates, + at which point the connection will be closed and the object deleted. +*/ QDBusConnection QDBusConnection::sessionBus() { return *_q_sessionBus(); } +/*! + \fn QDBusConnection QDBusConnection::systemBus() + + Returns a QDBusConnection object opened with the system bus. The object reference returned + by this function is valid until the QCoreApplication's destructor is run, when the + connection will be closed and the object, deleted. +*/ QDBusConnection QDBusConnection::systemBus() { return *_q_systemBus();