Elements work like they've always done, this just moves the commonly used components away from the global namespace. The qmldir file still does something, although at this point it is unknown exactly how it's used and whether or not it could be changed to simplify imports across the block.
14 lines
285 B
QML
14 lines
285 B
QML
pragma Singleton
|
|
import QtQuick 2.7
|
|
import QtMultimedia 5.6
|
|
import matzman666.advsettings 1.0
|
|
|
|
QtObject {
|
|
function playActivationSound() {
|
|
OverlayController.playActivationSound()
|
|
}
|
|
function playFocusChangedSound() {
|
|
OverlayController.playFocusChangedSound()
|
|
}
|
|
}
|