From 20c7fa62caad8f93e3cfa81bcbfed4b753c3e92c Mon Sep 17 00:00:00 2001 From: John Layt Date: Fri, 1 Jun 2012 21:06:26 +0100 Subject: QtPrintSupport: Move printer list into plugin base class Move the cached printer list from the Windows plugin into the base class so the CUPS plugin can also use it in a subsequent commit. Change-Id: Idf5fb7fc49b1820aad58f16e8854ab9120caa193 Reviewed-by: Teemu Katajisto Reviewed-by: John Layt --- src/plugins/printsupport/windows/qwindowsprintersupport.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/plugins/printsupport/windows/qwindowsprintersupport.h') diff --git a/src/plugins/printsupport/windows/qwindowsprintersupport.h b/src/plugins/printsupport/windows/qwindowsprintersupport.h index be8758a1bd..52ff5bbbcd 100644 --- a/src/plugins/printsupport/windows/qwindowsprintersupport.h +++ b/src/plugins/printsupport/windows/qwindowsprintersupport.h @@ -42,7 +42,6 @@ #ifndef WINDOWSPRINTERSUPPORT_H #define WINDOWSPRINTERSUPPORT_H -#include #include QT_BEGIN_HEADER @@ -59,12 +58,6 @@ public: virtual QPrintEngine *createNativePrintEngine(QPrinter::PrinterMode printerMode); virtual QPaintEngine *createPaintEngine(QPrintEngine *printEngine, QPrinter::PrinterMode); virtual QList supportedPaperSizes(const QPrinterInfo &) const; - - virtual QList availablePrinters(); -private: - - QList mPrinterList; - QPrinter::PrinterMode mCurrentMode; }; QT_END_NAMESPACE -- cgit v1.2.3