| Home · API Reference · Modules |

Signals | |
| void | screenSizeChanged (const QSize &newSize) |
Public Member Functions | |
| AbstractSurfaceFactory () | |
| virtual | ~AbstractSurfaceFactory () |
| virtual QSize | screenSize () const =0 |
| virtual bool | supported (AbstractSurface::Options options) const =0 |
| virtual QSharedPointer < AbstractSurface > | create (AbstractSurface::Options options, const QSharedPointer< AbstractSurface > &parent=QSharedPointer< AbstractSurface >())=0 |
The AbstractSurfaceFactory class is used to create AbstractSurface instances.
~AbstractSurfaceFactory
| virtual QSharedPointer<AbstractSurface> Maliit::Plugins::AbstractSurfaceFactory::create | ( | AbstractSurface::Options | options, |
| const QSharedPointer< AbstractSurface > & | parent = QSharedPointer< AbstractSurface >() |
||
| ) | [pure virtual] |
creates a new AbstractSurface instance with options and parent
| options | the options the surface should have |
| parent | the parent of the new surface |
| virtual QSize Maliit::Plugins::AbstractSurfaceFactory::screenSize | ( | ) | const [pure virtual] |
returns the available screen size in current screen orientation
Implemented in Maliit::Server::WindowedSurfaceFactory, and Maliit::Server::QuickViewSurfaceFactory.
| void Maliit::Plugins::AbstractSurfaceFactory::screenSizeChanged | ( | const QSize & | newSize | ) | [signal] |
signaled when the screen size changed
| newSize | the new screen size |
| virtual bool Maliit::Plugins::AbstractSurfaceFactory::supported | ( | AbstractSurface::Options | options | ) | const [pure virtual] |
returns if a surface with options can be created
| options | the options the surface should have |
| Copyright © 2011 Nokia Corporation | Maliit |