equal
deleted
inserted
replaced
333 if (!mUnReadMsg) |
333 if (!mUnReadMsg) |
334 { |
334 { |
335 mUnReadMsg = true; |
335 mUnReadMsg = true; |
336 mNewMsgIndicatorItem->frameDrawer().setFrameGraphicsName( |
336 mNewMsgIndicatorItem->frameDrawer().setFrameGraphicsName( |
337 NEW_ITEM_FRAME); |
337 NEW_ITEM_FRAME); |
338 repolish(); |
|
339 // Needed for colour group changes to be visible |
338 // Needed for colour group changes to be visible |
340 QCoreApplication::postEvent(this, new HbEvent( |
339 QCoreApplication::postEvent(this, new HbEvent( |
341 HbEvent::ThemeChanged)); |
340 HbEvent::ThemeChanged)); |
342 } |
341 } |
343 } |
342 } |
346 if (mUnReadMsg) |
345 if (mUnReadMsg) |
347 { |
346 { |
348 mUnReadMsg = false; |
347 mUnReadMsg = false; |
349 mNewMsgIndicatorItem->frameDrawer().setFrameGraphicsName( |
348 mNewMsgIndicatorItem->frameDrawer().setFrameGraphicsName( |
350 QString()); |
349 QString()); |
351 repolish(); |
|
352 // Needed for colour group changes to be visible |
350 // Needed for colour group changes to be visible |
353 QCoreApplication::postEvent(this, new HbEvent( |
351 QCoreApplication::postEvent(this, new HbEvent( |
354 HbEvent::ThemeChanged)); |
352 HbEvent::ThemeChanged)); |
355 } |
353 } |
356 } |
354 } |
365 mUnreadCountItem->hide(); |
363 mUnreadCountItem->hide(); |
366 mMsgCommonIndicatorItem->setIconName(string); |
364 mMsgCommonIndicatorItem->setIconName(string); |
367 mMsgCommonIndicatorItem->show(); |
365 mMsgCommonIndicatorItem->show(); |
368 } |
366 } |
369 |
367 |
370 //--------------------------------------------------------------- |
|
371 // MsgListViewItem::orientationchanged |
|
372 // @see header file |
|
373 //--------------------------------------------------------------- |
|
374 void MsgListViewItem::orientationchanged(Qt::Orientation orientation) |
|
375 { |
|
376 Q_UNUSED(orientation) |
|
377 repolish(); |
|
378 } |
|
379 |
|
380 //EOF |
368 //EOF |