1 #include "mainwindow.h"
2 #include "pirapplication.h"
3 #include <QtGui/QApplication>
5 int main(int argc, char *argv[])
7 // QApplication app(argc, argv);
8 PIRApplication app(argc, argv);
10 MainWindow mainWindow;
11 mainWindow.setOrientation(MainWindow::ScreenOrientationLockLandscape);
12 // mainWindow.setOrientation(MainWindow::ScreenOrientationAuto);
14 // Take control over the volume rocker switch:
15 app.setupRockerSwitch(&mainWindow);
17 mainWindow.showExpanded();
21 SIGNAL(decreaseRockerPressed()),
23 SLOT(selectPrevFavKeyset()));
27 SIGNAL(increaseRockerPressed()),
29 SLOT(selectNextFavKeyset()));
31 // A connection to perform any final cleanup work:
34 SIGNAL(aboutToQuit()),
37 Qt::DirectConnection);