Switch to unified view

a/src/qtgui/guiutils.cpp b/src/qtgui/guiutils.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: guiutils.cpp,v 1.22 2006-10-30 12:59:44 dockes Exp $ (C) 2005 Jean-Francois Dockes";
2
static char rcsid[] = "@(#$Id: guiutils.cpp,v 1.23 2006-11-10 13:32:08 dockes Exp $ (C) 2005 Jean-Francois Dockes";
3
#endif
3
#endif
4
/*
4
/*
5
 *   This program is free software; you can redistribute it and/or modify
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
7
 *   the Free Software Foundation; either version 2 of the License, or
...
...
155
    SETTING_RW(prefs.respagesize, "/Recoll/prefs/reslist/pagelen", Num, 8);
155
    SETTING_RW(prefs.respagesize, "/Recoll/prefs/reslist/pagelen", Num, 8);
156
    SETTING_RW(prefs.reslistfontfamily, "/Recoll/prefs/reslist/fontFamily", ,
156
    SETTING_RW(prefs.reslistfontfamily, "/Recoll/prefs/reslist/fontFamily", ,
157
           "");
157
           "");
158
    SETTING_RW(prefs.reslistfontsize, "/Recoll/prefs/reslist/fontSize", Num, 
158
    SETTING_RW(prefs.reslistfontsize, "/Recoll/prefs/reslist/fontSize", Num, 
159
           0);
159
           0);
160
160
    QString rlfDflt =QString::fromAscii(
161
  "%R %S %L &nbsp;&nbsp;<b>%T</b><br>"
162
  "%M&nbsp;%D&nbsp;&nbsp;&nbsp;<i>%U</i><br>"
163
  "%A %K");
164
    SETTING_RW(prefs.reslistformat, "/Recoll/prefs/reslist/format", , rlfDflt);
165
    if (prefs.reslistformat.stripWhiteSpace().isEmpty())
166
  prefs.reslistformat = rlfDflt;
161
    SETTING_RW(prefs.queryStemLang, "/Recoll/prefs/query/stemLang", ,
167
    SETTING_RW(prefs.queryStemLang, "/Recoll/prefs/query/stemLang", ,
162
           "english");
168
           "english");
163
    SETTING_RW(prefs.queryBuildAbstract, 
169
    SETTING_RW(prefs.queryBuildAbstract, 
164
           "/Recoll/prefs/query/buildAbstract", Bool, true);
170
           "/Recoll/prefs/query/buildAbstract", Bool, true);
165
    SETTING_RW(prefs.queryReplaceAbstract, 
171
    SETTING_RW(prefs.queryReplaceAbstract,