printersdiscovery.h 370 B

123456789101112131415161718
  1. #ifndef PRINTERSDISCOVERY_H
  2. #define PRINTERSDISCOVERY_H
  3. #include <QPrinterInfo>
  4. #include <QStringList>
  5. #include <QString>
  6. #include <QList>
  7. #include <QPrinterInfo>
  8. class PrintersDiscovery
  9. {
  10. public:
  11. static QStringList smellPrinterNames();
  12. static QString defaultPrinterName();
  13. static QList<QPrinterInfo> smellPrintersInfo();
  14. };
  15. #endif // PRINTERSDISCOVERY_H