filemanager/examples/demo_fmfiledialog/mainwindow.cpp
changeset 47 12b82dc0e8db
parent 25 b7bfdea70ca2
equal deleted inserted replaced
40:4167eb56f30d 47:12b82dc0e8db
    87     listWidget->addItem( "placeHolderW" );
    87     listWidget->addItem( "placeHolderW" );
    88     listWidget->addItem( "placeHolderX" );
    88     listWidget->addItem( "placeHolderX" );
    89     listWidget->addItem( "placeHolderY" );
    89     listWidget->addItem( "placeHolderY" );
    90     listWidget->addItem( "placeHolderZ" );
    90     listWidget->addItem( "placeHolderZ" );
    91 
    91 
    92     connect(listWidget, SIGNAL(activated(HbListWidgetItem*)), this,SLOT(activatedListItem(HbListWidgetItem*)) );
    92     connect(listWidget, SIGNAL(activated(HbListWidgetItem*)), this,SLOT(activatedListItem(HbListWidgetItem*)), Qt::QueuedConnection );
    93 }
    93 }
    94 
    94 
    95 void TestMainWindow::activatedListItem(HbListWidgetItem *item)
    95 void TestMainWindow::activatedListItem(HbListWidgetItem *item)
    96 {
    96 {
    97     if( item->text().compare( getDir ) == 0 ) {
    97     if( item->text().compare( getDir ) == 0 ) {