forked from quickshell/quickshell
tooling: add automatic QMLLS support for new imports and singletons
This commit is contained in:
parent
4d8055f1cd
commit
986749cdb9
7 changed files with 283 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <qfilesystemwatcher.h>
|
||||
#include <qobject.h>
|
||||
#include <qqmlengine.h>
|
||||
#include <qtclasshelpermacros.h>
|
||||
|
|
@ -22,10 +23,12 @@ private slots:
|
|||
void generationDestroyed();
|
||||
void onWatchFilesChanged();
|
||||
void onWatchedFilesChanged();
|
||||
void updateTooling();
|
||||
|
||||
private:
|
||||
QString rootPath;
|
||||
QString shellId;
|
||||
EngineGeneration* generation = nullptr;
|
||||
QString originalWorkingDirectory;
|
||||
QFileSystemWatcher configDirWatcher;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue