Skip to content

Commit

Permalink
doxygen warnings fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Jan 6, 2013
1 parent 66ca8f4 commit a1d4028
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
17 changes: 9 additions & 8 deletions src/core/qgsnetworkreplyparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand All @@ -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;
Expand All @@ -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
18 changes: 12 additions & 6 deletions src/core/qgswfsdata.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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:
Expand Down Expand Up @@ -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*/
Expand Down

0 comments on commit a1d4028

Please sign in to comment.