00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef GLUONPLAYER_MAINWINDOW_H
00021 #define GLUONPLAYER_MAINWINDOW_H
00022
00023 #include <QtGui/QMainWindow>
00024
00025 class QModelIndex;
00026
00027 namespace GluonPlayer
00028 {
00029 class MainWindow : public QMainWindow
00030 {
00031 Q_OBJECT
00032 public:
00033 MainWindow( int argc, char** argv, QWidget* parent = 0, Qt::WindowFlags flags = 0 );
00034 virtual void closeEvent( QCloseEvent* event );
00035
00036 public slots:
00037 void openProject( const QString& fileName = QString() );
00038 void updateTitle( int msec );
00039 void activated( QModelIndex index );
00040 void openClicked( bool );
00041 void startGame();
00042 void countFrames( int );
00043
00044 private:
00045 class MainWindowPrivate;
00046 MainWindowPrivate* d;
00047 };
00048 }
00049
00050 #endif // GLUONPLAYER_MAINWINDOW_H