Finds the shell.qml an app runs. More...
#include <PhosphorShell/ShellLoader.h>
Public Member Functions | |
| ShellLoader (const QString &shellName, const QUrl &bundledShell=QUrl()) | |
| QUrl | resolve () const |
| QString | shellConfigDir () const |
Finds the shell.qml an app runs.
shellName is the app's directory name: the tree is looked up in <config>/<shellName>/ and <data>/<shellName>/ for every XDG config and data location. When none has one, bundledShell is the fallback, such as the shell.qml of a QML module linked into the binary (qrc:/qt/qml/<Module>/<Path>/shell.qml), used when it exists. Empty: no fallback.
|
explicit |
|
nodiscard |
|
nodiscard |