Resolve the `import' directives.

Yet another quick and dirty hack while waiting for the real binding pass.
This commit is contained in:
Roberto Raggi
2010-01-25 17:13:04 +01:00
parent 45cc9df8a2
commit 0969f3b85f
2 changed files with 46 additions and 6 deletions

View File

@@ -31,6 +31,7 @@
#define QMLCODECOMPLETION_H
#include <qmljs/qmljstypesystem.h>
#include <qmljs/qmljsdocument.h>
#include <texteditor/icompletioncollector.h>
#include <QtCore/QDateTime>
#include <QtCore/QPointer>
@@ -70,6 +71,7 @@ public:
private:
void updateSnippets();
bool isImported(QmlJS::Document::Ptr doc, const QString &currentFilePath) const;
QmlModelManagerInterface *m_modelManager;
TextEditor::ITextEditable *m_editor;