cmmanager/cpdestinationplugin/src/cpdestinationentryitem.cpp
changeset 66 ed07dcc72692
parent 64 84c6623982f6
equal deleted inserted replaced
64:84c6623982f6 66:ed07dcc72692
   149     
   149     
   150     // Toolbar. Allow arrange if more than one AP is shown
   150     // Toolbar. Allow arrange if more than one AP is shown
   151     if (mDestinationId != 0 && mAps->count() > 1) {
   151     if (mDestinationId != 0 && mAps->count() > 1) {
   152         HbToolBar *tb = view->toolBar();
   152         HbToolBar *tb = view->toolBar();
   153         HbIcon arrangeIcon("qtg_mono_sort");
   153         HbIcon arrangeIcon("qtg_mono_sort");
   154         HbAction *arrangeAction 
   154         (void) tb->addAction(arrangeIcon, "", this, SLOT(activateArrangeMode()));
   155             = tb->addAction(arrangeIcon, "", this, SLOT(activateArrangeMode()));
       
   156     }
   155     }
   157     OstTraceFunctionExit0(CPDESTINATIONENTRYITEMDATA_CREATESETTINGVIEW_EXIT);
   156     OstTraceFunctionExit0(CPDESTINATIONENTRYITEMDATA_CREATESETTINGVIEW_EXIT);
   158     return view;        
   157     return view;        
   159 }
   158 }
   160 
   159 
   654         mList->clear();
   653         mList->clear();
   655     }
   654     }
   656     // Toolbar
   655     // Toolbar
   657     HbToolBar *tb = view->toolBar();
   656     HbToolBar *tb = view->toolBar();
   658     HbIcon okIcon("qtg_mono_tick");
   657     HbIcon okIcon("qtg_mono_tick");
   659     HbAction *doneAction 
   658     (void) tb->addAction(okIcon, "", this, SLOT(viewDone()));
   660         = tb->addAction(okIcon, "", this, SLOT(viewDone()));
       
   661     OstTraceFunctionExit0(CPDESTINATIONENTRYITEMDATA_CREATEARRANGEMODEVIEW_EXIT);
   659     OstTraceFunctionExit0(CPDESTINATIONENTRYITEMDATA_CREATEARRANGEMODEVIEW_EXIT);
   662 }
   660 }
   663 
   661 
   664 /*!
   662 /*!
   665     Helper function for creating item specific menu.
   663     Helper function for creating item specific menu.