mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
doxygen warnings fixes
This commit is contained in:
parent
66ca8f421a
commit
a1d4028308
@ -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*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user