QCAD Application Framework
CAD Application Development and Automation.
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RDwgExporterFactory.h
Go to the documentation of this file.
1
#ifndef RDWGEXPORTERFACTORY_H_
2
#define RDWGEXPORTERFACTORY_H_
3
4
#include <QFileInfo>
5
#include <QMetaType>
6
7
#include "
RDocument.h
"
8
#include "
RDwgExporter.h
"
9
#include "
RFileExporter.h
"
10
#include "
RFileExporterFactory.h
"
11
#include "
RFileExporterRegistry.h
"
12
16
class
RDwgExporterFactory
:
public
RFileExporterFactory
{
17
public
:
18
static
void
registerFileExporter
() {
19
RFileExporterRegistry::registerFileExporter
(
20
new
RDwgExporterFactory
()
21
);
22
}
23
24
virtual
QStringList
getFilterStrings
();
25
26
virtual
RFileExporter
*
instantiate
(
RDocument
& document) {
27
return
new
RDwgExporter
(document);
28
}
29
30
virtual
bool
canExport
(
const
QString& fileName,
const
QString& nameFilter);
31
};
32
33
Q_DECLARE_METATYPE
(
RDwgExporterFactory
*)
34
35
#endif
src
io
dwg
RDwgExporterFactory.h
Generated on Tue Jun 26 2012 18:41:08 for QCAD Application Framework by
1.8.1.1