forked from quickshell/quickshell
reload: encapsulate each engine generation more
This commit is contained in:
parent
211f454de9
commit
1687ff3614
7 changed files with 125 additions and 79 deletions
|
@ -6,7 +6,7 @@
|
|||
#include <qtmetamacros.h>
|
||||
#include <qurl.h>
|
||||
|
||||
#include "shell.hpp"
|
||||
#include "generation.hpp"
|
||||
#include "watcher.hpp"
|
||||
|
||||
class RootWrapper: public QObject {
|
||||
|
@ -25,8 +25,7 @@ private slots:
|
|||
|
||||
private:
|
||||
QString rootPath;
|
||||
QQmlEngine* engine = nullptr;
|
||||
ShellRoot* root = nullptr;
|
||||
EngineGeneration* generation = nullptr;
|
||||
FiletreeWatcher* configWatcher = nullptr;
|
||||
QString originalWorkingDirectory;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue