123456789101112131415161718192021222324252627 |
- #include "printersdiscovery.h"
- /**
- * @brief PrintersDiscovery::smellPrinters
- * @return
- */
- QStringList PrintersDiscovery::smellPrinterNames()
- {
- return QPrinterInfo::availablePrinterNames();
- }
- /**
- * @brief PrintersDiscovery::defaultPrinterName
- */
- QString PrintersDiscovery::defaultPrinterName()
- {
- return QPrinterInfo::defaultPrinterName();
- }
- /**
- * @brief PrintersDiscovery::smellPrintersInfo
- * @return
- */
- QList<QPrinterInfo> PrintersDiscovery::smellPrintersInfo()
- {
- return QPrinterInfo::availablePrinters();
- }
|