Made library_role_e an enum class

Use QFileInfo to represent paths

(0) -300 -100 -30 -10 -2 +2 tip

mercurial