removed duplicated docs in android qsharedmemory and systemsemaphore
authorJeremy Katz <jeremy.katz@nokia.com>
Fri, 27 Jul 2012 12:10:20 +0000 (14:10 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sat, 28 Jul 2012 02:30:38 +0000 (04:30 +0200)
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>
src/corelib/kernel/qsharedmemory_android.cpp
src/corelib/kernel/qsystemsemaphore_android.cpp

index d9806a8..c0603c6 100644 (file)
@@ -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";
index 1e13f6e..58c31c3 100644 (file)
@@ -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";