diff -r bbb98528c666 -r 3738fe97f027 videocollection/videocollectionview/inc/videocollectionviewplugin.h --- a/videocollection/videocollectionview/inc/videocollectionviewplugin.h Thu Apr 01 23:22:15 2010 +0300 +++ b/videocollection/videocollectionview/inc/videocollectionviewplugin.h Thu Apr 01 23:32:44 2010 +0300 @@ -83,6 +83,12 @@ */ void command(int); + /** + * Signaled to do delayed loading of components not loaded initially at start up phase + * + */ + void doDelayeds(); + public slots: // from QViewPlugin /** @@ -101,6 +107,17 @@ private: + /** from QObject */ + void timerEvent(QTimerEvent *event); + +private: + + // async loading timeout + static const int DELAYED_LOAD_TIMEOUT = 4000; // ms + + /** timer id */ + int mTimerId; + /** * docml ui loader, owned */ @@ -116,6 +133,12 @@ * If flag is false, no operations can be do to the view. */ bool mActivated; + + /* + * Service mode flag. True if started as a service, otherwise false. + * + */ + bool mIsService; }; #endif // VIDEOVIEWPLUGIN_H