|
a/src/qtgui/uiprefs_w.cpp |
|
b/src/qtgui/uiprefs_w.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: uiprefs_w.cpp,v 1.1 2006-09-04 15:13:02 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: uiprefs_w.cpp,v 1.2 2006-09-06 09:50:59 dockes Exp $ (C) 2005 J.F.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
|
|
... |
|
... |
89 |
}
|
89 |
}
|
90 |
if (cur < 0)
|
90 |
if (cur < 0)
|
91 |
cur = 0;
|
91 |
cur = 0;
|
92 |
stemLangCMB->setCurrentItem(cur);
|
92 |
stemLangCMB->setCurrentItem(cur);
|
93 |
|
93 |
|
94 |
buildAbsCB->setDown(prefs.queryBuildAbstract);
|
94 |
buildAbsCB->setChecked(prefs.queryBuildAbstract);
|
95 |
if (!prefs.queryBuildAbstract) {
|
95 |
if (!prefs.queryBuildAbstract) {
|
96 |
replAbsCB->setEnabled(false);
|
96 |
replAbsCB->setEnabled(false);
|
97 |
}
|
97 |
}
|
98 |
replAbsCB->setDown(prefs.queryReplaceAbstract);
|
98 |
replAbsCB->setChecked(prefs.queryReplaceAbstract);
|
99 |
|
99 |
|
100 |
// Initialize the extra databases listboxes
|
100 |
// Initialize the extra databases listboxes
|
101 |
QStringList ql;
|
101 |
QStringList ql;
|
102 |
for (list<string>::iterator it = prefs.allExtraDbs.begin();
|
102 |
for (list<string>::iterator it = prefs.allExtraDbs.begin();
|
103 |
it != prefs.allExtraDbs.end(); it++) {
|
103 |
it != prefs.allExtraDbs.end(); it++) {
|