Qt 4.8
Public Types | Public Functions | Public Variables | List of all members
QScreenPrivate Class Reference

Public Types

typedef void(* BlitFunc) (QScreen *, const QImage &, const QPoint &, const QRegion &)
 
typedef void(* SolidFillFunc) (QScreen *, const QColor &, const QRegion &)
 

Public Functions

QImage::Format preferredImageFormat () const
 
 QScreenPrivate (QScreen *parent, QScreen::ClassId id=QScreen::CustomClass)
 
 ~QScreenPrivate ()
 

Public Variables

BlitFunc blit
 
int classId
 
QWSGraphicsSystem defaultGraphicsSystem
 
bool fb_is_littleEndian
 
QGraphicsSystemgraphicsSystem
 
QPoint offset
 
QImage::Format pixelFormat
 
QPixmapDataFactorypixmapFactory
 
QScreenq_ptr
 
SolidFillFunc solidFill
 
QList< QScreen * > subScreens
 

Detailed Description

Definition at line 374 of file qscreen_qws.cpp.

Typedefs

◆ BlitFunc

typedef void(* QScreenPrivate::BlitFunc) (QScreen *, const QImage &, const QPoint &, const QRegion &)

Definition at line 383 of file qscreen_qws.cpp.

◆ SolidFillFunc

typedef void(* QScreenPrivate::SolidFillFunc) (QScreen *, const QColor &, const QRegion &)

Definition at line 382 of file qscreen_qws.cpp.

Constructors and Destructors

◆ QScreenPrivate()

QScreenPrivate::QScreenPrivate ( QScreen parent,
QScreen::ClassId  id = QScreen::CustomClass 
)

Definition at line 1297 of file qscreen_qws.cpp.

1300 #ifdef QT_QWS_CLIENTBLIT
1301  supportsBlitInClients(false),
1302 #endif
1303  classId(id), q_ptr(parent)
1304 {
1306  blit = qt_blit_setup;
1307 #if Q_BYTE_ORDER == Q_BIG_ENDIAN
1308  fb_is_littleEndian = false;
1309 #endif
1310  pixmapFactory = 0;
1312 }
QGraphicsSystem * graphicsSystem
QImage::Format pixelFormat
void qt_solidFill_setup(QScreen *screen, const QColor &color, const QRegion &region)
QScreen * q_ptr
QWSGraphicsSystem defaultGraphicsSystem
SolidFillFunc solidFill
void qt_blit_setup(QScreen *screen, const QImage &image, const QPoint &topLeft, const QRegion &region)
QPixmapDataFactory * pixmapFactory

◆ ~QScreenPrivate()

QScreenPrivate::~QScreenPrivate ( )

Definition at line 1314 of file qscreen_qws.cpp.

1315 {
1316 }

Functions

◆ preferredImageFormat()

QImage::Format QScreenPrivate::preferredImageFormat ( ) const
inline

Definition at line 1318 of file qscreen_qws.cpp.

Referenced by QScreen::compose(), and QScreen::paintBackground().

1319 {
1321  return pixelFormat;
1322 
1323  if (q_ptr->depth() <= 16)
1324  return QImage::Format_RGB16;
1325  else
1327 }
QImage::Format pixelFormat
QScreen * q_ptr
int depth() const
Returns the depth of the framebuffer, in bits per pixel.
Definition: qscreen_qws.h:229

Properties

◆ blit

BlitFunc QScreenPrivate::blit

Definition at line 386 of file qscreen_qws.cpp.

Referenced by QScreen::blit(), blit_template(), QScreenPrivate(), and qt_blit_setup().

◆ classId

int QScreenPrivate::classId

Definition at line 400 of file qscreen_qws.cpp.

Referenced by QScreen::classId().

◆ defaultGraphicsSystem

QWSGraphicsSystem QScreenPrivate::defaultGraphicsSystem

Definition at line 392 of file qscreen_qws.cpp.

Referenced by QScreenPrivate().

◆ fb_is_littleEndian

bool QScreenPrivate::fb_is_littleEndian

◆ graphicsSystem

QGraphicsSystem* QScreenPrivate::graphicsSystem

◆ offset

QPoint QScreenPrivate::offset

Definition at line 388 of file qscreen_qws.cpp.

Referenced by QScreen::offset(), and QScreen::setOffset().

◆ pixelFormat

QImage::Format QScreenPrivate::pixelFormat

◆ pixmapFactory

QPixmapDataFactory* QScreenPrivate::pixmapFactory

◆ q_ptr

QScreen* QScreenPrivate::q_ptr

Definition at line 401 of file qscreen_qws.cpp.

Referenced by preferredImageFormat().

◆ solidFill

SolidFillFunc QScreenPrivate::solidFill

◆ subScreens

QList<QScreen*> QScreenPrivate::subScreens

Definition at line 389 of file qscreen_qws.cpp.


The documentation for this class was generated from the following file: