logsui/logsengine/tsrc/stubs/logscntfinder_stub.cpp
changeset 11 64a47b97e1e1
parent 0 4a5361db8937
child 9 68f3171a5819
--- a/logsui/logsengine/tsrc/stubs/logscntfinder_stub.cpp	Wed Jun 23 18:13:05 2010 +0300
+++ b/logsui/logsengine/tsrc/stubs/logscntfinder_stub.cpp	Tue Jul 06 14:16:36 2010 +0300
@@ -24,6 +24,8 @@
 #include <QContactName.h>
 #include <QContactPhoneNumber.h>
 
+QString testHighlights;
+
 // -----------------------------------------------------------------------------
 // LogsCntEntry::richText()
 // -----------------------------------------------------------------------------
@@ -42,6 +44,15 @@
 }
 
 // -----------------------------------------------------------------------------
+// LogsCntEntry::highlights()
+// -----------------------------------------------------------------------------
+//
+int LogsCntText::highlights() const 
+{
+    return testHighlights.length() ;
+}
+
+// -----------------------------------------------------------------------------
 // LogsCntEntry::LogsCntEntry()
 // -----------------------------------------------------------------------------
 //
@@ -204,6 +215,7 @@
 //
 void LogsCntEntry::setHighlights( const QString& pattern )
 {
+    testHighlights = pattern;
 }
 
 // -----------------------------------------------------------------------------