~ubuntu-branches/ubuntu/vivid/qtdeclarative-opensource-src-gles/vivid

« back to all changes in this revision

Viewing changes to src/qml/doc/src/qmlfunctions.qdoc

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2015-03-11 16:51:45 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20150311165145-7653iqap3mau92gy
Tags: 5.4.1-0ubuntu1
Sync package with qtdeclarative-opensource-src - 5.4.1-1ubuntu3

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
*/
158
158
 
159
159
/*!
160
 
  \fn int qmlRegisterExtendedUncreatableType(const char *uri, int versionMajor, int versionMinor, const char *qmlName, const QString& message)
161
 
  \relates QQmlEgine
 
160
  \fn int qmlRegisterExtendedType(const char *uri, int versionMajor, int versionMinor, const char *qmlName)
 
161
  \relates QQmlEngine
 
162
 
 
163
  This template function registers the C++ type and its extension object in the
 
164
  QML system with the name \a qmlName in the library imported from \a uri having
 
165
  version number composed from \a versionMajor and \a versionMinor. Properties
 
166
  not available in the main type will be searched for in the extension object.
 
167
 
 
168
  Returns the QML type id.
 
169
 
 
170
  #include <QtQml> to use this function.
 
171
 
 
172
  \sa qmlRegisterType(), {Registering Extension Objects}
 
173
*/
 
174
 
 
175
 
 
176
/*!
 
177
  \fn int qmlRegisterExtendedUncreatableType(const char *uri, int versionMajor, int versionMinor, const char *qmlName, const QString& reason)
 
178
  \relates QQmlEngine
162
179
 
163
180
  This template function registers the C++ type and its extension
164
181
  in the QML system with the name \a qmlName in the library imported
180
197
 
181
198
/*!
182
199
  \fn int qmlRegisterCustomExtendedType(const char *uri, int versionMajor, int versionMinor, const char *qmlName, QQmlCustomParser *parser)
183
 
  \relates QQmlEgine
 
200
  \relates QQmlEngine
 
201
  \internal
184
202
 
185
203
  This template function registers the C++ type and its extension
186
204
  in the QML system with the name \a qmlName in the library imported