X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmainwindow.h;fp=src%2Fmainwindow.h;h=0000000000000000000000000000000000000000;hb=a3cf4f79d3cde0b08b3badc0fb2caa5739265b1e;hp=383c83db7a8f9c54de9043bf5759103b1aa905ee;hpb=d328e0caa02487fe504e1aa27147c50eaffcbee3;p=simple-xmbc-rem diff --git a/src/mainwindow.h b/src/mainwindow.h deleted file mode 100644 index 383c83d..0000000 --- a/src/mainwindow.h +++ /dev/null @@ -1,61 +0,0 @@ -// checksum 0x9a77 version 0x20001 -/* - This file was generated by the Mobile Qt Application wizard of Qt Creator. - MainWindow is a convenience class containing mobile device specific code - such as screen orientation handling. - It is recommended not to modify this file, since newer versions of Qt Creator - may offer an updated version of it. -*/ - -#ifndef MAINWINDOW_H -#define MAINWINDOW_H - -#include - -#include "xbmc.h" - -namespace Ui { - class MainWindow; -} - -class MainWindow : public QMainWindow -{ - Q_OBJECT -public: - enum ScreenOrientation { - ScreenOrientationLockPortrait, - ScreenOrientationLockLandscape, - ScreenOrientationAuto - }; - - explicit MainWindow(QWidget *parent = 0); - virtual ~MainWindow(); - - void setOrientation(ScreenOrientation orientation); - void showExpanded(); - -private slots: - void on_actionSetup_triggered(); - - void on_rightBtn_clicked(); - void on_leftBtn_clicked(); - void on_upBtn_clicked(); - void on_downBtn_clicked(); - void on_selectButton_clicked(); - - void on_playBtn_clicked(); - void on_stopBtn_clicked(); - - void on_muteBtn_clicked(); - void on_volumeUpBtn_clicked(); - void on_volumeDownBtn_clicked(); - - void on_nextSubtitleBtn_clicked(); - void on_nextLanguageBtn_clicked(); - -private: - Ui::MainWindow *m_ui; - Xbmc* m_xbmc; -}; - -#endif // MAINWINDOW_H