CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::SharedDocuments Class Reference

Public Member Functions

QDomDocument loadDocument (const QString &filename)
 

Static Public Member Functions

static SharedDocumentsgetInstance ()
 

Detailed Description

Helper class for reusing opened documents instead of creating new instances to them.

Definition at line 41 of file cxXmlOptionItem.cpp.

Member Function Documentation

static SharedDocuments* cx::SharedDocuments::getInstance ( )
inlinestatic

Definition at line 44 of file cxXmlOptionItem.cpp.

QDomDocument cx::SharedDocuments::loadDocument ( const QString &  filename)
inline

read the document given by filename from disk, but use a cached document if already loaded.

Definition at line 54 of file cxXmlOptionItem.cpp.


The documentation for this class was generated from the following file: