Changeset View
Changeset View
Standalone View
Standalone View
krusader/Konfigurator/kggeneral.cpp
Show First 20 Lines • Show All 281 Lines • ▼ Show 20 Line(s) | 206 | { | |||
---|---|---|---|---|---|
282 | terminalGrid->addWidget(cbs, 2, 0, 1, 2); | 282 | terminalGrid->addWidget(cbs, 2, 0, 1, 2); | ||
283 | 283 | | |||
284 | 284 | | |||
285 | kgGeneralLayout->addWidget(terminalGrp, 2 , 0); | 285 | kgGeneralLayout->addWidget(terminalGrp, 2 , 0); | ||
286 | } | 286 | } | ||
287 | 287 | | |||
288 | void KgGeneral::applyTempDir(QObject *obj, const QString& configGroup, const QString& name) | 288 | void KgGeneral::applyTempDir(QObject *obj, const QString& configGroup, const QString& name) | ||
289 | { | 289 | { | ||
290 | auto *urlReq = (KonfiguratorURLRequester *)obj; | 290 | auto *urlReq = dynamic_cast<KonfiguratorURLRequester *>(obj); | ||
291 | QString value = urlReq->url().toDisplayString(QUrl::PreferLocalFile); | 291 | QString value = urlReq->url().toDisplayString(QUrl::PreferLocalFile); | ||
292 | 292 | | |||
293 | KConfigGroup(krConfig, configGroup).writeEntry(name, value); | 293 | KConfigGroup(krConfig, configGroup).writeEntry(name, value); | ||
294 | } | 294 | } | ||
295 | 295 | | |||
296 | void KgGeneral::slotFindTools() | 296 | void KgGeneral::slotFindTools() | ||
297 | { | 297 | { | ||
298 | QPointer<KrResultTableDialog> dlg = new KrResultTableDialog(this, | 298 | QPointer<KrResultTableDialog> dlg = new KrResultTableDialog(this, | ||
Show All 31 Lines |