QMaemo5Rotator *rotator = new QMaemo5Rotator(QMaemo5Rotator::AutomaticBehavior, this);
QMaemo5Rotator *rotator = new QMaemo5Rotator(QMaemo5Rotator::AutomaticBehavior, this);

rotator = new QMaemo5Rotator(QMaemo5Rotator::AutomaticBehavior, this);
rotator->setCurrentBehavior(QMaemo5Rotator::PortraitBehavior);
if(_currentBehavior != QMaemo5Rotator::AutomaticBehavior) return;

osso_context_t *osso;
osso = osso_initialize("appname", "", TRUE, NULL);
osso_cp_plugin_execute(osso, "libcpdatetime.so", this, TRUE);