Changeset View
Changeset View
Standalone View
Standalone View
src/EditProfileDialog.cpp
Show First 20 Lines • Show All 1264 Lines • ▼ Show 20 Line(s) | 1264 | { | |||
---|---|---|---|---|---|
1265 | _ui->underlineFilesButton, Profile::UnderlineFilesEnabled, | 1265 | _ui->underlineFilesButton, Profile::UnderlineFilesEnabled, | ||
1266 | SLOT(toggleUnderlineFiles(bool)) | 1266 | SLOT(toggleUnderlineFiles(bool)) | ||
1267 | }, | 1267 | }, | ||
1268 | { | 1268 | { | ||
1269 | _ui->ctrlRequiredForDragButton, Profile::CtrlRequiredForDrag, | 1269 | _ui->ctrlRequiredForDragButton, Profile::CtrlRequiredForDrag, | ||
1270 | SLOT(toggleCtrlRequiredForDrag(bool)) | 1270 | SLOT(toggleCtrlRequiredForDrag(bool)) | ||
1271 | }, | 1271 | }, | ||
1272 | { | 1272 | { | ||
1273 | _ui->copyTextAsHTMLButton, Profile::CopyTextAsHTML, | ||||
1274 | SLOT(toggleCopyTextAsHTML(bool)) | ||||
1275 | }, | ||||
1276 | { | ||||
1273 | _ui->copyTextToClipboardButton, Profile::AutoCopySelectedText, | 1277 | _ui->copyTextToClipboardButton, Profile::AutoCopySelectedText, | ||
1274 | SLOT(toggleCopyTextToClipboard(bool)) | 1278 | SLOT(toggleCopyTextToClipboard(bool)) | ||
1275 | }, | 1279 | }, | ||
1276 | { | 1280 | { | ||
1277 | _ui->trimLeadingSpacesButton, Profile::TrimLeadingSpacesInSelectedText, | 1281 | _ui->trimLeadingSpacesButton, Profile::TrimLeadingSpacesInSelectedText, | ||
1278 | SLOT(toggleTrimLeadingSpacesInSelectedText(bool)) | 1282 | SLOT(toggleTrimLeadingSpacesInSelectedText(bool)) | ||
1279 | }, | 1283 | }, | ||
1280 | { | 1284 | { | ||
▲ Show 20 Lines • Show All 181 Lines • ▼ Show 20 Line(s) | 1465 | { | |||
1462 | updateTempProfileProperty(Profile::DropUrlsAsText, enable); | 1466 | updateTempProfileProperty(Profile::DropUrlsAsText, enable); | ||
1463 | } | 1467 | } | ||
1464 | 1468 | | |||
1465 | void EditProfileDialog::toggleOpenLinksByDirectClick(bool enable) | 1469 | void EditProfileDialog::toggleOpenLinksByDirectClick(bool enable) | ||
1466 | { | 1470 | { | ||
1467 | updateTempProfileProperty(Profile::OpenLinksByDirectClickEnabled, enable); | 1471 | updateTempProfileProperty(Profile::OpenLinksByDirectClickEnabled, enable); | ||
1468 | } | 1472 | } | ||
1469 | 1473 | | |||
1474 | void EditProfileDialog::toggleCopyTextAsHTML(bool enable) | ||||
1475 | { | ||||
1476 | updateTempProfileProperty(Profile::CopyTextAsHTML, enable); | ||||
1477 | } | ||||
1478 | | ||||
1470 | void EditProfileDialog::toggleCopyTextToClipboard(bool enable) | 1479 | void EditProfileDialog::toggleCopyTextToClipboard(bool enable) | ||
1471 | { | 1480 | { | ||
1472 | updateTempProfileProperty(Profile::AutoCopySelectedText, enable); | 1481 | updateTempProfileProperty(Profile::AutoCopySelectedText, enable); | ||
1473 | } | 1482 | } | ||
1474 | 1483 | | |||
1475 | void EditProfileDialog::toggleTrimLeadingSpacesInSelectedText(bool enable) | 1484 | void EditProfileDialog::toggleTrimLeadingSpacesInSelectedText(bool enable) | ||
1476 | { | 1485 | { | ||
1477 | updateTempProfileProperty(Profile::TrimLeadingSpacesInSelectedText, enable); | 1486 | updateTempProfileProperty(Profile::TrimLeadingSpacesInSelectedText, enable); | ||
▲ Show 20 Lines • Show All 175 Lines • Show Last 20 Lines |