1 // checksum 0x9a77 version 0x20001
3 This file was generated by the Mobile Qt Application wizard of Qt Creator.
4 MainWindow is a convenience class containing mobile device specific code
5 such as screen orientation handling.
6 It is recommended not to modify this file, since newer versions of Qt Creator
7 may offer an updated version of it.
13 #include <QMainWindow>
16 #include <QSystemScreenSaver>
26 class MainWindow : public QMainWindow
30 enum ScreenOrientation {
31 ScreenOrientationLockPortrait,
32 ScreenOrientationLockLandscape,
36 explicit MainWindow(QWidget *parent = 0);
37 virtual ~MainWindow();
39 void setOrientation(ScreenOrientation orientation);
43 void on_actionSetup_triggered();
45 void on_rightBtn_clicked();
46 void on_leftBtn_clicked();
47 void on_upBtn_clicked();
48 void on_downBtn_clicked();
49 void on_selectButton_clicked();
51 void on_playBtn_clicked();
52 void on_stopBtn_clicked();
54 void on_muteBtn_clicked();
55 void on_volumeUpBtn_clicked();
56 void on_volumeDownBtn_clicked();
58 void on_nextSubtitleBtn_clicked();
59 void on_nextLanguageBtn_clicked();
61 void on_showGuiBtn_clicked();
62 void on_contextMenuBtn_clicked();
63 void on_sendEscKeyBtn_clicked();
70 QSystemScreenSaver* m_screenSaver;
76 #endif // MAINWINDOW_H