Qt 4.8
Public Functions | Static Public Functions | List of all members
QPixmapDataFactory Class Referenceabstract

#include <qpixmapdatafactory_p.h>

Public Functions

virtual QPixmapDatacreate (QPixmapData::PixelType type)=0
 
virtual ~QPixmapDataFactory ()
 

Static Public Functions

static QPixmapDataFactoryinstance (int screen=0)
 

Detailed Description

Definition at line 68 of file qpixmapdatafactory_p.h.

Constructors and Destructors

◆ ~QPixmapDataFactory()

QPixmapDataFactory::~QPixmapDataFactory ( )
virtual

Definition at line 101 of file qpixmapdatafactory.cpp.

102 {
103 }

Functions

◆ create()

virtual QPixmapData* QPixmapDataFactory::create ( QPixmapData::PixelType  type)
pure virtual

◆ instance()

QPixmapDataFactory * QPixmapDataFactory::instance ( int  screen = 0)
static

Definition at line 105 of file qpixmapdatafactory.cpp.

106 {
107  Q_UNUSED(screen);
108 #ifdef Q_WS_QWS
110 #else
111  return factory();
112 #endif
113 }
static QScreen * instance()
Returns a pointer to the application&#39;s QScreen instance.
Definition: qscreen_qws.h:201
QPixmapDataFactory * pixmapDataFactory() const
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

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