File printing job'. More...
#include <printjob.h>
Public Slots | |
void | copyReady (bool success) |
When file has copied (internal use only). | |
void | printReady (bool success) |
When files has printed (internal use only). | |
void | deleteReady (bool success) |
When file has deleted (internal use only). | |
void | printFile (const QString &path, const QString &printOptions) |
Print sigle file. | |
void | startJob () |
Do not use, thows execption! | |
void | cancelJob () |
Cancel printing job. | |
Public Member Functions | |
PrintJob (UrpoConnection *connection) |
File printing job'.
Job for printing files. First, connect finished()-signal (called when ready) Then, printFile()
Definition at line 42 of file printjob.h.
void PrintJob::printFile | ( | const QString & | path, | |
const QString & | printOptions | |||
) | [slot] |
Print sigle file.
When finished, emit finished() signal
Definition at line 66 of file printjob.cpp.
void PrintJob::startJob | ( | ) | [virtual, slot] |
Do not use, thows execption!
This function exits only because of bad class planning.
std::logic_error | Thow error becouse this function is not for use! |
Implements UrpoJob.
Definition at line 59 of file printjob.cpp.