|
QCAD Application Framework
CAD Application Development and Automation.
|
Base class for file importers. More...
#include <RFileImporterAdapter.h>
Public Member Functions | |
| virtual bool | canImport (const QString &fileName, const QString &nameFilter) |
| Must be implemented by script file importers to check if the given file can be imported by this importer. | |
| virtual bool | importFile (const QString &fileName) |
| Must be implemented by file importers to import the given file into the document. | |
| RFileImporterAdapter () | |
| RFileImporterAdapter (RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL) | |
| virtual | ~RFileImporterAdapter () |
Public Member Functions inherited from RFileImporter | |
| RFileImporter () | |
| RFileImporter (RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL) | |
| virtual | ~RFileImporter () |
Public Member Functions inherited from RImporter | |
| virtual void | endImport () |
| Ends the import. | |
| virtual RBlock::Id | getCurrentBlockId () |
| RDocument & | getDocument () |
| virtual void | importObject (QSharedPointer< RObject > object) |
| Imports an entity into the document. | |
| RImporter () | |
| RImporter (RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL) | |
| virtual void | setCurrentBlockId (RBlock::Id id) |
| void | setDocument (RDocument *d) |
| virtual void | startImport () |
| Starts the import. | |
| virtual | ~RImporter () |
Base class for file importers.
File importers import files of a specific format into an RDocument.
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Must be implemented by script file importers to check if the given file can be imported by this importer.
|
inlinevirtual |
Must be implemented by file importers to import the given file into the document.
Implements RFileImporter.