00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef PRINTERLISTJOB_H
00024 #define PRINTERLISTJOB_H
00025
00026
00027 #include "urpojob.h"
00028 #include <QStringList>
00029
00041 class PrinterListJob : public UrpoJob
00042 {
00043 Q_OBJECT
00044 public:
00045 explicit PrinterListJob(UrpoConnection* connection);
00047 QStringList getPrinters() const { return printers_; }
00048
00049 signals:
00050
00051 public slots:
00053 void doList(bool success);
00054
00055 protected:
00056 void startJob();
00057 void cancelJob();
00058
00059 private:
00060 QStringList printers_;
00061 UrpoProcess* process_;
00062 };
00063
00064 #endif // PRINTERLISTJOB_H