30 #ifndef PRINTERINTERFACE_H 31 #define PRINTERINTERFACE_H 42 class PrinterHelperInterface;
49 Q_PROPERTY(QString printerName READ printerName WRITE setPrinterName NOTIFY printerNameChanged)
51 Q_PROPERTY(
int _current_property READ _currentProperty WRITE _setCurrentProperty DESIGNABLE false STORED false)
52 Q_PROPERTY(QString _current_property_description READ _current_property_description DESIGNABLE false STORED false)
59 virtual PrinterInterface * createInstance(QObject * parent = 0) const = 0;
60 virtual PrinterInterface * clone() const = 0;
64 QString printerName() const;
65 void setPrinterName(const QString & printerName);
67 virtual QString lastError() = 0;
69 virtual
void _setCurrentProperty(
int num) { m_currentProperty = num; }
71 virtual QString _current_property_description()
const;
74 void printerNameChanged(
const QString &);
92 virtual void load() = 0;
93 virtual void save() = 0;
103 #endif // PRINTERINTERFACE_H
Definition: abstractpainterdelegate.h:42
Definition: printerinterface.h:44
TODO v2: rename to ReportObject.
Definition: reportinterface.h:71
PrinterHelperInterface(PrinterInterface *, VisibleOptions=AllOptions)
Definition: printerinterface.h:91
Definition: reportplugininterface.h:53
QString m_printerName
Definition: printerinterface.h:79
virtual int _currentProperty()
Definition: printerinterface.h:70
VisibleOptions
Definition: printerinterface.h:90
int m_currentProperty
Definition: printerinterface.h:80
#define CUTEREPORT_EXPORTS
Definition: cutereport_globals.h:47
Definition: printerinterface.h:86
Definition: reportcore.h:83