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
KPimTextEdit
Commits
52831901
Commit
52831901
authored
Sep 26, 2021
by
Laurent Montel
😁
Browse files
Remove some qOverload as we remove deprecated qt5.15 signal
parent
fad0740b
Pipeline
#82750
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/inserttablewidget.cpp
View file @
52831901
...
...
@@ -47,7 +47,7 @@ public:
gridLayout
->
addWidget
(
mBorder
,
2
,
1
);
mTypeOfLength
=
new
QComboBox
;
q
->
connect
(
mTypeOfLength
,
qOverload
<
int
>
(
&
QComboBox
::
activated
)
,
q
,
&
InsertTableWidget
::
slotTypeOfLengthChanged
);
q
->
connect
(
mTypeOfLength
,
&
QComboBox
::
activated
,
q
,
&
InsertTableWidget
::
slotTypeOfLengthChanged
);
// xgettext: no-c-format
mTypeOfLength
->
addItem
(
i18n
(
"% of windows"
),
QTextLength
::
PercentageLength
);
mTypeOfLength
->
addItem
(
i18n
(
"pixels"
),
QTextLength
::
FixedLength
);
...
...
src/texttospeech/texttospeechconfigwidget.cpp
View file @
52831901
...
...
@@ -51,19 +51,19 @@ TextToSpeechConfigWidget::TextToSpeechConfigWidget(QWidget *parent)
mAvailableEngine
=
new
QComboBox
(
this
);
mAvailableEngine
->
setObjectName
(
QStringLiteral
(
"engine"
));
layout
->
addRow
(
i18n
(
"Engine:"
),
mAvailableEngine
);
connect
(
mAvailableEngine
,
qOverload
<
int
>
(
&
QComboBox
::
currentIndexChanged
)
,
this
,
&
TextToSpeechConfigWidget
::
slotEngineChanged
);
connect
(
mAvailableEngine
,
qOverload
<
int
>
(
&
QComboBox
::
currentIndexChanged
)
,
this
,
&
TextToSpeechConfigWidget
::
valueChanged
);
connect
(
mAvailableEngine
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
TextToSpeechConfigWidget
::
slotEngineChanged
);
connect
(
mAvailableEngine
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
TextToSpeechConfigWidget
::
valueChanged
);
mLanguage
=
new
KPIMTextEdit
::
TextToSpeechLanguageComboBox
(
this
);
mLanguage
->
setObjectName
(
QStringLiteral
(
"language"
));
layout
->
addRow
(
i18n
(
"Language:"
),
mLanguage
);
connect
(
mAvailableEngine
,
qOverload
<
int
>
(
&
QComboBox
::
currentIndexChanged
)
,
this
,
&
TextToSpeechConfigWidget
::
slotLanguageChanged
);
connect
(
mLanguage
,
qOverload
<
int
>
(
&
QComboBox
::
currentIndexChanged
)
,
this
,
&
TextToSpeechConfigWidget
::
valueChanged
);
connect
(
mAvailableEngine
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
TextToSpeechConfigWidget
::
slotLanguageChanged
);
connect
(
mLanguage
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
TextToSpeechConfigWidget
::
valueChanged
);
mVoice
=
new
QComboBox
(
this
);
mVoice
->
setObjectName
(
QStringLiteral
(
"voice"
));
layout
->
addRow
(
i18n
(
"Voice:"
),
mVoice
);
connect
(
mVoice
,
qOverload
<
int
>
(
&
QComboBox
::
currentIndexChanged
)
,
this
,
&
TextToSpeechConfigWidget
::
valueChanged
);
connect
(
mVoice
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
TextToSpeechConfigWidget
::
valueChanged
);
QTimer
::
singleShot
(
0
,
this
,
&
TextToSpeechConfigWidget
::
slotUpdateSettings
);
}
...
...
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