forked from quickshell/quickshell
feat: add hard reload signal and wrap root object
This commit is contained in:
parent
d14258df8e
commit
9a5ad44aa9
6 changed files with 116 additions and 22 deletions
|
@ -23,11 +23,14 @@ class QtShell: public QObject, public QQmlParserStatus {
|
|||
public:
|
||||
explicit QtShell();
|
||||
|
||||
void classBegin() override {};
|
||||
void classBegin() override {}
|
||||
void componentComplete() override;
|
||||
|
||||
QQmlListProperty<ShellComponent> components();
|
||||
|
||||
public slots:
|
||||
void reload();
|
||||
|
||||
private:
|
||||
static void appendComponent(QQmlListProperty<ShellComponent>* list, ShellComponent* component);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue