Skip to content
Permalink
Browse files

Add missing docs

  • Loading branch information
NathanW2 committed Dec 11, 2015
1 parent bc67c08 commit 6dfffc5f126883958194675d82935ddd1ffd9697
Showing with 15 additions and 2 deletions.
  1. +8 −1 python/core/qgsdataitem.sip
  2. +7 −1 src/core/qgsdataitem.h
@@ -59,7 +59,8 @@ class QgsDataItem : QObject
Directory,
Layer,
Error,
Favourites
Favourites,
Project //! Represents a QGIS project
};

/** Create new data item. */
@@ -339,6 +340,12 @@ class QgsProjectItem : QgsDataItem
%End
public:

/**
* @brief A data item holding a reference to a QGIS project file.
* @param parent The parent data item.
* @param name The name of the of the project. Displayed to the user.
* @param path The full path to the project.
*/
QgsProjectItem( QgsDataItem* parent, const QString& name, const QString& path );
~QgsProjectItem();

@@ -85,7 +85,7 @@ class CORE_EXPORT QgsDataItem : public QObject
Layer,
Error,
Favourites,
Project
Project //! Represents a QGIS project
};

/** Create new data item. */
@@ -434,6 +434,12 @@ class CORE_EXPORT QgsProjectItem : public QgsDataItem
Q_OBJECT
public:

/**
* @brief A data item holding a reference to a QGIS project file.
* @param parent The parent data item.
* @param name The name of the of the project. Displayed to the user.
* @param path The full path to the project.
*/
QgsProjectItem( QgsDataItem* parent, const QString& name, const QString& path );
~QgsProjectItem();

0 comments on commit 6dfffc5

Please sign in to comment.
You can’t perform that action at this time.