diff options
author | John Layt <jlayt@kde.org> | 2012-07-29 17:41:08 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-21 11:03:48 +0100 |
commit | d48d83a1ac6761ed8481aba8875a6c7d99ae3f3a (patch) | |
tree | 44433544f9126541269e6048f60df0ffe8fe5afd /src | |
parent | bd88379482fd8896ec5dd1a20deb2f47c93a4347 (diff) |
SIC QPrintSupport: Remove unused PPK_SuppressSystemPrintStatus
Print Engine key PPK_SuppressSystemPrintStatus was added in Qt4.1
for Cocoa dialog to suppress the progress dialog. In Qt5 all cocoa
code has been removed and this key is now unused.
Change-Id: I3a91e9651e16f81611a9a736163f76acf9f20096
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/cocoa/qprintengine_mac.mm | 2 | ||||
-rw-r--r-- | src/printsupport/kernel/qprintengine.h | 1 | ||||
-rw-r--r-- | src/printsupport/kernel/qprinter.cpp | 4 |
3 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/platforms/cocoa/qprintengine_mac.mm b/src/plugins/platforms/cocoa/qprintengine_mac.mm index 94c89ad8db..d497c56126 100644 --- a/src/plugins/platforms/cocoa/qprintengine_mac.mm +++ b/src/plugins/platforms/cocoa/qprintengine_mac.mm @@ -642,8 +642,6 @@ void QMacPrintEngine::setProperty(PrintEnginePropertyKey key, const QVariant &va d->state = QPrinter::Idle; } break; } - case PPK_SuppressSystemPrintStatus: - break; case PPK_CustomPaperSize: { PMOrientation orientation; diff --git a/src/printsupport/kernel/qprintengine.h b/src/printsupport/kernel/qprintengine.h index d81d5bd172..ab4483e3c1 100644 --- a/src/printsupport/kernel/qprintengine.h +++ b/src/printsupport/kernel/qprintengine.h @@ -78,7 +78,6 @@ public: PPK_WindowsPageSize, PPK_FontEmbedding, - PPK_SuppressSystemPrintStatus, PPK_Duplex, diff --git a/src/printsupport/kernel/qprinter.cpp b/src/printsupport/kernel/qprinter.cpp index d665314ed8..bc8ce5f1cb 100644 --- a/src/printsupport/kernel/qprinter.cpp +++ b/src/printsupport/kernel/qprinter.cpp @@ -1974,10 +1974,6 @@ QPrinter::PrintRange QPrinter::printRange() const \value PPK_SupportedResolutions A list of integer QVariants describing the set of supported resolutions that the printer has. - \value PPK_SuppressSystemPrintStatus Suppress the built-in dialog for showing - printing progress. As of 4.1 this only has effect on Mac OS X where, by default, - a status dialog is shown. - \value PPK_WindowsPageSize An integer specifying a DM_PAPER entry on Windows. |