Remove as deprecated marked classes and functions
ClosedPublic

Authored by hriesenbeck on Jul 16 2019, 7:16 PM.

Details

Summary

The in Qt 5.13 as deprecated respectively obsolete marked classes,
methods and functions were substituted by its, in the compiler
message or documentation suggested, alternatives.

Test Plan

Compiler runs without warnings

Diff Detail

Repository
R340 Parley
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
hriesenbeck created this revision.Jul 16 2019, 7:16 PM
Restricted Application added a project: KDE Edu. · View Herald TranscriptJul 16 2019, 7:16 PM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
hriesenbeck requested review of this revision.Jul 16 2019, 7:16 PM
apol added a subscriber: apol.Jul 16 2019, 10:10 PM

Overall, looks good to me. :)

src/dashboard/dashboard.cpp
228–231

add this as a 3rd argument.

src/editor/editor.cpp
144–145

Add this as third argument:
connect(languageSpellCheck, &QAction::triggered, this, [=] {m_vocabularyView->checkSpelling(i);});

src/editor/summarywordwidget.cpp
61–62

You can use QOverload::of(), it reads easier.

src/settings/languagepropertiespage.cpp
43–44

QOverload

src/statistics/statisticsmainwindow.cpp
133–148

This, to all.

  • Implement changes based on review comments
apol accepted this revision.Jul 18 2019, 12:34 PM

Thanks!
Can you land patches?

This revision is now accepted and ready to land.Jul 18 2019, 12:34 PM
This revision was automatically updated to reflect the committed changes.