Changeset View
Changeset View
Standalone View
Standalone View
src/settings/general/confirmationssettingspage.cpp
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | 49 | m_confirmMoveToTrash = new QCheckBox(i18nc("@option:check Ask for confirmation when", | |||
---|---|---|---|---|---|
50 | "Moving files or folders to trash"), this); | 50 | "Moving files or folders to trash"), this); | ||
51 | m_confirmEmptyTrash = new QCheckBox(i18nc("@option:check Ask for confirmation when", | 51 | m_confirmEmptyTrash = new QCheckBox(i18nc("@option:check Ask for confirmation when", | ||
52 | "Emptying trash"), this); | 52 | "Emptying trash"), this); | ||
53 | m_confirmDelete = new QCheckBox(i18nc("@option:check Ask for confirmation when", | 53 | m_confirmDelete = new QCheckBox(i18nc("@option:check Ask for confirmation when", | ||
54 | "Deleting files or folders"), this); | 54 | "Deleting files or folders"), this); | ||
55 | m_confirmScriptExecution = new QCheckBox(i18nc("@option:check Ask for confirmation when", | 55 | m_confirmScriptExecution = new QCheckBox(i18nc("@option:check Ask for confirmation when", | ||
56 | "Executing scripts or desktop files"), this); | 56 | "Executing scripts or desktop files"), this); | ||
57 | 57 | | |||
58 | QLabel* confirmLabelDolphin = new QLabel(i18nc("@title:group", "Ask for confirmation when:"), this); | 58 | QLabel* confirmLabelDolphin = new QLabel(i18nc("@title:group", "Ask for confirmation in Dolphin when:"), this); | ||
59 | confirmLabelDolphin->setWordWrap(true); | 59 | confirmLabelDolphin->setWordWrap(true); | ||
60 | 60 | | |||
61 | m_confirmClosingMultipleTabs = new QCheckBox(i18nc("@option:check Ask for confirmation when", | 61 | m_confirmClosingMultipleTabs = new QCheckBox(i18nc("@option:check Ask for confirmation in Dolphin when", | ||
62 | "Closing Dolphin windows with multiple tabs"), this); | 62 | "Closing windows with multiple tabs"), this); | ||
63 | 63 | | |||
64 | topLayout->addWidget(confirmLabelKde); | 64 | topLayout->addWidget(confirmLabelKde); | ||
65 | topLayout->addWidget(m_confirmMoveToTrash); | 65 | topLayout->addWidget(m_confirmMoveToTrash); | ||
66 | topLayout->addWidget(m_confirmEmptyTrash); | 66 | topLayout->addWidget(m_confirmEmptyTrash); | ||
67 | topLayout->addWidget(m_confirmDelete); | 67 | topLayout->addWidget(m_confirmDelete); | ||
68 | topLayout->addWidget(m_confirmScriptExecution); | 68 | topLayout->addWidget(m_confirmScriptExecution); | ||
69 | topLayout->addSpacing(18); | ||||
69 | topLayout->addWidget(confirmLabelDolphin); | 70 | topLayout->addWidget(confirmLabelDolphin); | ||
70 | topLayout->addWidget(m_confirmClosingMultipleTabs); | 71 | topLayout->addWidget(m_confirmClosingMultipleTabs); | ||
71 | topLayout->addStretch(); | 72 | topLayout->addStretch(); | ||
72 | 73 | | |||
73 | loadSettings(); | 74 | loadSettings(); | ||
74 | 75 | | |||
75 | connect(m_confirmMoveToTrash, &QCheckBox::toggled, this, &ConfirmationsSettingsPage::changed); | 76 | connect(m_confirmMoveToTrash, &QCheckBox::toggled, this, &ConfirmationsSettingsPage::changed); | ||
76 | connect(m_confirmEmptyTrash, &QCheckBox::toggled, this, &ConfirmationsSettingsPage::changed); | 77 | connect(m_confirmEmptyTrash, &QCheckBox::toggled, this, &ConfirmationsSettingsPage::changed); | ||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |