Remove QPlatformPrinterSupport usage
authorJohannes Zellner <johannes.zellner@nokia.com>
Mon, 28 Nov 2011 18:45:14 +0000 (19:45 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 29 Nov 2011 13:00:01 +0000 (14:00 +0100)
QPlatformPrinterSupport seems to not exist anymore.

Change-Id: I142ce99877620e0b678fd6693bc72257ca230e4f
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/plugins/platforms/kms/qkmsintegration.cpp
src/plugins/platforms/kms/qkmsintegration.h

index d8e4876..d0055f2 100644 (file)
@@ -58,7 +58,6 @@ QT_BEGIN_NAMESPACE
 QKmsIntegration::QKmsIntegration()
     : QPlatformIntegration(),
       m_fontDatabase(new QGenericUnixFontDatabase()),
-      m_printerSupport(new QGenericUnixPrinterSupport()),
       m_eventDispatcher(createUnixEventDispatcher())
 {
     QGuiApplicationPrivate::instance()->setEventDispatcher(m_eventDispatcher);
@@ -77,7 +76,6 @@ QKmsIntegration::~QKmsIntegration()
     foreach (QPlatformScreen *screen, m_screens) {
         delete screen;
     }
-    delete m_printerSupport;
     delete m_fontDatabase;
 }
 
@@ -131,9 +129,4 @@ QAbstractEventDispatcher *QKmsIntegration::guiThreadEventDispatcher() const
     return m_eventDispatcher;
 }
 
-QPlatformPrinterSupport *QKmsIntegration::printerSupport() const
-{
-    return m_printerSupport;
-}
-
 QT_END_NAMESPACE
index a1f3623..15bbd1b 100644 (file)
@@ -62,7 +62,6 @@ public:
     QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const;
 
     QPlatformFontDatabase *fontDatabase() const;
-    QPlatformPrinterSupport *printerSupport() const;
     QAbstractEventDispatcher *guiThreadEventDispatcher() const;
 
     void addScreen(QKmsScreen *screen);
@@ -73,7 +72,6 @@ private:
     QList<QPlatformScreen *> m_screens;
     QList<QKmsDevice *> m_devices;
     QPlatformFontDatabase *m_fontDatabase;
-    QPlatformPrinterSupport *m_printerSupport;
     QAbstractEventDispatcher *m_eventDispatcher;
 };