|
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.17 2006-09-13 13:53:35 dockes Exp $ (C) 2005 Jean-Francois Dockes";
|
2 |
static char rcsid[] = "@(#$Id: guiutils.cpp,v 1.18 2006-09-13 15:31:06 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
|
|
... |
|
... |
137 |
"/Recoll/prefs/startWithSortToolOpen", Bool, false);
|
137 |
"/Recoll/prefs/startWithSortToolOpen", Bool, false);
|
138 |
|
138 |
|
139 |
SETTING_RW(prefs.showicons, "/Recoll/prefs/reslist/showicons", Bool, true);
|
139 |
SETTING_RW(prefs.showicons, "/Recoll/prefs/reslist/showicons", Bool, true);
|
140 |
SETTING_RW(prefs.autoSearchOnWS, "/Recoll/prefs/reslist/autoSearchOnWS",
|
140 |
SETTING_RW(prefs.autoSearchOnWS, "/Recoll/prefs/reslist/autoSearchOnWS",
|
141 |
Bool, false);
|
141 |
Bool, false);
|
|
|
142 |
SETTING_RW(prefs.ssearchAutoPhrase,
|
|
|
143 |
"/Recoll/prefs/startWithSortToolOpen", Bool, false);
|
142 |
SETTING_RW(prefs.respagesize, "/Recoll/prefs/reslist/pagelen", Num, 8);
|
144 |
SETTING_RW(prefs.respagesize, "/Recoll/prefs/reslist/pagelen", Num, 8);
|
143 |
SETTING_RW(prefs.reslistfontfamily, "/Recoll/prefs/reslist/fontFamily", ,
|
145 |
SETTING_RW(prefs.reslistfontfamily, "/Recoll/prefs/reslist/fontFamily", ,
|
144 |
"");
|
146 |
"");
|
145 |
SETTING_RW(prefs.reslistfontsize, "/Recoll/prefs/reslist/fontSize", Num,
|
147 |
SETTING_RW(prefs.reslistfontsize, "/Recoll/prefs/reslist/fontSize", Num,
|
146 |
0);
|
148 |
0);
|
|
... |
|
... |
162 |
prefs.ssearchHistory);
|
164 |
prefs.ssearchHistory);
|
163 |
} else {
|
165 |
} else {
|
164 |
prefs.ssearchHistory =
|
166 |
prefs.ssearchHistory =
|
165 |
settings.readListEntry("/Recoll/prefs/query/ssearchHistory");
|
167 |
settings.readListEntry("/Recoll/prefs/query/ssearchHistory");
|
166 |
}
|
168 |
}
|
|
|
169 |
SETTING_RW(prefs.ssearchAutoPhrase,
|
|
|
170 |
"/Recoll/prefs/query/ssearchAutoPhrase", Bool, false);
|
167 |
|
171 |
|
168 |
// Ssearch combobox history list
|
172 |
// Ssearch combobox history list
|
169 |
if (writing) {
|
173 |
if (writing) {
|
170 |
settings.writeEntry("/Recoll/prefs/query/asearchIgnFilTyps",
|
174 |
settings.writeEntry("/Recoll/prefs/query/asearchIgnFilTyps",
|
171 |
prefs.asearchIgnFilTyps);
|
175 |
prefs.asearchIgnFilTyps);
|