[KJots] Make compiler happier (use overrides, nullptr, explicit, QT_NO_KEYWORDS)
ClosedPublic

Authored by poboiko on Apr 19 2020, 6:12 PM.

Details

Summary

This patch does not contain any functional change, it only does following:

  1. Add override keyword where applicable (also, remove empty dtors);
  2. Make ctors explicit;
  3. Use nullptr instead of 0;
  4. Add QT_NO_KEYWORDS, make code compile
Test Plan

it compiles

Diff Detail

Repository
R573 KJots
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
poboiko created this revision.Apr 19 2020, 6:12 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptApr 19 2020, 6:12 PM
poboiko requested review of this revision.Apr 19 2020, 6:12 PM
dvratil accepted this revision.Apr 20 2020, 2:06 PM
This revision is now accepted and ready to land.Apr 20 2020, 2:06 PM
This revision was automatically updated to reflect the committed changes.