filemanager/src/filemanager/src/fmmainwindow.h
changeset 47 12b82dc0e8db
parent 25 b7bfdea70ca2
child 49 81668a704644
equal deleted inserted replaced
40:4167eb56f30d 47:12b82dc0e8db
    21 
    21 
    22 #include "fmcommon.h"
    22 #include "fmcommon.h"
    23 #include "fmviewmanager.h"
    23 #include "fmviewmanager.h"
    24 
    24 
    25 #include <hbmainwindow.h>
    25 #include <hbmainwindow.h>
    26 
    26 #include <QTimer>
    27 class HbAction;
    27 class HbAction;
    28 
    28 
    29 class FmMainWindow : public HbMainWindow
    29 class FmMainWindow : public HbMainWindow
    30 {
    30 {
    31     Q_OBJECT
    31     Q_OBJECT
    32 public:
    32 public:
    33     FmMainWindow();
    33     FmMainWindow();
    34     ~FmMainWindow();
    34     ~FmMainWindow();
    35 
    35 
       
    36 signals:
       
    37     void applicationReady();
       
    38 
    36 private slots:
    39 private slots:
    37     void onOrientationChanged( Qt::Orientation orientation );
    40     void onOrientationChanged( Qt::Orientation orientation );
    38     void delayedLoading();
    41     void delayedLoading();
       
    42     void onApplicationReady();
    39 private:
    43 private:
    40     void init();
    44     void init();
    41 
    45 
    42     FmViewManager *mViewManager;
    46     FmViewManager *mViewManager;
    43     bool mFirstViewLoaded;
    47     bool mFirstViewLoaded;
       
    48 
       
    49     // timer used to get opportunity for emit applicationReady signal.
       
    50     QTimer mShowTimer;
    44 };
    51 };
    45 
    52 
    46 #endif
    53 #endif
    47 
    54