From fcc25b11bbb8393ef3e0738bee107d52ea553111 Mon Sep 17 00:00:00 2001 From: Marcel Krems Date: Mon, 24 Aug 2020 20:48:06 +0200 Subject: QPrinterInfo: Remove deprecated methods Change-Id: I5089bc23308a4348dc21122dfa000d5ca6e3938d Reviewed-by: Thiago Macieira --- .../printsupport/kernel/qprinterinfo/tst_qprinterinfo.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'tests/auto/printsupport/kernel/qprinterinfo/tst_qprinterinfo.cpp') diff --git a/tests/auto/printsupport/kernel/qprinterinfo/tst_qprinterinfo.cpp b/tests/auto/printsupport/kernel/qprinterinfo/tst_qprinterinfo.cpp index 81b49a3a87..efd9e77455 100644 --- a/tests/auto/printsupport/kernel/qprinterinfo/tst_qprinterinfo.cpp +++ b/tests/auto/printsupport/kernel/qprinterinfo/tst_qprinterinfo.cpp @@ -302,12 +302,6 @@ void tst_QPrinterInfo::testConstructors() QCOMPARE(copy1.minimumPhysicalPageSize(), printers.at(i).minimumPhysicalPageSize()); QCOMPARE(copy1.maximumPhysicalPageSize(), printers.at(i).maximumPhysicalPageSize()); QCOMPARE(copy1.supportedPageSizes(), printers.at(i).supportedPageSizes()); -#if QT_DEPRECATED_SINCE(5, 3) -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED - QCOMPARE(copy1.supportedSizesWithNames(), printers.at(i).supportedSizesWithNames()); -QT_WARNING_POP -#endif QCOMPARE(copy1.supportedResolutions(), printers.at(i).supportedResolutions()); QCOMPARE(copy1.defaultDuplexMode(), printers.at(i).defaultDuplexMode()); QCOMPARE(copy1.supportedDuplexModes(), printers.at(i).supportedDuplexModes()); @@ -328,12 +322,6 @@ QT_WARNING_POP QCOMPARE(copy2.minimumPhysicalPageSize(), printers.at(i).minimumPhysicalPageSize()); QCOMPARE(copy2.maximumPhysicalPageSize(), printers.at(i).maximumPhysicalPageSize()); QCOMPARE(copy2.supportedPageSizes(), printers.at(i).supportedPageSizes()); -#if QT_DEPRECATED_SINCE(5, 3) - QT_WARNING_PUSH - QT_WARNING_DISABLE_DEPRECATED - QCOMPARE(copy2.supportedSizesWithNames(), printers.at(i).supportedSizesWithNames()); - QT_WARNING_POP -#endif QCOMPARE(copy2.supportedResolutions(), printers.at(i).supportedResolutions()); QCOMPARE(copy2.defaultDuplexMode(), printers.at(i).defaultDuplexMode()); QCOMPARE(copy2.supportedDuplexModes(), printers.at(i).supportedDuplexModes()); -- cgit v1.2.3