diff -r b04270301d3b -r 64a47b97e1e1 logsui/logsengine/tsrc/stubs/logscntfinder_stub.cpp --- 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 #include +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; } // -----------------------------------------------------------------------------