equal
deleted
inserted
replaced
53 */ |
53 */ |
54 |
54 |
55 CntDisplayLabel::CntDisplayLabel() : |
55 CntDisplayLabel::CntDisplayLabel() : |
56 m_nameOrder(KOrderFirstLast) |
56 m_nameOrder(KOrderFirstLast) |
57 { |
57 { |
58 #ifdef SYMBIAN_BACKEND_USE_SQLITE |
|
59 CRepository* cenrep; |
|
60 TRAPD(err, cenrep = CRepository::NewL(KCRUiContacts)); |
|
61 if (err == KErrNone) { |
|
62 TInt value(-1); |
|
63 if (cenrep->Get(KNameOrdering, value) == KErrNone) { |
|
64 m_nameOrder = static_cast<int>(value); |
|
65 } |
|
66 } |
|
67 #endif |
|
68 setDisplayLabelDetails(); |
58 setDisplayLabelDetails(); |
69 } |
59 } |
70 |
60 |
71 /*! |
61 /*! |
72 * Destructor |
62 * Destructor |