Extending Qt Creator Manual | ViewerContext

Extending Qt Creator Manual 4.7.1

# ViewerContext Class

(QmlJS::QmlJS::ViewerContext)

- List of all members, including inherited members

## Public Types

enum | Flags { Complete, AddAllPathsAndDefaultSelectors, AddAllPaths, AddDefaultPaths, AddDefaultPathsAndSelectors }

## Public Functions

| ViewerContext()
| ViewerContext(const QmlJS::QStringList &selectors, const QmlJS::QStringList &paths, int language = ..., QmlJS::QmlJS::ViewerContext::Flags flags = AddAllPaths)
bool | languageIsCompatible(int l) const
void | maybeAddPath(const QmlJS::QString &path)

## Member Type Documentation

### enum ViewerContext::Flags

## Member Function Documentation

### ViewerContext::ViewerContext()

Default constructs an instance of ViewerContext.

### ViewerContext::ViewerContext(const QmlJS::QStringList &selectors, const QmlJS::QStringList &paths, int language = ..., QmlJS::QmlJS::ViewerContext::Flags flags = AddAllPaths)

Default constructs an instance of ViewerContext.

### bool ViewerContext::languageIsCompatible(int l) const

### void ViewerContext::maybeAddPath(const QmlJS::QString &path)