logsui/logsengine/src/logsabstractmodel.cpp
changeset 21 2f0af9ba7665
parent 17 90fe74753f71
equal deleted inserted replaced
18:acd4e87b24b4 21:2f0af9ba7665
   291 // -----------------------------------------------------------------------------
   291 // -----------------------------------------------------------------------------
   292 //
   292 //
   293 void LogsAbstractModel::getDecorationData(const LogsEvent& event, 
   293 void LogsAbstractModel::getDecorationData(const LogsEvent& event, 
   294         QList<QVariant>& iconList) const
   294         QList<QVariant>& iconList) const
   295 {
   295 {
   296     HbIcon emptyIcon;
   296     if ( LogsCommonData::getInstance().isGui() ){
   297     iconList.append( *mIcons.value(directionIconName(event), &emptyIcon) );
   297         HbIcon emptyIcon;
   298     
   298         iconList.append( *mIcons.value(directionIconName(event), &emptyIcon) );
   299     // TODO: alternative service icon
   299         
       
   300         // TODO: alternative service icon
       
   301     }
   300 }
   302 }
   301 
   303 
   302 // -----------------------------------------------------------------------------
   304 // -----------------------------------------------------------------------------
   303 //
   305 //
   304 // -----------------------------------------------------------------------------
   306 // -----------------------------------------------------------------------------
   365 LogsEvent* LogsModelItemContainer::event() const
   367 LogsEvent* LogsModelItemContainer::event() const
   366 {
   368 {
   367     return mEvent;
   369     return mEvent;
   368 }
   370 }
   369 
   371 
       
   372