Get rid of obsolete methods
Summary:
Some current methods in the Cantor code are obsolete.
Test Plan:
1.Compile Cantor (compilation should end without warnings with Qt 5.13).
- Open Cantor. Try to enter some commands.
Reviewers: KDE Edu, sirgienko
Reviewed By: sirgienko
Subscribers: kde-edu
Tags: KDE Edu
Differential Revision: https://phabricator.kde.org/D22560