diff options
author | aavit <qt_aavit@ovi.com> | 2012-08-30 13:30:51 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-30 13:51:22 +0200 |
commit | 634c39c1a950d1883e80b39989fbe3ccb517d124 (patch) | |
tree | 43d7a60a8da0e59f3d49ee3cfbd37e0e10e5b8d8 /src/gui | |
parent | ed4939eaac529e40a52762118ddbf153c2bf0c16 (diff) |
Doc: Fix misc. documentation errors
Change-Id: I9481ed452922ed5ecd159a8f60d7fbcb3683cec1
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/accessible/qaccessible2.cpp | 7 | ||||
-rw-r--r-- | src/gui/accessible/qaccessiblebridge.cpp | 12 | ||||
-rw-r--r-- | src/gui/image/qpixmapcache.cpp | 2 | ||||
-rw-r--r-- | src/gui/image/qpnghandler.cpp | 10 |
4 files changed, 5 insertions, 26 deletions
diff --git a/src/gui/accessible/qaccessible2.cpp b/src/gui/accessible/qaccessible2.cpp index 3ebab7e552..2aa9f5b9eb 100644 --- a/src/gui/accessible/qaccessible2.cpp +++ b/src/gui/accessible/qaccessible2.cpp @@ -220,13 +220,6 @@ QT_BEGIN_NAMESPACE */ /*! - \fn void QAccessibleEditableTextInterface::setAttributes(int startOffset, int endOffset, const QString &attributes) - - \sa QAccessibleTextInterface::attributes() -*/ - -/*! - \class QAccessibleValueInterface \class QAccessibleValueInterface \inmodule QtGui \ingroup accessibility diff --git a/src/gui/accessible/qaccessiblebridge.cpp b/src/gui/accessible/qaccessiblebridge.cpp index e0780f0680..902371b26a 100644 --- a/src/gui/accessible/qaccessiblebridge.cpp +++ b/src/gui/accessible/qaccessiblebridge.cpp @@ -82,17 +82,11 @@ QT_BEGIN_NAMESPACE */ /*! - \fn void QAccessibleBridge::notifyAccessibilityUpdate(int reason, QAccessibleInterface *interface, int child) + \fn void QAccessibleBridge::notifyAccessibilityUpdate(QAccessibleEvent *event) This function is called by Qt to notify the bridge about a change - in the accessibility information for object wrapped by the given - \a interface. - - \a reason specifies the cause of the change. It can take values - of type QAccessible::Event. - - \a child is the (1-based) index of the child element that has - changed. When \a child is 0, the object itself has changed. + in the accessibility information. The \a event specifies the interface, + object, reason and child element that has changed. \sa QAccessible::updateAccessibility() */ diff --git a/src/gui/image/qpixmapcache.cpp b/src/gui/image/qpixmapcache.cpp index f6c3a8866c..3f8a336266 100644 --- a/src/gui/image/qpixmapcache.cpp +++ b/src/gui/image/qpixmapcache.cpp @@ -67,7 +67,7 @@ QT_BEGIN_NAMESPACE or with a QPixmapCache::Key that the cache generates. Using QPixmapCache::Key for keys is faster than using strings. The string API is very convenient for complex keys but the QPixmapCache::Key API will be very - efficient and convenient for a one-to-one object-to-pixmap mapping \mdash in + efficient and convenient for a one-to-one object-to-pixmap mapping - in this case, you can store the keys as members of an object. If two pixmaps are inserted into the cache using equal keys then the diff --git a/src/gui/image/qpnghandler.cpp b/src/gui/image/qpnghandler.cpp index cccb29bb7b..3701aa940d 100644 --- a/src/gui/image/qpnghandler.cpp +++ b/src/gui/image/qpnghandler.cpp @@ -486,9 +486,6 @@ static void CALLBACK_CALL_TYPE qt_png_warning(png_structp /*png_ptr*/, png_const #endif -/*! - \internal -*/ void Q_INTERNAL_WIN_NO_THROW QPngHandlerPrivate::readPngTexts(png_info *info) { png_textp text_ptr; @@ -516,9 +513,6 @@ void Q_INTERNAL_WIN_NO_THROW QPngHandlerPrivate::readPngTexts(png_info *info) } -/*! - \internal -*/ bool Q_INTERNAL_WIN_NO_THROW QPngHandlerPrivate::readPngHeader() { state = Error; @@ -557,9 +551,7 @@ bool Q_INTERNAL_WIN_NO_THROW QPngHandlerPrivate::readPngHeader() return true; } -/*! - \internal -*/ + bool Q_INTERNAL_WIN_NO_THROW QPngHandlerPrivate::readPngImage(QImage *outImage) { if (state == Error) |