--- a/videocollection/videocollectionview/src/videocollectionviewplugin.cpp Fri Apr 16 18:13:14 2010 +0300
+++ b/videocollection/videocollectionview/src/videocollectionviewplugin.cpp Fri Apr 30 09:52:11 2010 +0300
@@ -15,7 +15,7 @@
*
*/
-// Version : %version: %
+// Version : %version: 23 %
// INCLUDE FILES
#include <xqplugin.h>
@@ -99,13 +99,13 @@
}
if(!connect( mView, SIGNAL(command(int)), this, SIGNAL(command(int)) ) ||
- !connect( this, SIGNAL(doDelayeds()), mView, SLOT(doDelayedsSlot()) )) {
+ !connect( this, SIGNAL(doDelayeds()), mView, SLOT(doDelayedsSlot()) ) ||
+ !connect( mView, SIGNAL(viewReady()), this, SLOT(viewReadySlot()) ) ) {
ERROR(-1, "VideoCollectionViewPlugin::createView() failed to connect signals.");
delete mView;
mView = 0;
return;
}
- mTimerId = startTimer(DELAYED_LOAD_TIMEOUT);
mView->initializeView();
}
}
@@ -179,7 +179,6 @@
int err = mView->activateView(itemId);
if (err != 0)
{
- // TODO: what to do if error?
return;
}
mActivated = true;
@@ -233,6 +232,16 @@
}
}
+// ---------------------------------------------------------------------------
+// Slot: viewReadySlot
+// ---------------------------------------------------------------------------
+//
+void VideoCollectionViewPlugin::viewReadySlot()
+{
+ FUNC_LOG;
+ mTimerId = startTimer(DELAYED_LOAD_TIMEOUT);
+}
+
XQ_EXPORT_PLUGIN2( videocollectionview, VideoCollectionViewPlugin );
// end of file