Remove QPlatformPrinterSupport usage

QPlatformPrinterSupport seems to not exist anymore.

Change-Id: I142ce99877620e0b678fd6693bc72257ca230e4f
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
Johannes Zellner 2011-11-28 19:45:14 +01:00 committed by Qt by Nokia
parent 4db95ffd7d
commit 6366a3186a
2 changed files with 0 additions and 9 deletions

View 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

View 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;
};