Skip to content
Permalink
Browse files

fix QgsProject::clearProperties() doxymentation

  • Loading branch information
jef-n committed Feb 14, 2015
1 parent 86d08b6 commit 4a4a70057a080b3c74c81ce08f4d65fd5fd9fe00
Showing with 0 additions and 30 deletions.
  1. +0 −30 src/core/qgsproject.h
@@ -177,36 +177,6 @@ class CORE_EXPORT QgsProject : public QObject
bool write();
//@}


/// syntactic sugar for property lists
// DEPRECATED typedef QPair< QString, QVariant > PropertyValue;
// DEPRECATED typedef QValueList< PropertyValue > Properties;

/** extra properties, typically added by plug-ins
This allows for extra properties to be associated with projects. Think
of it as a registry bound to a project.
Properties are arbitrary values keyed by a name and associated with a
scope. The scope would presumably refer to your plug-in.
E.g., "openmodeller".
@note
E.g., open modeller might use:
<code>"QgsProject::instance()->properties("openmodeller")["foo"]</code>.
@todo "properties" is, overall, a good name; but that might imply that
the qgis specific state properites are different since they aren't
accessible here. Actually, what if we make "qgis" yet another
scope that stores its state in the properties list? E.g.,
QgsProject::instance()->properties()["qgis"]?
*/
// DEPRECATED Properties & properties( QString const & scope );

/**
removes all project properties

0 comments on commit 4a4a700

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