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
KOrganizer
Commits
21fce6b4
Commit
21fce6b4
authored
Sep 26, 2021
by
Laurent Montel
😁
Browse files
Remove some qOverload as we remove deprecated qt5.15 signal
parent
65cca365
Pipeline
#82749
canceled with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/prefs/koprefsdialogcolorsandfonts.cpp
View file @
21fce6b4
...
...
@@ -104,7 +104,7 @@ KOPrefsDialogColorsAndFonts::KOPrefsDialogColorsAndFonts(QWidget *parent, const
"Select the tag you want to modify. "
"You can change the selected tag's color using "
"the adjacent color button."
));
connect
(
mCategoryCombo
,
qOverload
<
int
>
(
&
KComboBox
::
activated
)
,
this
,
&
KOPrefsDialogColorsAndFonts
::
updateCategoryColor
);
connect
(
mCategoryCombo
,
&
KComboBox
::
activated
,
this
,
&
KOPrefsDialogColorsAndFonts
::
updateCategoryColor
);
categoryLayout
->
addWidget
(
mCategoryCombo
,
1
,
0
);
mCategoryButton
=
new
KColorButton
(
categoryGroup
);
...
...
src/prefs/koprefsdialogtime.cpp
View file @
21fce6b4
...
...
@@ -201,7 +201,7 @@ KOPrefsDialogTime::KOPrefsDialogTime(QWidget *parent, const QVariantList &args)
mReminderUnitsCombo
=
new
KComboBox
(
defaultPage
);
mReminderUnitsCombo
->
setToolTip
(
CalendarSupport
::
KCalPrefs
::
instance
()
->
reminderTimeUnitsItem
()
->
toolTip
());
mReminderUnitsCombo
->
setWhatsThis
(
CalendarSupport
::
KCalPrefs
::
instance
()
->
reminderTimeUnitsItem
()
->
whatsThis
());
connect
(
mReminderUnitsCombo
,
qOverload
<
int
>
(
&
KComboBox
::
activated
)
,
this
,
&
KOPrefsDialogTime
::
slotWidChanged
);
connect
(
mReminderUnitsCombo
,
&
KComboBox
::
activated
,
this
,
&
KOPrefsDialogTime
::
slotWidChanged
);
mReminderUnitsCombo
->
addItem
(
i18nc
(
"@item:inlistbox reminder units in minutes"
,
"minute(s)"
));
mReminderUnitsCombo
->
addItem
(
i18nc
(
"@item:inlistbox reminder time units in hours"
,
"hour(s)"
));
mReminderUnitsCombo
->
addItem
(
i18nc
(
"@item:inlistbox reminder time units in days"
,
"day(s)"
));
...
...
src/prefs/kprefsdialog.cpp
View file @
21fce6b4
...
...
@@ -465,7 +465,7 @@ KPrefsWidCombo::KPrefsWidCombo(KConfigSkeleton::ItemEnum *item, QWidget *parent)
{
mLabel
=
new
QLabel
(
mItem
->
label
(),
parent
);
mCombo
=
new
KComboBox
(
parent
);
connect
(
mCombo
,
qOverload
<
int
>
(
&
KComboBox
::
activated
)
,
this
,
&
KPrefsWidCombo
::
changed
);
connect
(
mCombo
,
&
KComboBox
::
activated
,
this
,
&
KPrefsWidCombo
::
changed
);
mLabel
->
setBuddy
(
mCombo
);
QString
toolTip
=
mItem
->
toolTip
();
if
(
!
toolTip
.
isEmpty
())
{
...
...
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