|
a/src/qtgui/confgui/confguiindex.cpp |
|
b/src/qtgui/confgui/confguiindex.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: confguiindex.cpp,v 1.8 2007-10-19 14:31:40 dockes Exp $ (C) 2007 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: confguiindex.cpp,v 1.9 2007-10-25 15:51:06 dockes Exp $ (C) 2007 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
|
4 |
|
5 |
#include <qglobal.h>
|
5 |
#include <qglobal.h>
|
6 |
#if QT_VERSION < 0x040000
|
6 |
#if QT_VERSION < 0x040000
|
7 |
#define QFRAME_INCLUDE <qframe.h>
|
7 |
#define QFRAME_INCLUDE <qframe.h>
|
|
... |
|
... |
140 |
"indexing starts. Default: your home."));
|
140 |
"indexing starts. Default: your home."));
|
141 |
vboxLayout->addWidget(etopdirs);
|
141 |
vboxLayout->addWidget(etopdirs);
|
142 |
|
142 |
|
143 |
ConfLink lnkskp(new ConfLinkRclRep(config, "skippedPaths"));
|
143 |
ConfLink lnkskp(new ConfLinkRclRep(config, "skippedPaths"));
|
144 |
ConfParamSLW *eskp = new
|
144 |
ConfParamSLW *eskp = new
|
145 |
ConfParamSLW(this, lnkskp, tr("List of skipped paths"),
|
145 |
ConfParamSLW(this, lnkskp, tr("Skipped paths"),
|
146 |
tr("These are names of directories which indexing "
|
146 |
tr("These are names of directories which indexing "
|
147 |
"will not enter.<br> May contain wildcards. "
|
147 |
"will not enter.<br> May contain wildcards. "
|
148 |
"Must match "
|
148 |
"Must match "
|
149 |
"the paths seen by the indexer (ie: if topdirs "
|
149 |
"the paths seen by the indexer (ie: if topdirs "
|
150 |
"includes '/home/me' and '/home' is actually a link "
|
150 |
"includes '/home/me' and '/home' is actually a link "
|
|
... |
|
... |
158 |
it != cstemlangs.end(); it++) {
|
158 |
it != cstemlangs.end(); it++) {
|
159 |
stemlangs.push_back(QString::fromUtf8(it->c_str()));
|
159 |
stemlangs.push_back(QString::fromUtf8(it->c_str()));
|
160 |
}
|
160 |
}
|
161 |
ConfLink lnkidxsl(new ConfLinkRclRep(config, "indexstemminglanguages"));
|
161 |
ConfLink lnkidxsl(new ConfLinkRclRep(config, "indexstemminglanguages"));
|
162 |
ConfParamCSLW *eidxsl = new
|
162 |
ConfParamCSLW *eidxsl = new
|
163 |
ConfParamCSLW(this, lnkidxsl, tr("Index stemming languages"),
|
163 |
ConfParamCSLW(this, lnkidxsl, tr("Stemming languages"),
|
164 |
tr("The languages for which stemming expansion<br>"
|
164 |
tr("The languages for which stemming expansion<br>"
|
165 |
"dictionaries will be built."), stemlangs);
|
165 |
"dictionaries will be built."), stemlangs);
|
166 |
vboxLayout->addWidget(eidxsl);
|
166 |
vboxLayout->addWidget(eidxsl);
|
167 |
|
167 |
|
168 |
ConfLink lnk4(new ConfLinkRclRep(config, "logfilename"));
|
168 |
ConfLink lnk4(new ConfLinkRclRep(config, "logfilename"));
|
|
... |
|
... |
292 |
3, // Vertical stretch
|
292 |
3, // Vertical stretch
|
293 |
m_groupbox->sizePolicy().hasHeightForWidth()));
|
293 |
m_groupbox->sizePolicy().hasHeightForWidth()));
|
294 |
ConfLink lnkskn(new ConfLinkRclRep(config, "skippedNames", &m_sk));
|
294 |
ConfLink lnkskn(new ConfLinkRclRep(config, "skippedNames", &m_sk));
|
295 |
ConfParamSLW *eskn = new
|
295 |
ConfParamSLW *eskn = new
|
296 |
ConfParamSLW(m_groupbox, lnkskn,
|
296 |
ConfParamSLW(m_groupbox, lnkskn,
|
297 |
QObject::tr("List of skipped names"),
|
297 |
QObject::tr("Skipped names"),
|
298 |
QObject::tr("These are patterns for file or directory "
|
298 |
QObject::tr("These are patterns for file or directory "
|
299 |
" names which should not be indexed."));
|
299 |
" names which should not be indexed."));
|
300 |
m_widgets.push_back(eskn);
|
300 |
m_widgets.push_back(eskn);
|
301 |
|
301 |
|
302 |
list<string> args;
|
302 |
list<string> args;
|