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
RFileExporterFactoryAdapter.h
Go to the documentation of this file.
1
#ifndef RFILEEXPORTERFACTORYADAPTER_H
2
#define RFILEEXPORTERFACTORYADAPTER_H
3
4
#include "
RFileExporter.h
"
5
#include "
RFileExporterFactory.h
"
6
7
class
RDocument
;
8
9
19
class
RFileExporterFactoryAdapter
:
public
RFileExporterFactory
{
20
public
:
21
virtual
QStringList
getFilterStrings
() {
return
QStringList(); }
22
virtual
bool
canExport
(
const
QString& fileName,
const
QString& nameFilter =
""
) {
23
Q_UNUSED(fileName)
24
Q_UNUSED(nameFilter)
25
26
return
false
;
27
}
28
virtual
RFileExporter
*
instantiate
(
RDocument
& document) {
29
Q_UNUSED(document)
30
31
return
NULL;
32
}
33
};
34
35
Q_DECLARE_METATYPE
(
RFileExporterFactoryAdapter
*)
36
37
#endif
src
core
RFileExporterFactoryAdapter.h
Generated on Tue Jun 26 2012 18:41:07 for QCAD Application Framework by
1.8.1.1