Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# QProxyScreen Class Reference

The QProxyScreen class provides a generic interface to QScreen implementations. More...

     #include <QProxyScreen>

Inherits: QScreen.

- List of all members, including inherited members

## Public Functions

| QProxyScreen ( int displayId, ClassId classId = ProxyClass )
| ~QProxyScreen ()
QScreen * | screen () const
void | setScreen ( QScreen * screen )

## Reimplemented Public Functions

virtual void | blank ( bool on )
virtual void | blit ( const QImage & image, const QPoint & topLeft, const QRegion & region )
virtual bool | connect ( const QString & displaySpec )
virtual QWSWindowSurface * | createSurface ( QWidget * widget ) const
virtual QWSWindowSurface * | createSurface ( const QString & key ) const
virtual void | disconnect ()
virtual void | exposeRegion ( QRegion r, int changing )
virtual bool | initDevice ()
virtual bool | isInterlaced () const
virtual bool | isTransformed () const
virtual QSize | mapFromDevice ( const QSize & s ) const
virtual QPoint | mapFromDevice ( const QPoint & p, const QSize & s ) const
virtual QRect | mapFromDevice ( const QRect & r, const QSize & s ) const
virtual QRegion | mapFromDevice ( const QRegion & r, const QSize & s ) const
virtual QSize | mapToDevice ( const QSize & s ) const
virtual QPoint | mapToDevice ( const QPoint & p, const QSize & s ) const
virtual QRect | mapToDevice ( const QRect & r, const QSize & s ) const
virtual QRegion | mapToDevice ( const QRegion & r, const QSize & s ) const
virtual bool | onCard ( const unsigned char * ptr ) const
virtual bool | onCard ( const unsigned char * ptr, ulong & offset ) const
virtual QRegion | region () const
virtual void | restore ()
virtual void | save ()
virtual void | setDirty ( const QRect & rect )
virtual void | setMode ( int w, int h, int d )
virtual void | shutdownDevice ()
virtual void | solidFill ( const QColor & color, const QRegion & region )
virtual QList<QScreen *> | subScreens () const
virtual bool | supportsDepth ( int depth ) const
virtual int | transformOrientation () const

- 54 public functions inherited from QScreen

### Additional Inherited Members

- 1 static public member inherited from QScreen
- 1 protected function inherited from QScreen
- 15 protected variables inherited from QScreen

## Detailed Description

The QProxyScreen class provides a generic interface to QScreen implementations.

## Member Function Documentation

### QProxyScreen::QProxyScreen ( int displayId, ClassId classId = ProxyClass )

Constructs a proxy screen with the given displayId and classId.

### QProxyScreen::~QProxyScreen ()

Destroys the proxy screen.

### void QProxyScreen::blank ( bool on )`[virtual]`

Reimplemented from QScreen::blank().

### void QProxyScreen::blit ( const QImage & image, const QPoint & topLeft, const QRegion & region )`[virtual]`

Reimplemented from QScreen::blit().

### bool QProxyScreen::connect ( const QString & displaySpec )`[virtual]`

Reimplemented from QScreen::connect().

### QWSWindowSurface * QProxyScreen::createSurface ( QWidget * widget ) const`[virtual]`

Reimplemented from QScreen::createSurface().

### QWSWindowSurface * QProxyScreen::createSurface ( const QString & key ) const`[virtual]`

Reimplemented from QScreen::createSurface().

### void QProxyScreen::disconnect ()`[virtual]`

Reimplemented from QScreen::disconnect().

### void QProxyScreen::exposeRegion ( QRegion r, int changing )`[virtual]`

Reimplemented from QScreen::exposeRegion().

### bool QProxyScreen::initDevice ()`[virtual]`

Reimplemented from QScreen::initDevice().

### bool QProxyScreen::isInterlaced () const`[virtual]`

Reimplemented from QScreen::isInterlaced().

### bool QProxyScreen::isTransformed () const`[virtual]`

Reimplemented from QScreen::isTransformed().

### QSize QProxyScreen::mapFromDevice ( const QSize & s ) const`[virtual]`

Reimplemented from QScreen::mapFromDevice().

### QPoint QProxyScreen::mapFromDevice ( const QPoint & p, const QSize & s ) const`[virtual]`

Reimplemented from QScreen::mapFromDevice().

### QRect QProxyScreen::mapFromDevice ( const QRect & r, const QSize & s ) const`[virtual]`

Reimplemented from QScreen::mapFromDevice().

### QRegion QProxyScreen::mapFromDevice ( const QRegion & r, const QSize & s ) const`[virtual]`

Reimplemented from QScreen::mapFromDevice().

### QSize QProxyScreen::mapToDevice ( const QSize & s ) const`[virtual]`

Reimplemented from QScreen::mapToDevice().

### QPoint QProxyScreen::mapToDevice ( const QPoint & p, const QSize & s ) const`[virtual]`

Reimplemented from QScreen::mapToDevice().

### QRect QProxyScreen::mapToDevice ( const QRect & r, const QSize & s ) const`[virtual]`

Reimplemented from QScreen::mapToDevice().

### QRegion QProxyScreen::mapToDevice ( const QRegion & r, const QSize & s ) const`[virtual]`

Reimplemented from QScreen::mapToDevice().

### bool QProxyScreen::onCard ( const unsigned char * ptr ) const`[virtual]`

Reimplemented from QScreen::onCard().

### bool QProxyScreen::onCard ( const unsigned char * ptr, ulong & offset ) const`[virtual]`

Reimplemented from QScreen::onCard().

### QRegion QProxyScreen::region () const`[virtual]`

Reimplemented from QScreen::region().

### void QProxyScreen::restore ()`[virtual]`

Reimplemented from QScreen::restore().

### void QProxyScreen::save ()`[virtual]`

Reimplemented from QScreen::save().

### QScreen * QProxyScreen::screen () const

Returns the real screen used by the proxy screen.

See also setScreen().

### void QProxyScreen::setDirty ( const QRect & rect )`[virtual]`

Reimplemented from QScreen::setDirty().

### void QProxyScreen::setMode ( int w, int h, int d )`[virtual]`

Reimplemented from QScreen::setMode().

### void QProxyScreen::setScreen ( QScreen * screen )

Sets the real screen to be used by the proxy screen.

See also screen().

### void QProxyScreen::shutdownDevice ()`[virtual]`

Reimplemented from QScreen::shutdownDevice().

### void QProxyScreen::solidFill ( const QColor & color, const QRegion & region )`[virtual]`

Reimplemented from QScreen::solidFill().

### QList<QScreen *> QProxyScreen::subScreens () const`[virtual]`

Reimplemented from QScreen::subScreens().

### bool QProxyScreen::supportsDepth ( int depth ) const`[virtual]`

Reimplemented from QScreen::supportsDepth().

### int QProxyScreen::transformOrientation () const`[virtual]`

Reimplemented from QScreen::transformOrientation().