hein added a comment.
I think it would be OK to add an enum to SystemSettings and Q_ENUM it, and initialize the values to QStandardPath enum values. It's not pretty but then the entire thing isn't - it exists in the hope that upstream will add a Qt.standardLocation() or so so we can drop it. (We should look into contributing that.) REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D5170 To: Zren, hein Cc: plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol