OpenCoverage

qplatformprintersupport.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/printsupport/kernel/qplatformprintersupport.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7QPlatformPrinterSupport::QPlatformPrinterSupport()-
8{-
9}-
10-
11QPlatformPrinterSupport::~QPlatformPrinterSupport()-
12{-
13}-
14-
15QPrintEngine *QPlatformPrinterSupport::createNativePrintEngine(QPrinter::PrinterMode)-
16{-
17 return
never executed: return 0;
0;
never executed: return 0;
0
18}-
19-
20QPaintEngine *QPlatformPrinterSupport::createPaintEngine(QPrintEngine *, QPrinter::PrinterMode)-
21{-
22 return
never executed: return 0;
0;
never executed: return 0;
0
23}-
24-
25QPrintDevice QPlatformPrinterSupport::createPrintDevice(QPlatformPrintDevice *device)-
26{-
27 return
executed 5 times by 1 test: return QPrintDevice(device);
Executed by:
  • tst_QPrinter
QPrintDevice(device);
executed 5 times by 1 test: return QPrintDevice(device);
Executed by:
  • tst_QPrinter
5
28}-
29-
30QPrintDevice QPlatformPrinterSupport::createPrintDevice(const QString &id)-
31{-
32 (void)id;-
33 return
never executed: return QPrintDevice();
QPrintDevice();
never executed: return QPrintDevice();
0
34}-
35-
36QPrintDevice QPlatformPrinterSupport::createDefaultPrintDevice()-
37{-
38 return
never executed: return createPrintDevice(defaultPrintDeviceId());
createPrintDevice(defaultPrintDeviceId());
never executed: return createPrintDevice(defaultPrintDeviceId());
0
39}-
40-
41QStringList QPlatformPrinterSupport::availablePrintDeviceIds() const-
42{-
43 return
never executed: return QStringList();
QStringList();
never executed: return QStringList();
0
44}-
45-
46QString QPlatformPrinterSupport::defaultPrintDeviceId() const-
47{-
48 return
never executed: return QString();
QString();
never executed: return QString();
0
49}-
50-
51QPageSize QPlatformPrinterSupport::createPageSize(const QString &id, QSize size, const QString &localizedName)-
52{-
53 (void)id;-
54 (void)size;-
55 (void)localizedName;-
56 return
never executed: return QPageSize();
QPageSize();
never executed: return QPageSize();
0
57}-
58-
59-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9