Qt 4.8
Functions
qdirectfbconvenience.cpp File Reference
#include "qdirectfbconvenience.h"
#include "qdirectfbblitter.h"
#include "qdirectfbscreen.h"
#include <private/qpixmap_blitter_p.h>
#include <QtGui/QWidget>
#include <QtGui/QScreen>

Go to the source code of this file.

Functions

IDirectFBDisplayLayer * toDfbLayer (QPlatformScreen *screen)
 
QDirectFbScreentoDfbScreen (QWidget *window)
 

Function Documentation

◆ toDfbLayer()

IDirectFBDisplayLayer* toDfbLayer ( QPlatformScreen screen)

Definition at line 392 of file qdirectfbconvenience.cpp.

Referenced by QDirectFBCursor::changeCursor(), and QDirectFBPointer< IDirectFBSurface >::outPtr().

393 {
394  return static_cast<QDirectFbScreen*>(screen)->dfbLayer();
395 }

◆ toDfbScreen()

QDirectFbScreen* toDfbScreen ( QWidget window)

Definition at line 387 of file qdirectfbconvenience.cpp.

Referenced by QDirectFBPointer< IDirectFBSurface >::outPtr(), and QDirectFbWindow::QDirectFbWindow().

388 {
389  return static_cast<QDirectFbScreen*>(QPlatformScreen::platformScreenForWidget(window));
390 }
static QPlatformScreen * platformScreenForWidget(const QWidget *widget)