-
#include "qmaemo5rotator.h"
#if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON)
#include <mce/dbus-names.h>
}
QApplication::desktop()->updateGeometry();
}
-
-
-
-
-
-
-
static bool QMaemo5Rotator::setRotation(direction dir)
{
Rotation rotation = dir;
//----------
// Provides a means of WORKING automatic rotation for Maemo 5 apps. (The default Qt solution is buggy.)
//----------
-#include <X11/extensions/Xrandr.h>
-#include <X11/Xlib.h>
+
#include <Qt>
#include <QtGui>
#include <QtCore>
+#include <X11/extensions/Xrandr.h>
+#include <X11/Xlib.h>
class QMaemo5Rotator : private QObject
{