11#include <QtGui/private/qgenericunixfontdatabase_p.h>
12#include <QtGui/private/qgenericunixeventdispatcher_p.h>
13#include <QtGui/private/qgenericunixservices_p.h>
15#include <QtGui/private/qpixmap_blitter_p.h>
16#include <QtGui/private/qpixmap_raster_p.h>
17#include <QtGui/private/qguiapplication_p.h>
18#include <qpa/qplatformpixmap.h>
19#include <QtCore/QCoreApplication>
20#include <QtCore/QThread>
21#include <QtCore/QAbstractEventDispatcher>
22#include <qpa/qplatforminputcontextfactory_p.h>
23#include <qpa/qwindowsysteminterface.h>
59 char **argv =
new char*[argc];
61 for (
int i = 0;
i < argc; ++
i)
64 DFBResult
result = DirectFBInit(&argc, &argv);
66 DirectFBError(
"QDirectFBScreen: error initializing DirectFB",
70 for (
int i = 0;
i < argc; ++
i)
113 return createUnixEventDispatcher();
static QStringList arguments()
static IDirectFB * dfbInterface()
QScopedPointer< QDirectFbInput > m_input
bool hasCapability(Capability cap) const override
QScopedPointer< QDirectFbScreen > m_primaryScreen
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
QPlatformInputContext * m_inputContext
QPlatformServices * services() const override
virtual void initializeInput()
QPlatformPixmap * createPlatformPixmap(QPlatformPixmap::PixelType type) const override
Factory function for QPlatformPixmap.
QPlatformFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.
QPlatformBackingStore * createPlatformBackingStore(QWindow *window) const override
Factory function for QPlatformBackingStore.
QScopedPointer< QPlatformFontDatabase > m_fontDb
virtual void initializeDirectFB()
QDirectFBPointer< IDirectFB > m_dfb
QPlatformNativeInterface * nativeInterface() const override
QScopedPointer< QPlatformServices > m_services
virtual void initializeScreen()
IDirectFBDisplayLayer * dfbLayer() const
virtual void createDirectFBWindow()
qsizetype size() const noexcept
const_reference at(qsizetype i) const noexcept
static QPlatformInputContext * create()
T * data() const noexcept
Returns the value of the pointer referenced by this object.
void reset(T *other=nullptr) noexcept(noexcept(Cleanup::cleanup(std::declval< T * >())))
Deletes the existing object it is pointing to (if any), and sets its pointer to other.
void start(Priority=InheritPriority)
bool wait(QDeadlineTimer deadline=QDeadlineTimer(QDeadlineTimer::Forever))
static void handleScreenAdded(QPlatformScreen *screen, bool isPrimary=false)
Should be called by the implementation whenever a new screen is added.
Combined button and popup list for selecting options.
Q_CORE_EXPORT char * qstrdup(const char *)