Qt Reference Documentation

QDeclarativeTypeLoader Class Reference

 #include <QDeclarativeTypeLoader>

Inherits QObject.

Public Types

enum Option { None, PreserveParser }
flags Options

Public Functions

QDeclarativeTypeLoader ( QDeclarativeEngine * )
~QDeclarativeTypeLoader ()
void clearCache ()
QDeclarativeTypeData * get ( const QUrl & url )
QDeclarativeTypeData * get ( const QByteArray & data, const QUrl & url, Options options = None )
QDeclarativeQmldirData * getQmldir ( const QUrl & url )
QDeclarativeScriptData * getScript ( const QUrl & url )
  • 29 public functions inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 signal inherited from QObject
  • 5 static public members inherited from QObject
  • 7 protected functions inherited from QObject

Detailed Description

Member Type Documentation

enum QDeclarativeTypeLoader::Option
flags QDeclarativeTypeLoader::Options

The Options type is a typedef for QFlags<Option>. It stores an OR combination of Option values.

Member Function Documentation

QDeclarativeTypeLoader::QDeclarativeTypeLoader ( QDeclarativeEngine * )

QDeclarativeTypeLoader::~QDeclarativeTypeLoader ()

void QDeclarativeTypeLoader::clearCache ()

QDeclarativeTypeData * QDeclarativeTypeLoader::get ( const QUrl & url )

Return a QDeclarativeTypeData for url. The QDeclarativeTypeData may be cached.

QDeclarativeTypeData * QDeclarativeTypeLoader::get ( const QByteArray & data, const QUrl & url, Options options = None )

Return a QDeclarativeTypeData for data with the provided base url. The QDeclarativeTypeData will not be cached.

QDeclarativeQmldirData * QDeclarativeTypeLoader::getQmldir ( const QUrl & url )

Return a QDeclarativeQmldirData for url. The QDeclarativeQmldirData may be cached.

QDeclarativeScriptData * QDeclarativeTypeLoader::getScript ( const QUrl & url )

Return a QDeclarativeScriptData for url. The QDeclarativeScriptData may be cached.

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.