aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2019-01-10 14:35:07 +0100
committerDominik Holland <dominik.holland@pelagicore.com>2019-01-11 13:15:11 +0000
commitd3ad948fd87263bebe5709b136911e0b0efdb9d1 (patch)
treedfdc20d8d5122f661288c3b906a925b3c1318f6b
parent06d304676a28d445d22623e03cd0ec3d2627dce5 (diff)
Move the QIviServiceInterface documentation to the correct source file
Change-Id: I178d961a5142fb8e10944100b937ee4c2f6e8590 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
-rw-r--r--src/ivicore/qiviserviceinterface.cpp27
-rw-r--r--src/ivicore/qiviserviceobject.cpp30
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