QCAD Application Framework
CAD Application Development and Automation.
 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 
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 
36 
37 #endif