From 26ab02e91671548e2b55a16bb953b3d9e0a82497 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 29 May 2006 18:17:09 +0000 Subject: * qt/*: Update the QtDBus bindings up to revision 546310 in Subversion. This adds the dbuscpp2xml tool, that parses a C++ header and outputs a D-BUS Introspection XML. --- qt/qdbusabstractinterface.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'qt/qdbusabstractinterface.cpp') diff --git a/qt/qdbusabstractinterface.cpp b/qt/qdbusabstractinterface.cpp index 7c09b510..2a6bcf04 100644 --- a/qt/qdbusabstractinterface.cpp +++ b/qt/qdbusabstractinterface.cpp @@ -130,6 +130,19 @@ QDBusAbstractInterface::~QDBusAbstractInterface() delete d_ptr; } +/*! + Returns true if this is a valid reference to a remote object. It returns false if + there was an error during the creation of this interface (for instance, if the remote + application does not exist). + + Note: when dealing with remote objects, it is not always possible to determine if it + exists when creating a QDBusInterface or QDBusInterfacePtr object. +*/ +bool QDBusAbstractInterface::isValid() const +{ + return d_func()->isValid; +} + /*! Returns the connection this interface is assocated with. */ -- cgit