README.md: fix example code & code markup
ClosedPublic

Authored by kossebau on Feb 19 2020, 7:21 PM.

Details

Summary
  • scope examples with ` and code type
  • serviceByDesktopName is the correct method
  • drop 0 parameter from createInstance call (nullptr is default arg)
  • drop NO_MODULE from find_package(KF5TextEditor), not really needed, more simple example

Diff Detail

Repository
R39 KTextEditor
Branch
fixreadme
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 22693
Build 22711: arc lint + arc unit
kossebau created this revision.Feb 19 2020, 7:21 PM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptFeb 19 2020, 7:21 PM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
kossebau requested review of this revision.Feb 19 2020, 7:21 PM
cullmann accepted this revision.Feb 19 2020, 7:24 PM
This revision is now accepted and ready to land.Feb 19 2020, 7:24 PM
This revision was automatically updated to reflect the committed changes.