--- a/logsui/logsengine/tsrc/stubs/logscntfinder_stub.cpp Fri Jun 11 13:38:41 2010 +0300
+++ b/logsui/logsengine/tsrc/stubs/logscntfinder_stub.cpp Thu Jun 24 14:44:14 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;
}
// -----------------------------------------------------------------------------