Switch to unified view

a/src/qtgui/plaintorich.h b/src/qtgui/plaintorich.h
...
...
14
 *   Free Software Foundation, Inc.,
14
 *   Free Software Foundation, Inc.,
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16
 */
16
 */
17
#ifndef _PLAINTORICH_H_INCLUDED_
17
#ifndef _PLAINTORICH_H_INCLUDED_
18
#define _PLAINTORICH_H_INCLUDED_
18
#define _PLAINTORICH_H_INCLUDED_
19
/* @(#$Id: plaintorich.h,v 1.7 2006-09-13 14:57:56 dockes Exp $  (C) 2004 J.F.Dockes */
19
/* @(#$Id: plaintorich.h,v 1.8 2006-11-17 10:09:07 dockes Exp $  (C) 2004 J.F.Dockes */
20
20
21
#include <string>
21
#include <string>
22
23
#include "searchdata.h"
22
24
23
/**
25
/**
24
 * Transform plain text into qt rich text for the preview window.
26
 * Transform plain text into qt rich text for the preview window.
25
 *
27
 *
26
 * We mainly escape characters like < or &, and add qt rich text tags to 
28
 * We mainly escape characters like < or &, and add qt rich text tags to 
...
...
31
 * @param terms       list of query terms. These are out of Rcl::Db and dumb
33
 * @param terms       list of query terms. These are out of Rcl::Db and dumb
32
 * @param firstTerm   out: value of the first search term in text.
34
 * @param firstTerm   out: value of the first search term in text.
33
 * @param noHeader    if true don't output header (<qt><title>...)
35
 * @param noHeader    if true don't output header (<qt><title>...)
34
 */
36
 */
35
extern bool plaintorich(const string &in, string &out,
37
extern bool plaintorich(const string &in, string &out,
36
          const list<string>& terms,
38
          RefCntr<Rcl::SearchData> sdata,
37
            string* firstTerm, bool noHeader = false);
39
            string* firstTerm, bool noHeader = false);
38
40
39
#endif /* _PLAINTORICH_H_INCLUDED_ */
41
#endif /* _PLAINTORICH_H_INCLUDED_ */