12 #include <QApplication>
14 #include "scripterimpl.h"
19 Q_PROPERTY(QString printer READ getPrinter WRITE setPrinter)
20 Q_PROPERTY(QString file READ getFile WRITE setFile)
21 Q_PROPERTY(QString cmd READ getCmd WRITE setCmd)
22 Q_PROPERTY(QString separation READ getSeparation WRITE setSeparation)
23 Q_PROPERTY(QList<QVariant> pages READ getPages WRITE setPages)
24 Q_PROPERTY(
bool color READ isColor WRITE setColor)
25 Q_PROPERTY(
bool useICC READ getUseICC WRITE setUseICC)
26 Q_PROPERTY(
int psLevel READ getPsLevel WRITE setPsLevel)
27 Q_PROPERTY(
bool mph READ getMph WRITE setMph)
28 Q_PROPERTY(
bool mpv READ getMpv WRITE setMpv)
29 Q_PROPERTY(
bool ucr READ getUcr WRITE setUcr)
36 QList<QVariant> allPrinters();
40 void setPrinter(QString name);
43 void setFile(QString name);
46 void setCmd(QString name);
48 QString getSeparation();
49 void setSeparation(QString name);
51 QList<QVariant> getPages();
52 void setPages(QList<QVariant> list);
55 void setColor(
bool value);
58 void setUseICC(
bool value);
61 void setPsLevel(
int value);
64 void setMph(
bool value);
67 void setMpv(
bool value);
70 void setUcr(
bool value);
Definition: api_printer.h:16