#ifdef Q_WS_MAEMO_5 // workaround for buggy Qt autorotation
int exec() {
QRect r = dynamic_cast<QWidget*>(this->parent())->rect();
#ifdef Q_WS_MAEMO_5 // workaround for buggy Qt autorotation
int exec() {
QRect r = dynamic_cast<QWidget*>(this->parent())->rect();