summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2012-04-05 18:01:52 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2012-04-05 18:24:53 +0300
commitc9ddd406ea8c0f3d992e8d17df5e10e4c5d5d39d (patch)
treeef61bce963a60191b7e966789d25e0ae6bfccfad
parent7f37fa32582941cf0168573aa7d4c2d6584bdc34 (diff)
DBusObject: Add documentation
-rw-r--r--TelepathyQt/dbus-object.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/TelepathyQt/dbus-object.cpp b/TelepathyQt/dbus-object.cpp
index 8cd2dc72..9a311d3e 100644
--- a/TelepathyQt/dbus-object.cpp
+++ b/TelepathyQt/dbus-object.cpp
@@ -37,17 +37,40 @@ struct TP_QT_NO_EXPORT DBusObject::Private
QDBusConnection dbusConnection;
};
+/**
+ * \class DBusObject
+ * \ingroup servicesideimpl
+ * \headerfile TelepathyQt/dbus-object.h <TelepathyQt/DBusObject>
+ *
+ * \brief A QObject on which low-level D-Bus adaptors are plugged to provide a D-Bus object.
+ */
+
+
+/**
+ * Construct a DBusObject that operates on the given \a dbusConnection.
+ *
+ * \param dbusConnection The D-Bus connection to use.
+ * \param parent The QObject parent of this instance.
+ */
DBusObject::DBusObject(const QDBusConnection &dbusConnection, QObject *parent)
: QObject(parent),
mPriv(new Private(dbusConnection))
{
}
+/**
+ * Class destructor.
+ */
DBusObject::~DBusObject()
{
delete mPriv;
}
+/**
+ * Return the D-Bus connection associated with this object.
+ *
+ * \return The D-Bus connection associated with this object.
+ */
QDBusConnection DBusObject::dbusConnection() const
{
return mPriv->dbusConnection;