SIC QPrintSupport: Remove unused PPK_SuppressSystemPrintStatus
authorJohn Layt <jlayt@kde.org>
Sun, 29 Jul 2012 16:41:08 +0000 (17:41 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 21 Nov 2012 10:03:48 +0000 (11:03 +0100)
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>
dist/changes-5.0.0
src/plugins/platforms/cocoa/qprintengine_mac.mm
src/printsupport/kernel/qprintengine.h
src/printsupport/kernel/qprinter.cpp

index a444cc3..922e166 100644 (file)
@@ -325,6 +325,8 @@ information about a particular change.
 
 - QThread::terminated() has been removed, since its emission cannot be guaranteed.
 
+- QPrintEngine - Removed the PPK_SuppressSystemPrintStatus key as no longer used.
+
 ****************************************************************************
 *                           General                                        *
 ****************************************************************************
index 94c89ad..d497c56 100644 (file)
@@ -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;
index d81d5bd..ab4483e 100644 (file)
@@ -78,7 +78,6 @@ public:
 
         PPK_WindowsPageSize,
         PPK_FontEmbedding,
-        PPK_SuppressSystemPrintStatus,
 
         PPK_Duplex,
 
index d665314..bc8ce5f 100644 (file)
@@ -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.