Qt Reference Documentation

QDeclarativeImportDatabase Class Reference

The QDeclarativeImportDatabase class manages the QML imports for a QDeclarativeEngine. More...

 #include <QDeclarativeImportDatabase>

Public Functions

QDeclarativeImportDatabase ( QDeclarativeEngine * )
~QDeclarativeImportDatabase ()
void addImportPath ( const QString & dir )
void addPluginPath ( const QString & path )
QStringList importPathList () const
bool importPlugin ( const QString & filePath, const QString & uri, QString * errorString )
QStringList pluginPathList () const
void setImportPathList ( const QStringList & paths )
void setPluginPathList ( const QStringList & paths )

Detailed Description

The QDeclarativeImportDatabase class manages the QML imports for a QDeclarativeEngine.

Member Function Documentation

QDeclarativeImportDatabase::QDeclarativeImportDatabase ( QDeclarativeEngine * )

QDeclarativeImportDatabase::~QDeclarativeImportDatabase ()

void QDeclarativeImportDatabase::addImportPath ( const QString & dir )

void QDeclarativeImportDatabase::addPluginPath ( const QString & path )

QStringList QDeclarativeImportDatabase::importPathList () const

See also setImportPathList().

bool QDeclarativeImportDatabase::importPlugin ( const QString & filePath, const QString & uri, QString * errorString )

QStringList QDeclarativeImportDatabase::pluginPathList () const

See also setPluginPathList().

void QDeclarativeImportDatabase::setImportPathList ( const QStringList & paths )

See also importPathList().

void QDeclarativeImportDatabase::setPluginPathList ( const QStringList & paths )

See also pluginPathList().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.