Some things are deprecated now so it can be worth to port from them.
Details
- Reviewers
cfeck - Group Reviewers
KDE Edu - Commits
- R326:4ee2eb30fb60: Port Kalzium away from KDialog KFileDialog and deprecated KRun::runUrl
- Use "File->Convert chemical files..." and "Add" button to test the port from KDialog and KFileDialog.
- Use tools from the "Tools" menu (esp. "Molecular Editor" and the "Load Molecule" button).
- Double-click on the element in the table and switch to the "Extra information" tab to test the runUrl port.
- Everything should work as in the unported version.
Diff Detail
- Repository
- R326 Kalzium
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Hi again,
What can I fix in this revision to make it acceptable?
Thanks in advance for your reviews.
Such big changes are hard to review. We used to do KF5 porting step by step, i.e. replace one include or one class in a single commit.
Regarding the new connect() calls, could they get converted to new style connects?
Sorry for such big changes. The only excuse that they are purely routine (almost the results of the automatic conversion) not saying about three major points:
- Correct connections for userButtons.
- Correct help invocation (it is only possible to open the main page of Kalzium help page, but it's a KF5 kiohelp bug).
- Correct opening of molecule files by Avogadro viewer.
If those three are acceptable the whole patch must be at least close to acceptable.
That's why I decided to make just one patch from this.
If you think that it is better to split this patch for further reviewing I can do this.
Regarding the new connect() calls, could they get converted to new style connects?
Sure. Should be done in the next iteration. Should there are no objections to the new patch version (tested again locally) I can commit it on Sunday (2018-10-21).
Thanks again for your reviews.
Rewrite connect() in the new style where I touched the code, a couple of minor tweaks.