ui/views/listview/src/glxlistview.cpp
changeset 50 a0f57508af73
parent 45 863223ea6961
child 54 0f0f3f26f787
equal deleted inserted replaced
45:863223ea6961 50:a0f57508af73
    74 void GlxListView::addToolBar( HbToolBar *toolBar ) 
    74 void GlxListView::addToolBar( HbToolBar *toolBar ) 
    75 {
    75 {
    76     setToolBar(toolBar) ;
    76     setToolBar(toolBar) ;
    77 }
    77 }
    78 
    78 
    79 void GlxListView::initializeView(QAbstractItemModel *model)
    79 void GlxListView::initializeView( QAbstractItemModel *model, GlxView *preView )
    80 {
    80 {
       
    81     Q_UNUSED( preView )
    81     qDebug("GlxListView::initializeView()");
    82     qDebug("GlxListView::initializeView()");
    82     if (mListView == NULL) {
    83     if ( mListView == NULL ) {
    83         createListView();
    84         createListView();
    84     }
    85     }
    85     setModel(model);
    86     setModel( model );
    86 }
    87 }
    87 
    88 
    88 QGraphicsItem * GlxListView::getAnimationItem( GlxEffect transtionEffect )
    89 QGraphicsItem * GlxListView::getAnimationItem( GlxEffect transtionEffect )
    89 {
    90 {
    90     if ( transtionEffect == GRID_TO_ALBUMLIST  || transtionEffect == ALBUMLIST_TO_GRID ) {
    91     if ( transtionEffect == GRID_TO_ALBUMLIST  || transtionEffect == ALBUMLIST_TO_GRID ) {