Files
harbour-core/harbour/contrib/hbqt/qtdeclarative/qth/QDeclarativeEngine.qth
Pritpal Bedi 2f7af66890 2012-07-05 21:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbqt/qtdeclarative
  + contrib/hbqt/qtdeclarative/doc
  + contrib/hbqt/qtdeclarative/doc/en
  + contrib/hbqt/qtdeclarative/hbqt_init.cpp
  + contrib/hbqt/qtdeclarative/hbqtdeclarative.ch
  + contrib/hbqt/qtdeclarative/hbqtdeclarative.hbc
  + contrib/hbqt/qtdeclarative/hbqtdeclarative.hbm
  + contrib/hbqt/qtdeclarative/hbqtdeclarative.hbp
  + contrib/hbqt/qtdeclarative/hbqtdeclarative.hbx
  + contrib/hbqt/qtdeclarative/hbqtdeclaratives.hbp
  + contrib/hbqt/qtdeclarative/qth
  + contrib/hbqt/qtdeclarative/qth/filelist.hbm
  + contrib/hbqt/qtdeclarative/qth/QDeclarativeComponent.qth
  + contrib/hbqt/qtdeclarative/qth/QDeclarativeContext.qth
  + contrib/hbqt/qtdeclarative/qth/QDeclarativeEngine.qth
  + contrib/hbqt/qtdeclarative/qth/QDeclarativeError.qth
  + contrib/hbqt/qtdeclarative/qth/QDeclarativeExpression.qth
  + contrib/hbqt/qtdeclarative/qth/QDeclarativeImageProvider.qth
  + contrib/hbqt/qtdeclarative/qth/QDeclarativeItem.qth
  + contrib/hbqt/qtdeclarative/qth/QDeclarativeListReference.qth
  + contrib/hbqt/qtdeclarative/qth/QDeclarativeParserStatus.qth
  + contrib/hbqt/qtdeclarative/qth/QDeclarativeProperty.qth
  + contrib/hbqt/qtdeclarative/qth/QDeclarativePropertyMap.qth
  + contrib/hbqt/qtdeclarative/qth/QDeclarativePropertyValueSource.qth
  + contrib/hbqt/qtdeclarative/qth/QDeclarativeScriptString.qth
  + contrib/hbqt/qtdeclarative/qth/QDeclarativeView.qth
    + Added: Qt's QtDeclrative module specifc classes.
    
  * contrib/hbqt/qtgui/qth/filelist.hbm
    - Removed: QDeclrative*.qth classes.
    
  - contrib/hbqt/qtgui/qth/QDeclarativeComponent.qth
  - contrib/hbqt/qtgui/qth/QDeclarativeContext.qth
  - contrib/hbqt/qtgui/qth/QDeclarativeEngine.qth
  - contrib/hbqt/qtgui/qth/QDeclarativeError.qth
  - contrib/hbqt/qtgui/qth/QDeclarativeExpression.qth
  - contrib/hbqt/qtgui/qth/QDeclarativeImageProvider.qth
  - contrib/hbqt/qtgui/qth/QDeclarativeItem.qth
  - contrib/hbqt/qtgui/qth/QDeclarativeListReference.qth
  - contrib/hbqt/qtgui/qth/QDeclarativeParserStatus.qth
  - contrib/hbqt/qtgui/qth/QDeclarativeProperty.qth
  - contrib/hbqt/qtgui/qth/QDeclarativePropertyMap.qth
  - contrib/hbqt/qtgui/qth/QDeclarativePropertyValueSource.qth
  - contrib/hbqt/qtgui/qth/QDeclarativeScriptString.qth
  - contrib/hbqt/qtgui/qth/QDeclarativeView.qth
    - Moved: QDeclarative module specific files in 
       <qtdeclarative> folder. This effectively in line with 
       Harbour's quest TO maintain modularity.
2012-07-06 04:25:18 +00:00

89 lines
2.3 KiB
Plaintext

/*
* $Id$
*/
/*
* Harbour Qt wrapper generator control file
*
* Copyright 2009-2012 Pritpal Bedi <bedipritpal@hotmail.com>
* www - http://www.harbour-project.org
*
* See COPYING for licensing terms.
*/
<CLASS>
QObject = Yes
Inherit = QObject
Type =
New =
Version = 0x040700
</CLASS>
<CODE>
#include <QtDeclarative/QDeclarativeEngine>
/*
* QDeclarativeEngine ( QObject * parent = 0 )
* virtual ~QDeclarativeEngine ()
*/
HB_FUNC( QT_QDECLARATIVEENGINE )
{
if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QOBJECT" ) )
{
__HB_RETPTRGC__( new QDeclarativeEngine( hbqt_par_QObject( 1 ) ) );
}
else
{
__HB_RETPTRGC__( new QDeclarativeEngine() );
}
}
</CODE>
<ENUMS>
enum ObjectOwnership { CppOwnership, JavaScriptOwnership }
</ENUMS>
<PROTOS>
void addImageProvider ( const QString & providerId, QDeclarativeImageProvider * provider )
void addImportPath ( const QString & path )
void addPluginPath ( const QString & path )
QUrl baseUrl () const
void clearComponentCache ()
QDeclarativeImageProvider * imageProvider ( const QString & providerId ) const
QStringList importPathList () const
// bool importPlugin ( const QString & filePath, const QString & uri, QString * errorString )
QNetworkAccessManager * networkAccessManager () const
QDeclarativeNetworkAccessManagerFactory * networkAccessManagerFactory () const
QString offlineStoragePath () const
bool outputWarningsToStandardError () const
QStringList pluginPathList () const
void removeImageProvider ( const QString & providerId )
QDeclarativeContext * rootContext () const
void setBaseUrl ( const QUrl & url )
void setImportPathList ( const QStringList & paths )
void setNetworkAccessManagerFactory ( QDeclarativeNetworkAccessManagerFactory * factory )
void setOfflineStoragePath ( const QString & dir )
void setOutputWarningsToStandardError ( bool enabled )
void setPluginPathList ( const QStringList & paths )
QDeclarativeContext * contextForObject ( const QObject * object )
ObjectOwnership objectOwnership ( QObject * object )
void setContextForObject ( QObject * object, QDeclarativeContext * context )
void setObjectOwnership ( QObject * object, ObjectOwnership ownership )
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
void quit ()
void warnings ( const QList<QDeclarativeError> & warnings )
</SIGNALS>
<VARIABLES>
</VARIABLES>