49 #include <QtGui/private/qpixmap_blitter_p.h> 50 #include <QtGui/private/qpixmap_raster_p.h> 51 #include <QtCore/QCoreApplication> 52 #include <QtCore/QThread> 72 int argc = args.
size();
73 char **argv =
new char*[argc];
75 for (
int i = 0; i < argc; ++i)
78 DFBResult result = DirectFBInit(&argc, &argv);
79 if (result != DFB_OK) {
80 DirectFBError(
"QDirectFBScreen: error initializing DirectFB",
84 for (
int i = 0; i < argc; ++i)
QPlatformFontDatabase * fontDatabase() const
Accessor for the platform integrations fontdatabase.
virtual void initializeDirectFB()
#define QT_END_NAMESPACE
This macro expands to.
T * data() const
Returns the value of the pointer referenced by this object.
QList< QPlatformScreen * > mScreens
QDirectFBPointer< IDirectFB > m_dfb
QWindowSurface * createWindowSurface(QWidget *widget, WId winId) const
Factory function for QWindowSurface.
virtual void initializeScreen()
void append(const T &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
const T & at(int i) const
Returns the item at index position i in the list.
The QStringList class provides a list of strings.
virtual void initializeInput()
QByteArray toLocal8Bit() const Q_REQUIRED_RESULT
Returns the local 8-bit representation of the string as a QByteArray.
The QWindowSurface class provides the drawing area for top-level windows.
void reset(T *other=0)
Deletes the existing object it is pointing to if any, and sets its pointer to other.
IDirectFBDisplayLayer * dfbLayer() const
QScopedPointer< QDirectFbInput > m_input
const char * constData() const
Returns a pointer to the data stored in the byte array.
QPlatformWindow * createPlatformWindow(QWidget *widget, WId winId=0) const
Factory function for QPlatformWindow.
Q_CORE_EXPORT char * qstrdup(const char *)
void start(Priority=InheritPriority)
Begins execution of the thread by calling run().
QScopedPointer< QPlatformFontDatabase > m_fontDb
bool wait(unsigned long time=ULONG_MAX)
Blocks the thread until either of these conditions is met:
int size() const
Returns the number of items in the list.
static IDirectFB * dfbInterface()
QScopedPointer< QDirectFbScreen > m_primaryScreen
QPixmapData * createPixmapData(QPixmapData::PixelType type) const
Factory function for QPixmapData.
static QStringList arguments()
Returns the list of command-line arguments.