classicui_plat/find_item_ui_api/tsrc/src/testdomfinditemblocksdialog.cpp
branchRCL_3
changeset 23 3d340a0166ff
parent 0 2f259fa3e83a
child 38 c52421ed5f07
equal deleted inserted replaced
18:0aa5fbdfbc30 23:3d340a0166ff
   129     CleanupStack::PopAndDestroy( dialog );
   129     CleanupStack::PopAndDestroy( dialog );
   130     return KErrNone;
   130     return KErrNone;
   131 
   131 
   132     }
   132     }
   133 
   133 
       
   134 
       
   135 // -----------------------------------------------------------------------------
       
   136 // Ctestdomfinditem::TestDialogEnableSingleClick
       
   137 // -----------------------------------------------------------------------------
       
   138 //
       
   139 TInt Ctestdomfinditem::TestDialogEnableSingleClick( CStifItemParser& /*aItem*/ )
       
   140     {
       
   141     // Print to UI
       
   142     _LIT( Ktestdomfinditem, "testdomfinditem" );
       
   143     _LIT( KTestEnableSingleClick, "In DialogEnableSingleClick" );
       
   144     TestModuleIf().Printf( 0, Ktestdomfinditem, KTestEnableSingleClick );
       
   145     // Print to log file
       
   146     iLog->Log( KTestEnableSingleClick );
       
   147 
       
   148     CFindItemDialog* dialog = CFindItemDialog::NewL( KUrlDes,
       
   149             CFindItemEngine::EFindItemSearchURLBin );
       
   150     CleanupStack::PushL( dialog );
       
   151     STIF_ASSERT_NOT_NULL( dialog );
       
   152 
       
   153     dialog->EnableSingleClick ( EFalse );
       
   154     dialog->EnableSingleClick ( ETrue );
       
   155 
       
   156     CleanupStack::PopAndDestroy( dialog );
       
   157     return KErrNone;
       
   158     }
       
   159