QKmsIntegration::QKmsIntegration()
: QPlatformIntegration(),
m_fontDatabase(new QGenericUnixFontDatabase()),
- m_printerSupport(new QGenericUnixPrinterSupport()),
m_eventDispatcher(createUnixEventDispatcher())
{
QGuiApplicationPrivate::instance()->setEventDispatcher(m_eventDispatcher);
foreach (QPlatformScreen *screen, m_screens) {
delete screen;
}
- delete m_printerSupport;
delete m_fontDatabase;
}
return m_eventDispatcher;
}
-QPlatformPrinterSupport *QKmsIntegration::printerSupport() const
-{
- return m_printerSupport;
-}
-
QT_END_NAMESPACE
QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const;
QPlatformFontDatabase *fontDatabase() const;
- QPlatformPrinterSupport *printerSupport() const;
QAbstractEventDispatcher *guiThreadEventDispatcher() const;
void addScreen(QKmsScreen *screen);
QList<QPlatformScreen *> m_screens;
QList<QKmsDevice *> m_devices;
QPlatformFontDatabase *m_fontDatabase;
- QPlatformPrinterSupport *m_printerSupport;
QAbstractEventDispatcher *m_eventDispatcher;
};