Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM IncidenceEditor
Commits
b4e2723f
Commit
b4e2723f
authored
Sep 26, 2021
by
Laurent Montel
😁
Browse files
Not necessary to use qOverload here
parent
1ab24814
Pipeline
#82760
failed with stage
in 7 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/incidencerecurrence.cpp
View file @
b4e2723f
...
...
@@ -98,18 +98,18 @@ IncidenceRecurrence::IncidenceRecurrence(IncidenceDateTime *dateTime, Ui::EventO
connect
(
mUi
->
mExceptionDateEdit
,
&
KDateComboBox
::
dateChanged
,
this
,
&
IncidenceRecurrence
::
handleExceptionDateChange
);
connect
(
mUi
->
mExceptionList
,
&
QListWidget
::
itemSelectionChanged
,
this
,
&
IncidenceRecurrence
::
updateRemoveExceptionButton
);
connect
(
mUi
->
mRecurrenceTypeCombo
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
IncidenceRecurrence
::
handleRecurrenceTypeChange
);
connect
(
mUi
->
mEndDurationEdit
,
qOverload
<
int
>
(
&
QSpinBox
::
valueChanged
)
,
this
,
&
IncidenceRecurrence
::
handleEndAfterOccurrencesChange
);
connect
(
mUi
->
mFrequencyEdit
,
qOverload
<
int
>
(
&
QSpinBox
::
valueChanged
)
,
this
,
&
IncidenceRecurrence
::
handleFrequencyChange
);
connect
(
mUi
->
mEndDurationEdit
,
&
QSpinBox
::
valueChanged
,
this
,
&
IncidenceRecurrence
::
handleEndAfterOccurrencesChange
);
connect
(
mUi
->
mFrequencyEdit
,
&
QSpinBox
::
valueChanged
,
this
,
&
IncidenceRecurrence
::
handleFrequencyChange
);
// Check the dirty status when the user changes values.
connect
(
mUi
->
mRecurrenceTypeCombo
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
IncidenceRecurrence
::
checkDirtyStatus
);
connect
(
mUi
->
mFrequencyEdit
,
qOverload
<
int
>
(
&
QSpinBox
::
valueChanged
)
,
this
,
&
IncidenceRecurrence
::
checkDirtyStatus
);
connect
(
mUi
->
mFrequencyEdit
,
qOverload
<
int
>
(
&
QSpinBox
::
valueChanged
)
,
this
,
&
IncidenceRecurrence
::
checkDirtyStatus
);
connect
(
mUi
->
mFrequencyEdit
,
&
QSpinBox
::
valueChanged
,
this
,
&
IncidenceRecurrence
::
checkDirtyStatus
);
connect
(
mUi
->
mFrequencyEdit
,
&
QSpinBox
::
valueChanged
,
this
,
&
IncidenceRecurrence
::
checkDirtyStatus
);
connect
(
mUi
->
mWeekDayCombo
,
&
IncidenceEditorNG
::
KWeekdayCheckCombo
::
checkedItemsChanged
,
this
,
&
IncidenceRecurrence
::
checkDirtyStatus
);
connect
(
mUi
->
mMonthlyCombo
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
IncidenceRecurrence
::
checkDirtyStatus
);
connect
(
mUi
->
mYearlyCombo
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
IncidenceRecurrence
::
checkDirtyStatus
);
connect
(
mUi
->
mRecurrenceEndCombo
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
IncidenceRecurrence
::
checkDirtyStatus
);
connect
(
mUi
->
mEndDurationEdit
,
qOverload
<
int
>
(
&
QSpinBox
::
valueChanged
)
,
this
,
&
IncidenceRecurrence
::
checkDirtyStatus
);
connect
(
mUi
->
mEndDurationEdit
,
&
QSpinBox
::
valueChanged
,
this
,
&
IncidenceRecurrence
::
checkDirtyStatus
);
connect
(
mUi
->
mRecurrenceEndDate
,
&
KDateComboBox
::
dateChanged
,
this
,
&
IncidenceRecurrence
::
checkDirtyStatus
);
connect
(
mUi
->
mThisAndFutureCheck
,
&
QCheckBox
::
stateChanged
,
this
,
&
IncidenceRecurrence
::
checkDirtyStatus
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment