S60VideoDisplay::S60VideoDisplay(QObject *parent)
:   QObject(parent)
,   m_fullScreen(false)
,   m_visible(true)
,   m_aspectRatioMode(Qt::KeepAspectRatio)
,   m_paintingEnabled(false)
,   m_rotation(0.0f)
{
    connect(this, SIGNAL(displayRectChanged(QRect, QRect)),
            this, SLOT(updateContentRect()));
    connect(this, SIGNAL(nativeSizeChanged(QSize)),
            this, SLOT(updateContentRect()));
}
Beispiel #2
0
void AlertWebApp::paint()
{
	updateContentRect();
    WindowedWebApp::paint();
}
Beispiel #3
0
void AlertWebApp::loadFinished()
{
	updateContentRect();
	WindowedWebApp::loadFinished();
}