summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2012-01-12 09:11:55 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-14 03:55:26 +0100
commite58e1abbd9f4993782e87051f3c96a44a1e208aa (patch)
treee72c08a0c4a4758cf08af1d2ac1d71ba81c985d8 /src
parent106bab644a5d55f136d223fadc1440e07cd41872 (diff)
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 <martin.smith@nokia.com> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/dbus/qdbusconnection.cpp29
1 files changed, 14 insertions, 15 deletions
diff --git a/src/dbus/qdbusconnection.cpp b/src/dbus/qdbusconnection.cpp
index 1e3e630af8..50a55040c8 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();