controlpanelui/src/cpapplication/src/cpmainwindow.h
changeset 41 ab0490982943
parent 19 36aa4756ee82
child 43 aae8b749572d
equal deleted inserted replaced
36:2fee987ebaff 41:ab0490982943
    17 
    17 
    18 #ifndef CPMAINWINDOW_H
    18 #ifndef CPMAINWINDOW_H
    19 #define CPMAINWINDOW_H
    19 #define CPMAINWINDOW_H
    20 
    20 
    21 #include <hbmainwindow.h>
    21 #include <hbmainwindow.h>
    22 
    22 class QTimer;
    23 class CpMainWindow : public HbMainWindow
    23 class CpMainWindow : public HbMainWindow
    24 {
    24 {
    25     Q_OBJECT    
    25     Q_OBJECT    
    26 public:
    26 public:
    27     explicit CpMainWindow(QWidget *parent = 0, Hb::WindowFlags windowFlags = Hb::WindowFlagNone);
    27     explicit CpMainWindow(QWidget *parent = 0, Hb::WindowFlags windowFlags = Hb::WindowFlagNone);
    28     ~CpMainWindow();
    28     ~CpMainWindow();
    29 public:
    29 public:
    30     virtual bool event(QEvent *e);
    30     virtual bool event(QEvent *e);
       
    31 signals:
       
    32 	/**
       
    33 	 * Emit when control panel's startup is finished
       
    34 	 */
       
    35     void applicationReady();
       
    36 private slots:
       
    37     void onStartupFininshed();
       
    38 
       
    39 private:
       
    40     QTimer *mStartupTimer;
    31 };
    41 };
    32 
    42 
    33 #endif // CPMAINWINDOW_H
    43 #endif // CPMAINWINDOW_H
    34 
    44 
    35 //End of File
    45 //End of File