|
a/src/qtgui/confgui/confguiindex.cpp |
|
b/src/qtgui/confgui/confguiindex.cpp |
|
... |
|
... |
139 |
));
|
139 |
));
|
140 |
vboxLayout->addWidget(cp1);
|
140 |
vboxLayout->addWidget(cp1);
|
141 |
|
141 |
|
142 |
ConfLink lnk2(new ConfLinkRclRep(config, "webcachedir"));
|
142 |
ConfLink lnk2(new ConfLinkRclRep(config, "webcachedir"));
|
143 |
ConfParamFNW* cp2 =
|
143 |
ConfParamFNW* cp2 =
|
144 |
new ConfParamFNW(this, lnk2, tr("Web cache directory name"),
|
144 |
new ConfParamFNW(this, lnk2, tr("Web page store directory name"),
|
145 |
tr("The name for a directory where to store the cache "
|
145 |
tr("The name for a directory where to store the copies "
|
146 |
"for visited web pages.<br>"
|
146 |
"of visited web pages.<br>"
|
147 |
"A non-absolute path is taken relative to the "
|
147 |
"A non-absolute path is taken relative to the "
|
148 |
"configuration directory."), true);
|
148 |
"configuration directory."), true);
|
149 |
cp2->setEnabled(cp1->m_cb->isChecked());
|
149 |
cp2->setEnabled(cp1->m_cb->isChecked());
|
150 |
connect(cp1->m_cb, SIGNAL(toggled(bool)), cp2, SLOT(setEnabled(bool)));
|
150 |
connect(cp1->m_cb, SIGNAL(toggled(bool)), cp2, SLOT(setEnabled(bool)));
|
151 |
vboxLayout->addWidget(cp2);
|
151 |
vboxLayout->addWidget(cp2);
|
152 |
|
152 |
|
153 |
ConfLink lnk3(new ConfLinkRclRep(config, "webcachemaxmbs"));
|
153 |
ConfLink lnk3(new ConfLinkRclRep(config, "webcachemaxmbs"));
|
154 |
ConfParamIntW *cp3 =
|
154 |
ConfParamIntW *cp3 =
|
155 |
new ConfParamIntW(this, lnk3, tr("Max. size for the web cache (MB)"),
|
155 |
new ConfParamIntW(this, lnk3, tr("Max. size for the web store (MB)"),
|
156 |
tr("Entries will be recycled once the size is reached"),
|
156 |
tr("Entries will be recycled once the size is reached"),
|
157 |
-1, 1000);
|
157 |
-1, 1000);
|
158 |
cp3->setEnabled(cp1->m_cb->isChecked());
|
158 |
cp3->setEnabled(cp1->m_cb->isChecked());
|
159 |
connect(cp1->m_cb, SIGNAL(toggled(bool)), cp3, SLOT(setEnabled(bool)));
|
159 |
connect(cp1->m_cb, SIGNAL(toggled(bool)), cp3, SLOT(setEnabled(bool)));
|
160 |
vboxLayout->addWidget(cp3);
|
160 |
vboxLayout->addWidget(cp3);
|