Commit 52831901 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove some qOverload as we remove deprecated qt5.15 signal

parent fad0740b
Pipeline #82750 canceled with stage
......@@ -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);
......
......@@ -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);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment