Make Line::Mode directly usable as a method argument from QML

4 jobs for release/21.12 in 1 minute and 35 seconds (queued for 3 seconds)