Changeset View
Changeset View
Standalone View
Standalone View
addons/filetree/katefiletreeconfigpage.cpp
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Line(s) | 119 | cbShowFullPath->setWhatsThis(i18n( | |||
---|---|---|---|---|---|
120 | "When enabled, in tree mode, top level folders will show up with their full path " | 120 | "When enabled, in tree mode, top level folders will show up with their full path " | ||
121 | "rather than just the last folder name.")); | 121 | "rather than just the last folder name.")); | ||
122 | 122 | | |||
123 | // cmbSort->setWhatsThis( i18n( | 123 | // cmbSort->setWhatsThis( i18n( | ||
124 | // "Set the sorting method for the documents.") ); | 124 | // "Set the sorting method for the documents.") ); | ||
125 | 125 | | |||
126 | reset(); | 126 | reset(); | ||
127 | 127 | | |||
128 | connect(gbEnableShading, SIGNAL(toggled(bool)), this, SLOT(slotMyChanged())); | 128 | connect(gbEnableShading, &QGroupBox::toggled, this, &KateFileTreeConfigPage::slotMyChanged); | ||
129 | connect(kcbViewShade, SIGNAL(changed(QColor)), this, SLOT(slotMyChanged())); | 129 | connect(kcbViewShade, &KColorButton::changed, this, &KateFileTreeConfigPage::slotMyChanged); | ||
130 | connect(kcbEditShade, SIGNAL(changed(QColor)), this, SLOT(slotMyChanged())); | 130 | connect(kcbEditShade, &KColorButton::changed, this, &KateFileTreeConfigPage::slotMyChanged); | ||
131 | connect(cmbSort, SIGNAL(activated(int)), this, SLOT(slotMyChanged())); | 131 | connect(cmbSort, static_cast<void (KComboBox::*)(int)>(&KComboBox::activated), | ||
132 | connect(cmbMode, SIGNAL(activated(int)), this, SLOT(slotMyChanged())); | 132 | this, &KateFileTreeConfigPage::slotMyChanged); | ||
133 | connect(cbShowFullPath, SIGNAL(stateChanged(int)), this, SLOT(slotMyChanged())); | 133 | connect(cmbMode, static_cast<void (KComboBox::*)(int)>(&KComboBox::activated), | ||
134 | this, &KateFileTreeConfigPage::slotMyChanged); | ||||
135 | connect(cbShowFullPath, &QCheckBox::stateChanged, this, &KateFileTreeConfigPage::slotMyChanged); | ||||
134 | } | 136 | } | ||
135 | 137 | | |||
136 | QString KateFileTreeConfigPage::name() const | 138 | QString KateFileTreeConfigPage::name() const | ||
137 | { | 139 | { | ||
138 | return QString(i18n("Documents")); | 140 | return QString(i18n("Documents")); | ||
139 | } | 141 | } | ||
140 | 142 | | |||
141 | QString KateFileTreeConfigPage::fullName() const | 143 | QString KateFileTreeConfigPage::fullName() const | ||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |