QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
Classes | Functions
qgsproject.h File Reference
#include "qgis_core.h"
#include "qgis_sip.h"
#include "qgis.h"
#include <memory>
#include <QHash>
#include <QList>
#include <QObject>
#include <QPair>
#include <QFileInfo>
#include <QStringList>
#include <QTranslator>
#include "qgssnappingconfig.h"
#include "qgsprojectversion.h"
#include "qgsexpressioncontextgenerator.h"
#include "qgsexpressioncontextscopegenerator.h"
#include "qgscoordinatereferencesystem.h"
#include "qgscoordinatetransformcontext.h"
#include "qgsprojectproperty.h"
#include "qgsmaplayerstore.h"
#include "qgsarchive.h"
#include "qgsreadwritecontext.h"
#include "qgsprojectmetadata.h"
#include "qgstranslationcontext.h"
#include "qgsprojectdisplaysettings.h"
#include "qgsprojecttranslator.h"
#include "qgscolorscheme.h"
#include "qgssettings.h"
#include "qgspropertycollection.h"
#include "qgsvectorlayereditbuffergroup.h"
#include "qgselevationshadingrenderer.h"
#include "qgsabstractsensor.h"
#include "qgsrelationmanager.h"
#include "qgsmapthemecollection.h"
Include dependency graph for qgsproject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QgsProject
 Encapsulates a QGIS project, including sets of map layers and their styles, layouts, annotations, canvases, etc. More...
 
class  QgsProjectDirtyBlocker
 Temporarily blocks QgsProject "dirtying" for the lifetime of the object. More...
 

Functions

CORE_EXPORT QgsProjectVersion getVersion (QDomDocument const &doc)
 Returns the version string found in the given DOM document.
 

Function Documentation

◆ getVersion()

CORE_EXPORT QgsProjectVersion getVersion ( QDomDocument const &  doc)

Returns the version string found in the given DOM document.

Returns
the version string or an empty string if none found
Note
not available in Python bindings.

Definition at line 1432 of file qgsproject.cpp.