summaryrefslogtreecommitdiff
path: root/TelepathyQt/dbus-object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TelepathyQt/dbus-object.cpp')
-rw-r--r--TelepathyQt/dbus-object.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/TelepathyQt/dbus-object.cpp b/TelepathyQt/dbus-object.cpp
index cab20a01..9e3bdfea 100644
--- a/TelepathyQt/dbus-object.cpp
+++ b/TelepathyQt/dbus-object.cpp
@@ -37,6 +37,7 @@ struct TP_QT_NO_EXPORT DBusObject::Private
}
QDBusConnection dbusConnection;
+ QString objectPath;
};
/**
@@ -68,6 +69,16 @@ DBusObject::~DBusObject()
delete mPriv;
}
+void DBusObject::setObjectPath(const QString &path)
+{
+ mPriv->objectPath = path;
+}
+
+QString DBusObject::objectPath() const
+{
+ return mPriv->objectPath;
+}
+
/**
* Return the D-Bus connection associated with this object.
*