From d3ad948fd87263bebe5709b136911e0b0efdb9d1 Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Thu, 10 Jan 2019 14:35:07 +0100 Subject: Move the QIviServiceInterface documentation to the correct source file Change-Id: I178d961a5142fb8e10944100b937ee4c2f6e8590 Reviewed-by: Robert Griebl --- src/ivicore/qiviserviceinterface.cpp | 27 +++++++++++++++++++++++++++ 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 -- cgit v1.2.3