Category: maemo

  • Toying with maemo and rotating apps

    I have been playing a bit around with Maemo and writing Qt apps for n900. I ended up needing a rotation aware QMainWindow a couple of times, so I ended up abstracting it away in my own MaemoMainWindow, which I just wanted to share. It has enough ifdefs to also build against ‘normal’ Qt, outside Maemo.

    Have fun. Available under any license.

    maemomainwindow.h:

    maemomainwindow.cpp:

    Update: reformatted code. Thought wordpres and <code> was smart. Thanks Ken.