equal
deleted
inserted
replaced
33 { |
33 { |
34 public: |
34 public: |
35 |
35 |
36 inline LogsCntText() : mHighlights(0){} |
36 inline LogsCntText() : mHighlights(0){} |
37 inline const QString& text() const {return mText;} |
37 inline const QString& text() const {return mText;} |
38 inline int highlights() const {return mHighlights;} |
38 int highlights() const; |
39 QString richText( QString startTag = QString("<b><u>"), |
39 QString richText( QString startTag = QString("<b><u>"), |
40 QString endTag = QString("</u></b>")) const; |
40 QString endTag = QString("</u></b>")) const; |
41 |
41 |
42 private: |
42 private: |
43 |
43 |
46 int mHighlights; |
46 int mHighlights; |
47 |
47 |
48 friend class LogsCntEntry; |
48 friend class LogsCntEntry; |
49 friend class UT_LogsCntEntry; |
49 friend class UT_LogsCntEntry; |
50 friend class UT_LogsCntFinder; |
50 friend class UT_LogsCntFinder; |
|
51 friend class UT_LogsMatchesModel; |
51 }; |
52 }; |
52 |
53 |
53 typedef QList<LogsCntText> LogsCntTextList; |
54 typedef QList<LogsCntText> LogsCntTextList; |
54 |
55 |
55 class LogsCntEntry |
56 class LogsCntEntry |
98 LogsCntText mPhoneNumber; |
99 LogsCntText mPhoneNumber; |
99 QString mAvatarPath; |
100 QString mAvatarPath; |
100 |
101 |
101 friend class UT_LogsCntEntry; |
102 friend class UT_LogsCntEntry; |
102 friend class UT_LogsCntFinder; |
103 friend class UT_LogsCntFinder; |
|
104 friend class UT_LogsMatchesModel; |
103 }; |
105 }; |
104 |
106 |
105 typedef QList<LogsCntEntry*> LogsCntEntryList; |
107 typedef QList<LogsCntEntry*> LogsCntEntryList; |
106 |
108 |
107 /** |
109 /** |