Skip to content

Commit 4969b3a

Browse files
author
timlinux
committed
Api documentation updates and setting grouping tag
git-svn-id: http://svn.osgeo.org/qgis/trunk@9090 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 56e6167 commit 4969b3a

8 files changed

+29
-23
lines changed

src/core/qgsapplication.h

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
#include <QApplication>
2020

21+
/** \ingroup core
22+
* Extends QApplication to provide access to QGIS specific resources such
23+
* as theme paths, database paths etc.
24+
*/
2125
class CORE_EXPORT QgsApplication: public QApplication
2226
{
2327
public:

src/core/qgsattributeaction.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ class QDomNode;
3636
class QDomDocument;
3737

3838

39-
/*! \class QgsAction
40-
* \brief Utility class that encapsulates an action and associated information
39+
/** \ingroup core
40+
* Utility class that encapsulates an action based on vector attributes.
4141
*/
4242
class CORE_EXPORT QgsAction
4343
{

src/core/qgsclipper.h

+9-7
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@
2727
#include <cmath>
2828
#include <iostream>
2929

30-
// The functions in this class are likely to be called from within a
31-
// render loop and hence need to as CPU efficient as possible.
32-
33-
// The main purpose of the functions in this class are to trim lines
34-
// and polygons to lie within a rectangular region. This is necessary
35-
// for drawing items to an X11 display which have a limit on the
36-
// magnitude of the screen coordinates (+/- 32768, i.e. 16 bit integer).
30+
/** \ingroup core
31+
* A class to trim lines and polygons to within a rectangular region.
32+
* The functions in this class are likely to be called from within a
33+
* render loop and hence need to as CPU efficient as possible.
34+
* The main purpose of the functions in this class are to trim lines
35+
* and polygons to lie within a rectangular region. This is necessary
36+
* for drawing items to an X11 display which have a limit on the
37+
* magnitude of the screen coordinates (+/- 32768, i.e. 16 bit integer).
38+
*/
3739

3840
class CORE_EXPORT QgsClipper
3941
{

src/core/qgscontexthelp.h

+2-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ class QTcpSocket;
2727
#ifdef Q_OS_MACX
2828
#define QGSCONTEXTHELP_REUSE 1
2929
#endif
30-
/*!
31-
* \class QgsContextHelp
32-
* \brief Provides a context based help browser for a dialog.
30+
/** \ingroup core
31+
* Provides a context based help browser for a dialog.
3332
*
3433
* The help text is stored in SQLite and accessed by a context identifier
3534
* unique to each dialog. This is a singleton class which invokes the help

src/core/qgscoordinatetransform.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ class QDomDocument;
3636
typedef void* projPJ;
3737
class QString;
3838

39-
/*! \class QgsCoordinateTransform
40-
* \brief Class for doing transforms between two map coordinate systems.
39+
/** \ingroup core
40+
* Class for doing transforms between two map coordinate systems.
4141
*
42-
* This class can convert map coordinates to a different spatial reference system.
42+
* This class can convert map coordinates to a different coordinate reference system.
4343
* It is normally associated with a map layer and is used to transform between the
4444
* layer's coordinate system and the coordinate system of the map canvas, although
4545
* it can be used in a more general sense to transform coordinates.

src/core/qgscsexception.h

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
#define QGSCSEXCEPTION_H
2020

2121
#include "qgsexception.h"
22+
/** \ingroup core
23+
* Custom exception class for Coordinate Reference System related exceptions.
24+
*/
2225
class CORE_EXPORT QgsCsException : public QgsException
2326
{
2427
public:

src/core/qgsdataprovider.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ class QgsRect;
2626
class QgsSpatialRefSys;
2727

2828

29-
/** \class QgsDataProvider
30-
* \brief Abstract base class for spatial data provider implementations
29+
/** \ingroup core
30+
* Abstract base class for spatial data provider implementations.
3131
* @author Gary E.Sherman
3232
*
3333
* This object needs to inherit from QObject to enable event

src/core/qgsdatasourceuri.h

+4-6
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@
2222

2323
#include <QString>
2424

25-
/**
26-
\struct QgsDataSourceURI
27-
\brief Structure for storing the component parts of a PostgreSQL/RDBMS datasource URI.
28-
29-
This structure stores the database connection information, including host, database,
30-
user name, password, schema, password, and sql where clause
25+
/** \ingroup core
26+
* Class for storing the component parts of a PostgreSQL/RDBMS datasource URI.
27+
* This structure stores the database connection information, including host, database,
28+
* user name, password, schema, password, and sql where clause
3129
*/
3230
class CORE_EXPORT QgsDataSourceURI
3331
{

0 commit comments

Comments
 (0)