Skip to content
Permalink
Browse files
doxygen warnings fixes
  • Loading branch information
blazek committed Jan 6, 2013
1 parent 66ca8f4 commit a1d4028308e09acebdb0ab8d08a1bfcf7eadafb6
Showing with 21 additions and 14 deletions.
  1. +9 −8 src/core/qgsnetworkreplyparser.h
  2. +12 −6 src/core/qgswfsdata.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<QByteArray,QByteArray> > mHeaders;
QList< QMap<QByteArray, QByteArray> > mHeaders;

/* List of part bodies */
QList<QByteArray> mBodies;
};

#endif
#endif
@@ -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*/

0 comments on commit a1d4028

Please sign in to comment.