File tree 2 files changed +15
-2
lines changed
2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ class QgsDataItem : QObject
59
59
Directory,
60
60
Layer,
61
61
Error,
62
- Favourites
62
+ Favourites,
63
+ Project //! Represents a QGIS project
63
64
};
64
65
65
66
/** Create new data item. */
@@ -339,6 +340,12 @@ class QgsProjectItem : QgsDataItem
339
340
%End
340
341
public:
341
342
343
+ /**
344
+ * @brief A data item holding a reference to a QGIS project file.
345
+ * @param parent The parent data item.
346
+ * @param name The name of the of the project. Displayed to the user.
347
+ * @param path The full path to the project.
348
+ */
342
349
QgsProjectItem( QgsDataItem* parent, const QString& name, const QString& path );
343
350
~QgsProjectItem();
344
351
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ class CORE_EXPORT QgsDataItem : public QObject
85
85
Layer,
86
86
Error,
87
87
Favourites,
88
- Project
88
+ Project // ! Represents a QGIS project
89
89
};
90
90
91
91
/* * Create new data item. */
@@ -434,6 +434,12 @@ class CORE_EXPORT QgsProjectItem : public QgsDataItem
434
434
Q_OBJECT
435
435
public:
436
436
437
+ /* *
438
+ * @brief A data item holding a reference to a QGIS project file.
439
+ * @param parent The parent data item.
440
+ * @param name The name of the of the project. Displayed to the user.
441
+ * @param path The full path to the project.
442
+ */
437
443
QgsProjectItem ( QgsDataItem* parent, const QString& name, const QString& path );
438
444
~QgsProjectItem ();
439
445
You can’t perform that action at this time.
0 commit comments