From a1d4028308e09acebdb0ab8d08a1bfcf7eadafb6 Mon Sep 17 00:00:00 2001 From: Radim Blazek Date: Sun, 6 Jan 2013 19:28:21 +0100 Subject: [PATCH] doxygen warnings fixes --- src/core/qgsnetworkreplyparser.h | 17 +++++++++-------- src/core/qgswfsdata.h | 18 ++++++++++++------ 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/src/core/qgsnetworkreplyparser.h b/src/core/qgsnetworkreplyparser.h index 5485c95523b..88ccd770976 100644 --- a/src/core/qgsnetworkreplyparser.h +++ b/src/core/qgsnetworkreplyparser.h @@ -32,14 +32,14 @@ class CORE_EXPORT QgsNetworkReplyParser : public QObject { - Q_OBJECT + Q_OBJECT public: /** Constructor * @param reply */ QgsNetworkReplyParser( QNetworkReply *reply ); - /** Indicates if successfully parsed + /** Indicates if successfully parsed * @return true if successfully parsed */ bool isValid() const { return mValid; } @@ -49,20 +49,21 @@ class CORE_EXPORT QgsNetworkReplyParser : public QObject /** Get part header * @param part part index + * @param headerName header name * @return raw header */ - QByteArray rawHeader ( int part, const QByteArray & headerName ) const { return mHeaders.value(part).value(headerName); } - + QByteArray rawHeader( int part, const QByteArray & headerName ) const { return mHeaders.value( part ).value( headerName ); } + /** Get part part body * @param part part index * @return part body */ - QByteArray body ( int part ) const { return mBodies.value(part); } + QByteArray body( int part ) const { return mBodies.value( part ); } /** Parsing error */ QString error() const { return mError; } /** Test if reply is multipart. * @return true if reply is multipart */ - static bool isMultipart ( QNetworkReply *reply ); + static bool isMultipart( QNetworkReply *reply ); private: QNetworkReply *mReply; @@ -72,10 +73,10 @@ class CORE_EXPORT QgsNetworkReplyParser : public QObject QString mError; /* List of header maps */ - QList< QMap > mHeaders; + QList< QMap > mHeaders; /* List of part bodies */ QList mBodies; }; -#endif +#endif diff --git a/src/core/qgswfsdata.h b/src/core/qgswfsdata.h index b21d4702827..5f4dd3e7a35 100644 --- a/src/core/qgswfsdata.h +++ b/src/core/qgswfsdata.h @@ -35,6 +35,14 @@ class CORE_EXPORT QgsWFSData: public QObject { Q_OBJECT public: + /** Constructor. + @param uri request uri + @param extent the extent of the WFS layer + @param features the features of the layer + @param idMap + @param geometryAttribute + @param thematicAttributes + @param wkbType */ QgsWFSData( const QString& uri, QgsRectangle* extent, @@ -46,11 +54,7 @@ class CORE_EXPORT QgsWFSData: public QObject ~QgsWFSData(); /**Does the Http GET request to the wfs server - @param query string (to define the requested typename) - @param extent the extent of the WFS layer - @param srs the reference system of the layer - @param features the features of the layer - @return 0 in case of success*/ + @return 0 in case of success */ int getWFSData(); private slots: @@ -108,7 +112,9 @@ class CORE_EXPORT QgsWFSData: public QObject @return 0 in case of success*/ int readEpsgFromAttribute( int& epsgNr, const XML_Char** attr ) const; /**Reads attribute as string - @return attribute value or an empty string if no such attribute*/ + @param attributeName + @param attr + @return attribute value or an empty string if no such attribute*/ QString readAttribute( const QString& attributeName, const XML_Char** attr ) const; /**Creates a rectangle from a coordinate string. @return 0 in case of success*/