Skip to content

RFileImporter

Class in Core Module
Header: #include <src/core/RFileImporter.h>
Inherits: RImporter
Inherited by: RDxfImporter

Base class for file importers.

File importers import files of a specific format into an RDocument.

Scriptable: This class is available in script environments.

RFileImporter()
RFileImporter(RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL)
virtual ~RFileImporter()
virtual bool importFile(const QString &fileName, const QString &nameFilter, const QVariantMap &params=RDEFAULT_QVARIANTMAP)=0 = 0
Must be implemented by file importers to import the given file into the document.

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::RFileImporter(RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL)

virtual RFileImporter::~RFileImporter()

virtual

virtual bool RFileImporter::importFile(const QString &fileName, const QString &nameFilter, const QVariantMap &params=RDEFAULT_QVARIANTMAP)=0 = 0

pure virtual

Must be implemented by file importers to import the given file into the document.

Reimplemented in importFile.