summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2012-07-27 14:10:20 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-28 04:30:38 +0200
commite2f40da2578278da766038a6e7e5780e350191f2 (patch)
tree4bfc55fb34bcfda97abd4c9e45235779c9f02ae9
parent339dc331fddb0c1ff0b23c33e644aa05c92f31cc (diff)
removed duplicated docs in android qsharedmemory and systemsemaphore
Qdoc sees all source and header files, rather than the subset selected by qmake. This leads to qdoc errors when the same functions are documented in multiple implementations. In the cases fixed here, all documentation was duplicated, so no information was lost. Change-Id: Id7f8e2e617862a3778d0b05b38d8811aad456ac5 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
-rw-r--r--src/corelib/kernel/qsharedmemory_android.cpp14
-rw-r--r--src/corelib/kernel/qsystemsemaphore_android.cpp13
2 files changed, 0 insertions, 27 deletions
diff --git a/src/corelib/kernel/qsharedmemory_android.cpp b/src/corelib/kernel/qsharedmemory_android.cpp
index d9806a8b37..c0603c692c 100644
--- a/src/corelib/kernel/qsharedmemory_android.cpp
+++ b/src/corelib/kernel/qsharedmemory_android.cpp
@@ -60,11 +60,6 @@ void QSharedMemoryPrivate::setErrorString(const QString &function)
qWarning() << Q_FUNC_INFO << "Not yet implemented on Android";
}
-/*!
- \internal
-
- If not already made create the handle used for accessing the shared memory.
-*/
key_t QSharedMemoryPrivate::handle()
{
qWarning() << Q_FUNC_INFO << "Not yet implemented on Android";
@@ -74,15 +69,6 @@ key_t QSharedMemoryPrivate::handle()
#endif // QT_NO_SHAREDMEMORY
#if !(defined(QT_NO_SHAREDMEMORY) && defined(QT_NO_SYSTEMSEMAPHORE))
-/*!
- \internal
- Creates the unix file if needed.
- returns true if the unix file was created.
-
- -1 error
- 0 already existed
- 1 created
- */
int QSharedMemoryPrivate::createUnixKeyFile(const QString &fileName)
{
qWarning() << Q_FUNC_INFO << "Not yet implemented on Android";
diff --git a/src/corelib/kernel/qsystemsemaphore_android.cpp b/src/corelib/kernel/qsystemsemaphore_android.cpp
index 1e13f6eb5a..58c31c35d6 100644
--- a/src/corelib/kernel/qsystemsemaphore_android.cpp
+++ b/src/corelib/kernel/qsystemsemaphore_android.cpp
@@ -59,30 +59,17 @@ void QSystemSemaphorePrivate::setErrorString(const QString &function)
qWarning() << Q_FUNC_INFO << "Not yet implemented on Android";
}
-/*!
- \internal
-
- Setup unix_key
- */
key_t QSystemSemaphorePrivate::handle(QSystemSemaphore::AccessMode mode)
{
qWarning() << Q_FUNC_INFO << "Not yet implemented on Android";
return -1;
}
-/*!
- \internal
-
- Cleanup the unix_key
- */
void QSystemSemaphorePrivate::cleanHandle()
{
qWarning() << Q_FUNC_INFO << "Not yet implemented on Android";
}
-/*!
- \internal
- */
bool QSystemSemaphorePrivate::modifySemaphore(int count)
{
qWarning() << Q_FUNC_INFO << "Not yet implemented on Android";