videocollection/videocollectionview/inc/videocollectionviewplugin.h
changeset 35 3738fe97f027
parent 34 bbb98528c666
child 37 4eb2df7f7cbe
equal deleted inserted replaced
34:bbb98528c666 35:3738fe97f027
    81      *
    81      *
    82      * @param command id
    82      * @param command id
    83      */
    83      */
    84     void command(int);
    84     void command(int);
    85 
    85 
       
    86     /**
       
    87      * Signaled to do delayed loading of components not loaded initially at start up phase
       
    88      *
       
    89      */
       
    90     void doDelayeds();
       
    91     
    86 public slots: // from QViewPlugin
    92 public slots: // from QViewPlugin
    87 
    93 
    88     /**
    94     /**
    89      * Plugin user can notify orientation changes by connecting into this slot
    95      * Plugin user can notify orientation changes by connecting into this slot
    90      * ti it's signal. In normal cases, view handles orientation chages itself.
    96      * ti it's signal. In normal cases, view handles orientation chages itself.
    99      */
   105      */
   100     void back();
   106     void back();
   101 
   107 
   102 private:
   108 private:
   103 
   109 
       
   110     /** from QObject */
       
   111     void timerEvent(QTimerEvent *event); 
       
   112     
       
   113 private:
       
   114 
       
   115     // async loading timeout
       
   116     static const int DELAYED_LOAD_TIMEOUT = 4000; // ms
       
   117 
       
   118     /** timer id */
       
   119     int mTimerId;
       
   120 
   104     /**
   121     /**
   105      * docml ui loader, owned
   122      * docml ui loader, owned
   106      */
   123      */
   107     VideoCollectionUiLoader *mUiLoader;
   124     VideoCollectionUiLoader *mUiLoader;
   108 
   125 
   114     /**
   131     /**
   115      * Activated flag. Set as true when view is properly activated.
   132      * Activated flag. Set as true when view is properly activated.
   116      * If flag is false, no operations can be do to the view.
   133      * If flag is false, no operations can be do to the view.
   117      */
   134      */
   118     bool mActivated;
   135     bool mActivated;
       
   136     
       
   137 	/*
       
   138 	 * Service mode flag. True if started as a service, otherwise false.
       
   139 	 *
       
   140 	 */
       
   141     bool mIsService;
   119 };
   142 };
   120 
   143 
   121 #endif  // VIDEOVIEWPLUGIN_H
   144 #endif  // VIDEOVIEWPLUGIN_H
   122 // End of File
   145 // End of File