diff options
-rw-r--r-- | src/ivicore/qiviserviceinterface.cpp | 27 | ||||
-rw-r--r-- | src/ivicore/qiviserviceobject.cpp | 30 |
2 files changed, 27 insertions, 30 deletions
diff --git a/src/ivicore/qiviserviceinterface.cpp b/src/ivicore/qiviserviceinterface.cpp index 5cd24a4..fd602aa 100644 --- a/src/ivicore/qiviserviceinterface.cpp +++ b/src/ivicore/qiviserviceinterface.cpp @@ -56,8 +56,35 @@ QT_BEGIN_NAMESPACE \sa qobject_cast */ +/*! + \class QIviServiceInterface + \inmodule QtIviCore + \brief Interface class for services. + + The QIviServiceInterface class defines the interface of services registered with QIviServiceManager. + + Commonly, service objects inherit the concrete class QIviServiceObject instead of using QIviServiceInterface directly. + + \sa QIviServiceObject +*/ + +/*! + Destructs the QIviServiceInterface instance. +*/ QIviServiceInterface::~QIviServiceInterface() { } +/*! + \fn QStringList QIviServiceInterface::interfaces() const + + Returns a list of service interface names supported by the service object instance. +*/ + +/*! + \fn QObject* QIviServiceInterface::interfaceInstance(const QString& interface) const + + Returns an object implementing the service interface requested through \a interface. +*/ + QT_END_NAMESPACE diff --git a/src/ivicore/qiviserviceobject.cpp b/src/ivicore/qiviserviceobject.cpp index fd37e35..63f17f9 100644 --- a/src/ivicore/qiviserviceobject.cpp +++ b/src/ivicore/qiviserviceobject.cpp @@ -91,34 +91,4 @@ QString QIviServiceObject::id() const return m_id; } -/*! - \class QIviServiceInterface - \inmodule QtIviCore - \brief Interface class for services. - - The QIviServiceInterface class defines the interface of services registered with QIviServiceManager. - - Commonly, service objects inherit the concrete class QIviServiceObject instead of using QIviServiceInterface directly. - - \sa QIviServiceObject -*/ - -/*! - \fn QIviServiceInterface::~QIviServiceInterface() - - Destructs the QIviServiceInterface instance. -*/ - -/*! - \fn QStringList QIviServiceInterface::interfaces() const - - Returns a list of service interface names supported by the service object instance. -*/ - -/*! - \fn QObject* QIviServiceInterface::interfaceInstance(const QString& interface) const - - Returns an object implementing the service interface requested through \a interface. -*/ - QT_END_NAMESPACE |