The AbstractSurfaceFactory class is used to create AbstractSurface instances.
Maliit::Plugins::AbstractSurfaceFactory::AbstractSurfaceFactory |
( |
| ) |
|
Maliit::Plugins::AbstractSurfaceFactory::~AbstractSurfaceFactory |
( |
| ) |
|
|
virtual |
creates a new AbstractSurface instance with options and parent
- Parameters
-
options | the options the surface should have |
parent | the parent of the new surface |
- Returns
- a new AbstractSurface
virtual QSize Maliit::Plugins::AbstractSurfaceFactory::screenSize |
( |
| ) |
const |
|
pure virtual |
void Maliit::Plugins::AbstractSurfaceFactory::screenSizeChanged |
( |
const QSize & |
newSize | ) |
|
|
signal |
signaled when the screen size changed
- Parameters
-
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
- Parameters
-
options | the options the surface should have |
- Returns
- true if such a surface can be created