RFileImporter
Class in Core Module
Header: #include <src/core/RFileImporter.h>
Inherits: RImporter
Inherited by: RDxfImporter
Description
Section titled “Description”Base class for file importers.
File importers import files of a specific format into an RDocument.
Scriptable: This class is available in script environments.
Public Functions
Section titled “Public Functions”RFileImporter() |
|
RFileImporter(RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL) |
|
| virtual | ~RFileImporter() |
| virtual bool | importFile(const QString &fileName, const QString &nameFilter, const QVariantMap ¶ms=RDEFAULT_QVARIANTMAP)=0 = 0Must be implemented by file importers to import the given file into the document. |
Member Documentation
Section titled “Member Documentation”RFileImporter
Section titled “RFileImporter”RFileImporter::RFileImporter()All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD.
RFileImporter
Section titled “RFileImporter”RFileImporter::RFileImporter(RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL)~RFileImporter
Section titled “~RFileImporter”virtual RFileImporter::~RFileImporter()virtual
importFile
Section titled “importFile”virtual bool RFileImporter::importFile(const QString &fileName, const QString &nameFilter, const QVariantMap ¶ms=RDEFAULT_QVARIANTMAP)=0 = 0pure virtual
Must be implemented by file importers to import the given file into the document.
Reimplemented in importFile.