From 870efbdbdd9ebd29f1e9580b7d9005f8a3ef54d7 Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Fri, 6 Jul 2012 08:14:14 +0000 Subject: [PATCH] 2012-07-06 01:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtxml + contrib/hbqt/qtxml/doc + contrib/hbqt/qtxml/doc/en + contrib/hbqt/qtxml/hbqt_init.cpp + contrib/hbqt/qtxml/hbqtxml.ch + contrib/hbqt/qtxml/hbqtxml.hbc + contrib/hbqt/qtxml/hbqtxml.hbm + contrib/hbqt/qtxml/hbqtxml.hbp + contrib/hbqt/qtxml/hbqtxml.hbx + contrib/hbqt/qtxml/hbqtxmls.hbp + contrib/hbqt/qtxml/qth + contrib/hbqt/qtxml/qth/filelist.hbm + contrib/hbqt/qtxml/qth/QDomAttr.qth + contrib/hbqt/qtxml/qth/QDomCDATASection.qth + contrib/hbqt/qtxml/qth/QDomComment.qth + contrib/hbqt/qtxml/qth/QDomDocument.qth + contrib/hbqt/qtxml/qth/QDomDocumentFragment.qth + contrib/hbqt/qtxml/qth/QDomDocumentType.qth + contrib/hbqt/qtxml/qth/QDomElement.qth + contrib/hbqt/qtxml/qth/QDomEntity.qth + contrib/hbqt/qtxml/qth/QDomEntityReference.qth + contrib/hbqt/qtxml/qth/QDomImplementation.qth + contrib/hbqt/qtxml/qth/QDomNamedNodeMap.qth + contrib/hbqt/qtxml/qth/QDomNode.qth + contrib/hbqt/qtxml/qth/QDomNodeList.qth + contrib/hbqt/qtxml/qth/QDomNotation.qth + contrib/hbqt/qtxml/qth/QDomProcessingInstruction.qth + contrib/hbqt/qtxml/qth/QDomText.qth + contrib/hbqt/qtxml/qth/QXmlAttributes.qth + contrib/hbqt/qtxml/qth/QXmlContentHandler.qth + contrib/hbqt/qtxml/qth/QXmlDeclHandler.qth + contrib/hbqt/qtxml/qth/QXmlDefaultHandler.qth + contrib/hbqt/qtxml/qth/QXmlDTDHandler.qth + contrib/hbqt/qtxml/qth/QXmlEntityResolver.qth + contrib/hbqt/qtxml/qth/QXmlErrorHandler.qth + contrib/hbqt/qtxml/qth/QXmlInputSource.qth + contrib/hbqt/qtxml/qth/QXmlLexicalHandler.qth + contrib/hbqt/qtxml/qth/QXmlLocator.qth + contrib/hbqt/qtxml/qth/QXmlNamespaceSupport.qth + contrib/hbqt/qtxml/qth/QXmlParseException.qth + contrib/hbqt/qtxml/qth/QXmlReader.qth + contrib/hbqt/qtxml/qth/QXmlSimpleReader.qth + Added: Qt's QtXml module contained classes. --- harbour/ChangeLog | 46 +++++++ harbour/contrib/hbqt/qtxml/hbqt_init.cpp | 97 ++++++++++++++ harbour/contrib/hbqt/qtxml/hbqtxml.ch | 73 +++++++++++ harbour/contrib/hbqt/qtxml/hbqtxml.hbc | 22 ++++ harbour/contrib/hbqt/qtxml/hbqtxml.hbm | 26 ++++ harbour/contrib/hbqt/qtxml/hbqtxml.hbp | 12 ++ harbour/contrib/hbqt/qtxml/hbqtxml.hbx | 94 ++++++++++++++ harbour/contrib/hbqt/qtxml/hbqtxmls.hbp | 7 + harbour/contrib/hbqt/qtxml/qth/QDomAttr.qth | 60 +++++++++ .../hbqt/qtxml/qth/QDomCDATASection.qth | 55 ++++++++ .../contrib/hbqt/qtxml/qth/QDomComment.qth | 55 ++++++++ .../contrib/hbqt/qtxml/qth/QDomDocument.qth | 87 +++++++++++++ .../hbqt/qtxml/qth/QDomDocumentFragment.qth | 55 ++++++++ .../hbqt/qtxml/qth/QDomDocumentType.qth | 61 +++++++++ .../contrib/hbqt/qtxml/qth/QDomElement.qth | 87 +++++++++++++ harbour/contrib/hbqt/qtxml/qth/QDomEntity.qth | 58 +++++++++ .../hbqt/qtxml/qth/QDomEntityReference.qth | 55 ++++++++ .../hbqt/qtxml/qth/QDomImplementation.qth | 64 ++++++++++ .../hbqt/qtxml/qth/QDomNamedNodeMap.qth | 67 ++++++++++ harbour/contrib/hbqt/qtxml/qth/QDomNode.qth | 120 ++++++++++++++++++ .../contrib/hbqt/qtxml/qth/QDomNodeList.qth | 61 +++++++++ .../contrib/hbqt/qtxml/qth/QDomNotation.qth | 57 +++++++++ .../qtxml/qth/QDomProcessingInstruction.qth | 59 +++++++++ harbour/contrib/hbqt/qtxml/qth/QDomText.qth | 56 ++++++++ .../contrib/hbqt/qtxml/qth/QXmlAttributes.qth | 70 ++++++++++ .../hbqt/qtxml/qth/QXmlContentHandler.qth | 56 ++++++++ .../contrib/hbqt/qtxml/qth/QXmlDTDHandler.qth | 47 +++++++ .../hbqt/qtxml/qth/QXmlDeclHandler.qth | 48 +++++++ .../hbqt/qtxml/qth/QXmlDefaultHandler.qth | 74 +++++++++++ .../hbqt/qtxml/qth/QXmlEntityResolver.qth | 46 +++++++ .../hbqt/qtxml/qth/QXmlErrorHandler.qth | 48 +++++++ .../hbqt/qtxml/qth/QXmlInputSource.qth | 60 +++++++++ .../hbqt/qtxml/qth/QXmlLexicalHandler.qth | 52 ++++++++ .../contrib/hbqt/qtxml/qth/QXmlLocator.qth | 47 +++++++ .../hbqt/qtxml/qth/QXmlNamespaceSupport.qth | 56 ++++++++ .../hbqt/qtxml/qth/QXmlParseException.qth | 59 +++++++++ harbour/contrib/hbqt/qtxml/qth/QXmlReader.qth | 63 +++++++++ .../hbqt/qtxml/qth/QXmlSimpleReader.qth | 69 ++++++++++ harbour/contrib/hbqt/qtxml/qth/filelist.hbm | 38 ++++++ 39 files changed, 2267 insertions(+) create mode 100644 harbour/contrib/hbqt/qtxml/hbqt_init.cpp create mode 100644 harbour/contrib/hbqt/qtxml/hbqtxml.ch create mode 100644 harbour/contrib/hbqt/qtxml/hbqtxml.hbc create mode 100644 harbour/contrib/hbqt/qtxml/hbqtxml.hbm create mode 100644 harbour/contrib/hbqt/qtxml/hbqtxml.hbp create mode 100644 harbour/contrib/hbqt/qtxml/hbqtxml.hbx create mode 100644 harbour/contrib/hbqt/qtxml/hbqtxmls.hbp create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomAttr.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomCDATASection.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomComment.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomDocument.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomDocumentFragment.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomDocumentType.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomElement.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomEntity.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomEntityReference.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomImplementation.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomNamedNodeMap.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomNode.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomNodeList.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomNotation.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomProcessingInstruction.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QDomText.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QXmlAttributes.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QXmlContentHandler.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QXmlDTDHandler.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QXmlDeclHandler.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QXmlDefaultHandler.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QXmlEntityResolver.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QXmlErrorHandler.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QXmlInputSource.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QXmlLexicalHandler.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QXmlLocator.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QXmlNamespaceSupport.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QXmlParseException.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QXmlReader.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/QXmlSimpleReader.qth create mode 100644 harbour/contrib/hbqt/qtxml/qth/filelist.hbm diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 7dd17cc452..098a6ea4a2 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,52 @@ The license applies to all entries newer than 2009-04-28. */ +2012-07-06 01:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + + contrib/hbqt/qtxml + + contrib/hbqt/qtxml/doc + + contrib/hbqt/qtxml/doc/en + + contrib/hbqt/qtxml/hbqt_init.cpp + + contrib/hbqt/qtxml/hbqtxml.ch + + contrib/hbqt/qtxml/hbqtxml.hbc + + contrib/hbqt/qtxml/hbqtxml.hbm + + contrib/hbqt/qtxml/hbqtxml.hbp + + contrib/hbqt/qtxml/hbqtxml.hbx + + contrib/hbqt/qtxml/hbqtxmls.hbp + + contrib/hbqt/qtxml/qth + + contrib/hbqt/qtxml/qth/filelist.hbm + + contrib/hbqt/qtxml/qth/QDomAttr.qth + + contrib/hbqt/qtxml/qth/QDomCDATASection.qth + + contrib/hbqt/qtxml/qth/QDomComment.qth + + contrib/hbqt/qtxml/qth/QDomDocument.qth + + contrib/hbqt/qtxml/qth/QDomDocumentFragment.qth + + contrib/hbqt/qtxml/qth/QDomDocumentType.qth + + contrib/hbqt/qtxml/qth/QDomElement.qth + + contrib/hbqt/qtxml/qth/QDomEntity.qth + + contrib/hbqt/qtxml/qth/QDomEntityReference.qth + + contrib/hbqt/qtxml/qth/QDomImplementation.qth + + contrib/hbqt/qtxml/qth/QDomNamedNodeMap.qth + + contrib/hbqt/qtxml/qth/QDomNode.qth + + contrib/hbqt/qtxml/qth/QDomNodeList.qth + + contrib/hbqt/qtxml/qth/QDomNotation.qth + + contrib/hbqt/qtxml/qth/QDomProcessingInstruction.qth + + contrib/hbqt/qtxml/qth/QDomText.qth + + contrib/hbqt/qtxml/qth/QXmlAttributes.qth + + contrib/hbqt/qtxml/qth/QXmlContentHandler.qth + + contrib/hbqt/qtxml/qth/QXmlDeclHandler.qth + + contrib/hbqt/qtxml/qth/QXmlDefaultHandler.qth + + contrib/hbqt/qtxml/qth/QXmlDTDHandler.qth + + contrib/hbqt/qtxml/qth/QXmlEntityResolver.qth + + contrib/hbqt/qtxml/qth/QXmlErrorHandler.qth + + contrib/hbqt/qtxml/qth/QXmlInputSource.qth + + contrib/hbqt/qtxml/qth/QXmlLexicalHandler.qth + + contrib/hbqt/qtxml/qth/QXmlLocator.qth + + contrib/hbqt/qtxml/qth/QXmlNamespaceSupport.qth + + contrib/hbqt/qtxml/qth/QXmlParseException.qth + + contrib/hbqt/qtxml/qth/QXmlReader.qth + + contrib/hbqt/qtxml/qth/QXmlSimpleReader.qth + + Added: Qt's QtXml module contained classes. + + 2012-07-05 21:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtdeclarative + contrib/hbqt/qtdeclarative/doc diff --git a/harbour/contrib/hbqt/qtxml/hbqt_init.cpp b/harbour/contrib/hbqt/qtxml/hbqt_init.cpp new file mode 100644 index 0000000000..00cf145bc9 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/hbqt_init.cpp @@ -0,0 +1,97 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * QT wrapper main header + * + * Copyright 2009-2012 Pritpal Bedi (pritpal@vouchcac.com) + * Copyright 2010 Viktor Szakats (harbour syenar.net) + * www - http://harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ +/*----------------------------------------------------------------------*/ + +#include "hbqt.h" +#include "hbqtinit.h" + +#include "hbvm.h" +#include "hbinit.h" + +#if QT_VERSION >= 0x040500 + +/*----------------------------------------------------------------------*/ + +static void hbqt_registerCallbacks( void ) +{ +} + +/*----------------------------------------------------------------------*/ + +HB_FUNC( __HBQTXML ) {;} + +static void hbqt_lib_init( void * cargo ) +{ + HB_SYMBOL_UNUSED( cargo ); + + hbqt_registerCallbacks(); +} + +static void hbqt_lib_exit( void * cargo ) +{ + HB_SYMBOL_UNUSED( cargo ); +} + +HB_CALL_ON_STARTUP_BEGIN( _hbqtxml_init_ ) + hb_vmAtInit( hbqt_lib_init, NULL ); + hb_vmAtExit( hbqt_lib_exit, NULL ); +HB_CALL_ON_STARTUP_END( _hbqtxml_init_ ) + +#if defined( HB_PRAGMA_STARTUP ) + #pragma startup _hbqtxml_init_ +#elif defined( HB_DATASEG_STARTUP ) + #define HB_DATASEG_BODY HB_DATASEG_FUNC( _hbqtxml_init_ ) + #include "hbiniseg.h" +#endif + +#endif diff --git a/harbour/contrib/hbqt/qtxml/hbqtxml.ch b/harbour/contrib/hbqt/qtxml/hbqtxml.ch new file mode 100644 index 0000000000..d193000c11 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/hbqtxml.ch @@ -0,0 +1,73 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * + * Copyright 2009-2012 Pritpal Bedi + * http://harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ + +#ifndef _HBQTXML_CH + #define _HBQTXML_CH + +#define QDomNode_EncodingFromDocument 1 // The encoding is fetched from the document. +#define QDomNode_EncodingFromTextStream 2 // The encoding is fetched from the QTextStream. + +#define QDomNode_ElementNode 1 +#define QDomNode_AttributeNode 2 +#define QDomNode_TextNode 3 +#define QDomNode_CDATASectionNode 4 +#define QDomNode_EntityReferenceNode 5 +#define QDomNode_EntityNode 6 +#define QDomNode_ProcessingInstructionNode 7 +#define QDomNode_CommentNode 8 +#define QDomNode_DocumentNode 9 +#define QDomNode_DocumentTypeNode 10 +#define QDomNode_DocumentFragmentNode 11 +#define QDomNode_NotationNode 12 +#define QDomNode_BaseNode 21 // A QDomNode object, i.e. not a QDomNode subclass. +#define QDomNode_CharacterDataNode 22 + +#endif diff --git a/harbour/contrib/hbqt/qtxml/hbqtxml.hbc b/harbour/contrib/hbqt/qtxml/hbqtxml.hbc new file mode 100644 index 0000000000..3c16fef840 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/hbqtxml.hbc @@ -0,0 +1,22 @@ +# +# $Id$ +# + +# --------------------------------------------------------------- +# Copyright 2010 Viktor Szakats (harbour syenar.net) +# See COPYING for licensing terms. +# --------------------------------------------------------------- + +incpaths=. + +libs=../qtcore/hbqtcore.hbc +libs=../qtgui/hbqtgui.hbc +libs=../qtnetwork/hbqtnetwork.hbc + +{!HB_STATIC_QT}libs=${_HB_DYNPREF}${hb_name}${_HB_DYNSUFF} +{!HB_STATIC_QT&(allwin|os2)}libs=QtXml4 +{!HB_STATIC_QT&(linux|beos|symbian)}libs=QtXml +{!HB_STATIC_QT&darwin}frameworks=QtXml +{HB_STATIC_QT&allwin}libs=${_HB_DYNPREF}${hb_name}s${_HB_DYNSUFF} +{HB_STATIC_QT&linux|beos}libs=${_HB_DYNPREF}${hb_name}${_HB_DYNSUFF} +{HB_STATIC_QT&(allwin|linux|beos)}libs=QtXml diff --git a/harbour/contrib/hbqt/qtxml/hbqtxml.hbm b/harbour/contrib/hbqt/qtxml/hbqtxml.hbm new file mode 100644 index 0000000000..bc187aed71 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/hbqtxml.hbm @@ -0,0 +1,26 @@ +# +# $Id$ +# + +-i. + +qth/filelist.hbm + +hbqtxml.hbx + +hbqt_init.cpp + +../qtcore/hbqtcore.hbc +../qtgui/hbqtgui.hbc +../qtnetwork/hbqtnetwork.hbc + +-deppkgname=qtxml:QtXml +-depkeyhead=qtxml:QtXml/QtXml +-depcontrol=qtxml:${HB_WITH_QT} +{!darwin}-depincpath=qtxml:/usr/include/qt4 +{!darwin}-depincpath=qtxml:/usr/lib/qt4/include +{!darwin}-depincpath=qtxml:/usr/include +{bsd}-depincpath=qt:/usr/local/include/qt4 +{darwin}-depincpath=qtxml:/Developer/qt/include +{darwin}-depincpath=qtxml:/Library/Frameworks +{darwin}-depincpath=qtxml:/usr/local/include diff --git a/harbour/contrib/hbqt/qtxml/hbqtxml.hbp b/harbour/contrib/hbqt/qtxml/hbqtxml.hbp new file mode 100644 index 0000000000..6308da0499 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/hbqtxml.hbp @@ -0,0 +1,12 @@ +# +# $Id$ +# + +../hbqt_common.hbm + +hbqtxml.hbm + +-instfile=inc:hbqtxml.ch +-instfile=inc:hbqtxml.hbx + +hbqtxmls.hbp diff --git a/harbour/contrib/hbqt/qtxml/hbqtxml.hbx b/harbour/contrib/hbqt/qtxml/hbqtxml.hbx new file mode 100644 index 0000000000..955a3104c0 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/hbqtxml.hbx @@ -0,0 +1,94 @@ +/* + * $Id$ + */ + +/* -------------------------------------------------------------------- */ +/* NOTE: You can add manual override which functions to include or */ +/* exclude from automatically generated EXTERNAL/DYNAMIC list. */ +/* Syntax: // HB_FUNC_INCLUDE */ +/* // HB_FUNC_EXCLUDE */ +/* -------------------------------------------------------------------- */ + +/* -------------------------------------------------------------------- */ +/* WARNING: Automatically generated code below. DO NOT EDIT! */ +/* Regenerate using hbmk2 '-hbx=' option. */ +/* -------------------------------------------------------------------- */ + +#ifndef __HBEXTERN_CH__HBQTXML__ +#define __HBEXTERN_CH__HBQTXML__ + +#if defined( __HBEXTREQ__ ) .OR. defined( __HBEXTERN__HBQTXML__ANNOUNCE ) + ANNOUNCE __HBEXTERN__HBQTXML__ +#endif + +#if defined( __HBEXTREQ__ ) .OR. defined( __HBEXTERN__HBQTXML__REQUEST ) + #command DYNAMIC => EXTERNAL +#endif + +DYNAMIC HB_QDOMATTR +DYNAMIC HB_QDOMCDATASECTION +DYNAMIC HB_QDOMCOMMENT +DYNAMIC HB_QDOMDOCUMENT +DYNAMIC HB_QDOMDOCUMENTFRAGMENT +DYNAMIC HB_QDOMDOCUMENTTYPE +DYNAMIC HB_QDOMELEMENT +DYNAMIC HB_QDOMENTITY +DYNAMIC HB_QDOMENTITYREFERENCE +DYNAMIC HB_QDOMIMPLEMENTATION +DYNAMIC HB_QDOMNAMEDNODEMAP +DYNAMIC HB_QDOMNODE +DYNAMIC HB_QDOMNODELIST +DYNAMIC HB_QDOMNOTATION +DYNAMIC HB_QDOMPROCESSINGINSTRUCTION +DYNAMIC HB_QDOMTEXT +DYNAMIC HB_QXMLATTRIBUTES +DYNAMIC HB_QXMLCONTENTHANDLER +DYNAMIC HB_QXMLDECLHANDLER +DYNAMIC HB_QXMLDEFAULTHANDLER +DYNAMIC HB_QXMLDTDHANDLER +DYNAMIC HB_QXMLENTITYRESOLVER +DYNAMIC HB_QXMLERRORHANDLER +DYNAMIC HB_QXMLINPUTSOURCE +DYNAMIC HB_QXMLLEXICALHANDLER +DYNAMIC HB_QXMLLOCATOR +DYNAMIC HB_QXMLNAMESPACESUPPORT +DYNAMIC HB_QXMLPARSEEXCEPTION +DYNAMIC HB_QXMLREADER +DYNAMIC HB_QXMLSIMPLEREADER +DYNAMIC QDOMATTR +DYNAMIC QDOMCDATASECTION +DYNAMIC QDOMCOMMENT +DYNAMIC QDOMDOCUMENT +DYNAMIC QDOMDOCUMENTFRAGMENT +DYNAMIC QDOMDOCUMENTTYPE +DYNAMIC QDOMELEMENT +DYNAMIC QDOMENTITY +DYNAMIC QDOMENTITYREFERENCE +DYNAMIC QDOMIMPLEMENTATION +DYNAMIC QDOMNAMEDNODEMAP +DYNAMIC QDOMNODE +DYNAMIC QDOMNODELIST +DYNAMIC QDOMNOTATION +DYNAMIC QDOMPROCESSINGINSTRUCTION +DYNAMIC QDOMTEXT +DYNAMIC QXMLATTRIBUTES +DYNAMIC QXMLCONTENTHANDLER +DYNAMIC QXMLDECLHANDLER +DYNAMIC QXMLDEFAULTHANDLER +DYNAMIC QXMLDTDHANDLER +DYNAMIC QXMLENTITYRESOLVER +DYNAMIC QXMLERRORHANDLER +DYNAMIC QXMLINPUTSOURCE +DYNAMIC QXMLLEXICALHANDLER +DYNAMIC QXMLLOCATOR +DYNAMIC QXMLNAMESPACESUPPORT +DYNAMIC QXMLPARSEEXCEPTION +DYNAMIC QXMLREADER +DYNAMIC QXMLSIMPLEREADER +DYNAMIC __HBQTXML + +#if defined( __HBEXTREQ__ ) .OR. defined( __HBEXTERN__HBQTXML__REQUEST ) + #uncommand DYNAMIC => EXTERNAL +#endif + +#endif diff --git a/harbour/contrib/hbqt/qtxml/hbqtxmls.hbp b/harbour/contrib/hbqt/qtxml/hbqtxmls.hbp new file mode 100644 index 0000000000..94ef4f6138 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/hbqtxmls.hbp @@ -0,0 +1,7 @@ +# +# $Id$ +# + +../hbqt_commons.hbm + +hbqtxml.hbm diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomAttr.qth b/harbour/contrib/hbqt/qtxml/qth/QDomAttr.qth new file mode 100644 index 0000000000..c61baa49a6 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomAttr.qth @@ -0,0 +1,60 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = QDomNode +QObject = no +Version = + + + + + +#include + + +/* + * QDomAttr () + * QDomAttr ( const QDomAttr & x ) + */ +HB_FUNC( QT_QDOMATTR ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMATTR" ) ) + { + __HB_RETPTRGC__( new QDomAttr( *hbqt_par_QDomAttr( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomAttr() ); + } +} + + + + + + +QString name () const +QDomNode::NodeType nodeType () const +QDomElement ownerElement () const +void setValue ( const QString & v ) +bool specified () const +QString value () const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomCDATASection.qth b/harbour/contrib/hbqt/qtxml/qth/QDomCDATASection.qth new file mode 100644 index 0000000000..3e5890f8b7 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomCDATASection.qth @@ -0,0 +1,55 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = QDomText +QObject = no +Version = + + + + + +#include + + +/* + * QDomCDATASection () + * QDomCDATASection ( const QDomCDATASection & x ) + */ +HB_FUNC( QT_QDOMCDATASECTION ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMCDATASECTION" ) ) + { + __HB_RETPTRGC__( new QDomCDATASection( *hbqt_par_QDomCDATASection( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomCDATASection() ); + } +} + + + + + + +QDomNode::NodeType nodeType () const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomComment.qth b/harbour/contrib/hbqt/qtxml/qth/QDomComment.qth new file mode 100644 index 0000000000..f47c9d029f --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomComment.qth @@ -0,0 +1,55 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = QDomCharacterData +QObject = no +Version = + + + + + +#include + + +/* + * QDomComment () + * QDomComment ( const QDomComment & x ) + */ +HB_FUNC( QT_QDOMCOMMENT ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMCOMMENT" ) ) + { + __HB_RETPTRGC__( new QDomComment( *hbqt_par_QDomComment( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomComment() ); + } +} + + + + + + +QDomNode::NodeType nodeType () const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomDocument.qth b/harbour/contrib/hbqt/qtxml/qth/QDomDocument.qth new file mode 100644 index 0000000000..877bb35b1e --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomDocument.qth @@ -0,0 +1,87 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = QDomNode +QObject = no +Version = + + + + + +#include + + +/* + * QDomDocument () + * QDomDocument ( const QString & name ) + * QDomDocument ( const QDomDocumentType & doctype ) + * QDomDocument ( const QDomDocument & x ) + * ~QDomDocument () + */ +HB_FUNC( QT_QDOMDOCUMENT ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMDOCUMENT" ) ) + { + __HB_RETPTRGC__( new QDomDocument( *hbqt_par_QDomDocument( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomDocument() ); + } +} + + + + + + +QDomAttr createAttribute ( const QString & name ) +QDomAttr createAttributeNS ( const QString & nsURI, const QString & qName ) +QDomCDATASection createCDATASection ( const QString & value ) +QDomComment createComment ( const QString & value ) +QDomDocumentFragment createDocumentFragment () +QDomElement createElement ( const QString & tagName ) +QDomElement createElementNS ( const QString & nsURI, const QString & qName ) +QDomEntityReference createEntityReference ( const QString & name ) +QDomProcessingInstruction createProcessingInstruction ( const QString & target, const QString & data ) +QDomText createTextNode ( const QString & value ) +QDomDocumentType doctype () const +QDomElement documentElement () const +QDomElement elementById ( const QString & elementId ) +QDomNodeList elementsByTagName ( const QString & tagname ) const +QDomNodeList elementsByTagNameNS ( const QString & nsURI, const QString & localName ) +QDomImplementation implementation () const +QDomNode importNode ( const QDomNode & importedNode, bool deep ) +QDomNode::NodeType nodeType () const + +bool setContent ( const QByteArray & data, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +bool setContent ( const QString & text, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +bool setContent ( QIODevice * dev, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +bool setContent ( QXmlInputSource * source, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +bool setContent ( const QString & text, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +bool setContent ( const QByteArray & buffer, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +bool setContent ( QIODevice * dev, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +bool setContent ( QXmlInputSource * source, QXmlReader * reader, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) + +QByteArray toByteArray ( int indent = 1 ) const +QString toString ( int indent = 1 ) const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomDocumentFragment.qth b/harbour/contrib/hbqt/qtxml/qth/QDomDocumentFragment.qth new file mode 100644 index 0000000000..c02e0d068e --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomDocumentFragment.qth @@ -0,0 +1,55 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = QDomNode +QObject = no +Version = + + + + + +#include + + +/* + * QDomDocumentFragment () + * QDomDocumentFragment ( const QDomDocumentFragment & x ) + */ +HB_FUNC( QT_QDOMDOCUMENTFRAGMENT ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMDOCUMENTFRAGMENT" ) ) + { + __HB_RETPTRGC__( new QDomDocumentFragment( *hbqt_par_QDomDocumentFragment( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomDocumentFragment() ); + } +} + + + + + + +QDomNode::NodeType nodeType () const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomDocumentType.qth b/harbour/contrib/hbqt/qtxml/qth/QDomDocumentType.qth new file mode 100644 index 0000000000..405ac2225d --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomDocumentType.qth @@ -0,0 +1,61 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = QDomNode +QObject = no +Version = + + + + + +#include + + +/* + * QDomDocumentType () + * QDomDocumentType ( const QDomDocumentType & n ) + */ +HB_FUNC( QT_QDOMDOCUMENTTYPE ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMDOCUMENTTYPE" ) ) + { + __HB_RETPTRGC__( new QDomDocumentType( *hbqt_par_QDomDocumentType( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomDocumentType() ); + } +} + + + + + + +QDomNamedNodeMap entities () const +QString internalSubset () const +QString name () const +QDomNode::NodeType nodeType () const +QDomNamedNodeMap notations () const +QString publicId () const +QString systemId () const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomElement.qth b/harbour/contrib/hbqt/qtxml/qth/QDomElement.qth new file mode 100644 index 0000000000..103076d23b --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomElement.qth @@ -0,0 +1,87 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = QDomNode +QObject = no +Version = + + + + + +#include + + +/* + * QDomElement () + * QDomElement ( const QDomElement & x ) + */ +HB_FUNC( QT_QDOMELEMENT ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMELEMENT" ) ) + { + __HB_RETPTRGC__( new QDomElement( *hbqt_par_QDomElement( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomElement() ); + } +} + + + + + + +QString attribute ( const QString & name, const QString & defValue = QString() ) const +QString attributeNS ( const QString nsURI, const QString & localName, const QString & defValue = QString() ) const +QDomAttr attributeNode ( const QString & name ) +QDomAttr attributeNodeNS ( const QString & nsURI, const QString & localName ) +QDomNamedNodeMap attributes () const +QDomNodeList elementsByTagName ( const QString & tagname ) const +QDomNodeList elementsByTagNameNS ( const QString & nsURI, const QString & localName ) const +bool hasAttribute ( const QString & name ) const +bool hasAttributeNS ( const QString & nsURI, const QString & localName ) const +QDomNode::NodeType nodeType () const +void removeAttribute ( const QString & name ) +void removeAttributeNS ( const QString & nsURI, const QString & localName ) +QDomAttr removeAttributeNode ( const QDomAttr & oldAttr ) + +void setAttribute ( const QString & name, const QString & value ) +void setAttribute ( const QString & name, int value ) +//void setAttribute ( const QString & name, uint value ) +//void setAttribute ( const QString & name, qlonglong value ) +//void setAttribute ( const QString & name, qulonglong value ) +//void setAttribute ( const QString & name, float value ) +//void setAttribute ( const QString & name, double value ) +void setAttributeNS ( const QString nsURI, const QString & qName, const QString & value ) +void setAttributeNS ( const QString nsURI, const QString & qName, int value ) +//void setAttributeNS ( const QString nsURI, const QString & qName, uint value ) +//void setAttributeNS ( const QString nsURI, const QString & qName, qlonglong value ) +//void setAttributeNS ( const QString nsURI, const QString & qName, qulonglong value ) +//void setAttributeNS ( const QString nsURI, const QString & qName, double value ) + +QDomAttr setAttributeNode ( const QDomAttr & newAttr ) +QDomAttr setAttributeNodeNS ( const QDomAttr & newAttr ) +void setTagName ( const QString & name ) +QString tagName () const +QString text () const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomEntity.qth b/harbour/contrib/hbqt/qtxml/qth/QDomEntity.qth new file mode 100644 index 0000000000..61cf1f438c --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomEntity.qth @@ -0,0 +1,58 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = QDomNode +QObject = no +Version = + + + + + +#include + + +/* + * QDomEntity () + * QDomEntity ( const QDomEntity & x ) + */ +HB_FUNC( QT_QDOMENTITY ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMENTITY" ) ) + { + __HB_RETPTRGC__( new QDomEntity( *hbqt_par_QDomEntity( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomEntity() ); + } +} + + + + + + +QDomNode::NodeType nodeType () const +QString notationName () const +QString publicId () const +QString systemId () const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomEntityReference.qth b/harbour/contrib/hbqt/qtxml/qth/QDomEntityReference.qth new file mode 100644 index 0000000000..4ea085e698 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomEntityReference.qth @@ -0,0 +1,55 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = QDomNode +QObject = no +Version = + + + + + +#include + + +/* + * QDomEntityReference () + * QDomEntityReference ( const QDomEntityReference & x ) + */ +HB_FUNC( QT_QDOMENTITYREFERENCE ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMENTITYREFERENCE" ) ) + { + __HB_RETPTRGC__( new QDomEntityReference( *hbqt_par_QDomEntityReference( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomEntityReference() ); + } +} + + + + + + +QDomNode::NodeType nodeType () const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomImplementation.qth b/harbour/contrib/hbqt/qtxml/qth/QDomImplementation.qth new file mode 100644 index 0000000000..d5179ca440 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomImplementation.qth @@ -0,0 +1,64 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no +Version = + + + + + +#include + + +/* + * QDomImplementation () + * QDomImplementation ( const QDomImplementation & x ) + * ~QDomImplementation () + */ +HB_FUNC( QT_QDOMIMPLEMENTATION ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMIMPLEMENTATION" ) ) + { + __HB_RETPTRGC__( new QDomImplementation( *hbqt_par_QDomImplementation( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomImplementation() ); + } +} + + + +enum InvalidDataPolicy { AcceptInvalidChars, DropInvalidChars, ReturnNullNode } + + + +QDomDocument createDocument ( const QString & nsURI, const QString & qName, const QDomDocumentType & doctype ) +QDomDocumentType createDocumentType ( const QString & qName, const QString & publicId, const QString & systemId ) +bool hasFeature ( const QString & feature, const QString & version ) const +bool isNull () + +InvalidDataPolicy invalidDataPolicy () +void setInvalidDataPolicy ( InvalidDataPolicy policy ) + + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomNamedNodeMap.qth b/harbour/contrib/hbqt/qtxml/qth/QDomNamedNodeMap.qth new file mode 100644 index 0000000000..dbf02691bb --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomNamedNodeMap.qth @@ -0,0 +1,67 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no +Version = + + + + + +#include + + +/* + * QDomNamedNodeMap () + * QDomNamedNodeMap ( const QDomNamedNodeMap & n ) + * ~QDomNamedNodeMap () + */ +HB_FUNC( QT_QDOMNAMEDNODEMAP ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMNAMEDNODEMAP" ) ) + { + __HB_RETPTRGC__( new QDomNamedNodeMap( *hbqt_par_QDomNamedNodeMap( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomNamedNodeMap() ); + } +} + + + + + + +bool contains ( const QString & name ) const +int count () const +bool isEmpty () const +QDomNode item ( int index ) const +uint length () const +QDomNode namedItem ( const QString & name ) const +QDomNode namedItemNS ( const QString & nsURI, const QString & localName ) const +QDomNode removeNamedItem ( const QString & name ) +QDomNode removeNamedItemNS ( const QString & nsURI, const QString & localName ) +QDomNode setNamedItem ( const QDomNode & newNode ) +QDomNode setNamedItemNS ( const QDomNode & newNode ) +int size () const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomNode.qth b/harbour/contrib/hbqt/qtxml/qth/QDomNode.qth new file mode 100644 index 0000000000..25a03dbbd6 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomNode.qth @@ -0,0 +1,120 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no +Version = + + + + + +#include + + +/* + * QDomNode () + * QDomNode ( const QDomNode & n ) + * ~QDomNode () + */ +HB_FUNC( QT_QDOMNODE ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMNODE" ) ) + { + __HB_RETPTRGC__( new QDomNode( *hbqt_par_QDomNode( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomNode() ); + } +} + + + +enum EncodingPolicy { EncodingFromDocument, EncodingFromTextStream } +enum NodeType { ElementNode, AttributeNode, TextNode, CDATASectionNode, ..., CharacterDataNode } + + + +QDomNode appendChild ( const QDomNode & newChild ) +QDomNamedNodeMap attributes () const +QDomNodeList childNodes () const +void clear () +QDomNode cloneNode ( bool deep = true ) const +int columnNumber () const +QDomNode firstChild () const +QDomElement firstChildElement ( const QString & tagName = QString() ) const +bool hasAttributes () const +bool hasChildNodes () const +QDomNode insertAfter ( const QDomNode & newChild, const QDomNode & refChild ) +QDomNode insertBefore ( const QDomNode & newChild, const QDomNode & refChild ) +bool isAttr () const +bool isCDATASection () const +bool isCharacterData () const +bool isComment () const +bool isDocument () const +bool isDocumentFragment () const +bool isDocumentType () const +bool isElement () const +bool isEntity () const +bool isEntityReference () const +bool isNotation () const +bool isNull () const +bool isProcessingInstruction () const +bool isSupported ( const QString & feature, const QString & version ) const +bool isText () const +QDomNode lastChild () const +QDomElement lastChildElement ( const QString & tagName = QString() ) const +int lineNumber () const +QString localName () const +QDomNode namedItem ( const QString & name ) const +QString namespaceURI () const +QDomNode nextSibling () const +QDomElement nextSiblingElement ( const QString & tagName = QString() ) const +QString nodeName () const +NodeType nodeType () const +QString nodeValue () const +void normalize () +QDomDocument ownerDocument () const +QDomNode parentNode () const +QString prefix () const +QDomNode previousSibling () const +QDomElement previousSiblingElement ( const QString & tagName = QString() ) const +QDomNode removeChild ( const QDomNode & oldChild ) +QDomNode replaceChild ( const QDomNode & newChild, const QDomNode & oldChild ) +void save ( QTextStream & str, int indent ) const +void save ( QTextStream & str, int indent, EncodingPolicy encodingPolicy ) const +void setNodeValue ( const QString & v ) +void setPrefix ( const QString & pre ) +QDomAttr toAttr () const +QDomCDATASection toCDATASection () const +QDomCharacterData toCharacterData () const +QDomComment toComment () const +QDomDocument toDocument () const +QDomDocumentFragment toDocumentFragment () const +QDomDocumentType toDocumentType () const +QDomElement toElement () const +QDomEntity toEntity () const +QDomEntityReference toEntityReference () const +QDomNotation toNotation () const +QDomProcessingInstruction toProcessingInstruction () const +QDomText toText () const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomNodeList.qth b/harbour/contrib/hbqt/qtxml/qth/QDomNodeList.qth new file mode 100644 index 0000000000..cac15ad2d9 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomNodeList.qth @@ -0,0 +1,61 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no +Version = + + + + + +#include + + +/* + * QDomNodeList () + * QDomNodeList ( const QDomNodeList & n ) + * ~QDomNodeList () + */ +HB_FUNC( QT_QDOMNODELIST ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMNODELIST" ) ) + { + __HB_RETPTRGC__( new QDomNodeList( *hbqt_par_QDomNodeList( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomNodeList() ); + } +} + + + + + + +QDomNode at ( int index ) const +int count () const +bool isEmpty () const +QDomNode item ( int index ) const +uint length () const +int size () const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomNotation.qth b/harbour/contrib/hbqt/qtxml/qth/QDomNotation.qth new file mode 100644 index 0000000000..0bdc26f026 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomNotation.qth @@ -0,0 +1,57 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = QDomNode +QObject = no +Version = + + + + + +#include + + +/* + * QDomNotation () + * QDomNotation ( const QDomNotation & x ) + */ +HB_FUNC( QT_QDOMNOTATION ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMNOTATION" ) ) + { + __HB_RETPTRGC__( new QDomNotation( *hbqt_par_QDomNotation( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomNotation() ); + } +} + + + + + + +QDomNode::NodeType nodeType () const +QString publicId () const +QString systemId () const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomProcessingInstruction.qth b/harbour/contrib/hbqt/qtxml/qth/QDomProcessingInstruction.qth new file mode 100644 index 0000000000..f26518a5bf --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomProcessingInstruction.qth @@ -0,0 +1,59 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +Inherit = QDomNode +QObject = no +Version = + + + + + +#include + + +/* + * QDomProcessingInstruction () + * QDomProcessingInstruction ( const QDomProcessingInstruction & x ) + */ +HB_FUNC( QT_QDOMPROCESSINGINSTRUCTION ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMPROCESSINGINSTRUCTION" ) ) + { + __HB_RETPTRGC__( new QDomProcessingInstruction( *hbqt_par_QDomProcessingInstruction( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomProcessingInstruction() ); + } +} + + + + + + +QString data () const +QDomNode::NodeType nodeType () const +void setData ( const QString & d ) +QString target () const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QDomText.qth b/harbour/contrib/hbqt/qtxml/qth/QDomText.qth new file mode 100644 index 0000000000..54a1d604cf --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QDomText.qth @@ -0,0 +1,56 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = QDomCharacterData +QObject = no +Version = + + + + + +#include + + +/* + * QDomText () + * QDomText ( const QDomText & x ) + */ +HB_FUNC( QT_QDOMTEXT ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QDOMTEXT" ) ) + { + __HB_RETPTRGC__( new QDomText( *hbqt_par_QDomText( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QDomText() ); + } +} + + + + + + +QDomNode::NodeType nodeType () const +QDomText splitText ( int offset ) + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QXmlAttributes.qth b/harbour/contrib/hbqt/qtxml/qth/QXmlAttributes.qth new file mode 100644 index 0000000000..eb1abc16d1 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QXmlAttributes.qth @@ -0,0 +1,70 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no + + + + + +#include + + +/* + * QXmlAttributes () + * virtual ~QXmlAttributes () + */ +HB_FUNC( QT_QXMLATTRIBUTES ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QXMLATTRIBUTES" ) ) + { + __HB_RETPTRGC__( new QXmlAttributes( *hbqt_par_QXmlAttributes( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QXmlAttributes() ); + } +} + + + + + + +void append ( const QString & qName, const QString & uri, const QString & localPart, const QString & value ) +void clear () +int count () const +int index ( const QString & qName ) const +int index ( const QLatin1String & qName ) const +int index ( const QString & uri, const QString & localPart ) const +int length () const +QString localName ( int index ) const +QString qName ( int index ) const +QString type ( int index ) const +QString type ( const QString & qName ) const +QString type ( const QString & uri, const QString & localName ) const +QString uri ( int index ) const +QString value ( int index ) const +QString value ( const QString & qName ) const +QString value ( const QLatin1String & qName ) const +QString value ( const QString & uri, const QString & localName ) const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QXmlContentHandler.qth b/harbour/contrib/hbqt/qtxml/qth/QXmlContentHandler.qth new file mode 100644 index 0000000000..99135bcb90 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QXmlContentHandler.qth @@ -0,0 +1,56 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no + + + + + +#include + + +/* + * virtual ~QXmlContentHandler () + */ +HB_FUNC( QT_QXMLCONTENTHANDLER ) +{ +} + + + + + + +virtual bool characters ( const QString & ch ) = 0 +virtual bool endDocument () = 0 +virtual bool endElement ( const QString & namespaceURI, const QString & localName, const QString & qName ) = 0 +virtual bool endPrefixMapping ( const QString & prefix ) = 0 +virtual QString errorString () const = 0 +virtual bool ignorableWhitespace ( const QString & ch ) = 0 +virtual bool processingInstruction ( const QString & target, const QString & data ) = 0 +virtual void setDocumentLocator ( QXmlLocator * locator ) = 0 +virtual bool skippedEntity ( const QString & name ) = 0 +virtual bool startDocument () = 0 +virtual bool startElement ( const QString & namespaceURI, const QString & localName, const QString & qName, const QXmlAttributes & atts ) = 0 +virtual bool startPrefixMapping ( const QString & prefix, const QString & uri ) = 0 + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QXmlDTDHandler.qth b/harbour/contrib/hbqt/qtxml/qth/QXmlDTDHandler.qth new file mode 100644 index 0000000000..ddcb951503 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QXmlDTDHandler.qth @@ -0,0 +1,47 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no + + + + + +#include + + +/* + * virtual ~QXmlDTDHandler () + */ +HB_FUNC( QT_QXMLDTDHANDLER ) +{ +} + + + + + + +virtual QString errorString () const = 0 +virtual bool notationDecl ( const QString & name, const QString & publicId, const QString & systemId ) = 0 +virtual bool unparsedEntityDecl ( const QString & name, const QString & publicId, const QString & systemId, const QString & notationName ) = 0 + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QXmlDeclHandler.qth b/harbour/contrib/hbqt/qtxml/qth/QXmlDeclHandler.qth new file mode 100644 index 0000000000..467fb4c651 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QXmlDeclHandler.qth @@ -0,0 +1,48 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no + + + + + +#include + + +/* + * virtual ~QXmlDeclHandler () + */ +HB_FUNC( QT_QXMLDECLHANDLER ) +{ +} + + + + + + +virtual bool attributeDecl ( const QString & eName, const QString & aName, const QString & type, const QString & valueDefault, const QString & value ) = 0 +virtual QString errorString () const = 0 +virtual bool externalEntityDecl ( const QString & name, const QString & publicId, const QString & systemId ) = 0 +virtual bool internalEntityDecl ( const QString & name, const QString & value ) = 0 + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QXmlDefaultHandler.qth b/harbour/contrib/hbqt/qtxml/qth/QXmlDefaultHandler.qth new file mode 100644 index 0000000000..44b3e8ef9c --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QXmlDefaultHandler.qth @@ -0,0 +1,74 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = QXmlContentHandler, QXmlErrorHandler, QXmlDTDHandler, QXmlEntityResolver, QXmlLexicalHandler, QXmlDeclHandler +QObject = no + + + + + +#include + + +/* + * QXmlDefaultHandler () + * virtual ~QXmlDefaultHandler () + */ +HB_FUNC( QT_QXMLDEFAULTHANDLER ) +{ + __HB_RETPTRGC__( new QXmlDefaultHandler() ); +} + + + + + + +virtual bool attributeDecl ( const QString & eName, const QString & aName, const QString & type, const QString & valueDefault, const QString & value ) +virtual bool characters ( const QString & ch ) +virtual bool comment ( const QString & ch ) +virtual bool endCDATA () +virtual bool endDTD () +virtual bool endDocument () +virtual bool endElement ( const QString & namespaceURI, const QString & localName, const QString & qName ) +virtual bool endEntity ( const QString & name ) +virtual bool endPrefixMapping ( const QString & prefix ) +virtual bool error ( const QXmlParseException & exception ) +virtual QString errorString () const +virtual bool externalEntityDecl ( const QString & name, const QString & publicId, const QString & systemId ) +virtual bool fatalError ( const QXmlParseException & exception ) +virtual bool ignorableWhitespace ( const QString & ch ) +virtual bool internalEntityDecl ( const QString & name, const QString & value ) +virtual bool notationDecl ( const QString & name, const QString & publicId, const QString & systemId ) +virtual bool processingInstruction ( const QString & target, const QString & data ) +//virtual bool resolveEntity ( const QString & publicId, const QString & systemId, QXmlInputSource *& ret ) +virtual void setDocumentLocator ( QXmlLocator * locator ) +virtual bool skippedEntity ( const QString & name ) +virtual bool startCDATA () +virtual bool startDTD ( const QString & name, const QString & publicId, const QString & systemId ) +virtual bool startDocument () +virtual bool startElement ( const QString & namespaceURI, const QString & localName, const QString & qName, const QXmlAttributes & atts ) +virtual bool startEntity ( const QString & name ) +virtual bool startPrefixMapping ( const QString & prefix, const QString & uri ) +virtual bool unparsedEntityDecl ( const QString & name, const QString & publicId, const QString & systemId, const QString & notationName ) +virtual bool warning ( const QXmlParseException & exception ) + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QXmlEntityResolver.qth b/harbour/contrib/hbqt/qtxml/qth/QXmlEntityResolver.qth new file mode 100644 index 0000000000..33b4028e48 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QXmlEntityResolver.qth @@ -0,0 +1,46 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no + + + + + +#include + + +/* + * virtual ~QXmlEntityResolver () + */ +HB_FUNC( QT_QXMLENTITYRESOLVER ) +{ +} + + + + + + +virtual QString errorString () const = 0 +//virtual bool resolveEntity ( const QString & publicId, const QString & systemId, QXmlInputSource *& ret ) = 0 + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QXmlErrorHandler.qth b/harbour/contrib/hbqt/qtxml/qth/QXmlErrorHandler.qth new file mode 100644 index 0000000000..db806c5263 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QXmlErrorHandler.qth @@ -0,0 +1,48 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no + + + + + +#include + + +/* + * virtual ~QXmlErrorHandler () + */ +HB_FUNC( QT_QXMLERRORHANDLER ) +{ +} + + + + + + +virtual bool error ( const QXmlParseException & exception ) = 0 +virtual QString errorString () const = 0 +virtual bool fatalError ( const QXmlParseException & exception ) = 0 +virtual bool warning ( const QXmlParseException & exception ) = 0 + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QXmlInputSource.qth b/harbour/contrib/hbqt/qtxml/qth/QXmlInputSource.qth new file mode 100644 index 0000000000..bb9791e772 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QXmlInputSource.qth @@ -0,0 +1,60 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no + + + + + +#include + + +/* + * QXmlInputSource () + * QXmlInputSource ( QIODevice * dev ) + * virtual ~QXmlInputSource () + */ +HB_FUNC( QT_QXMLINPUTSOURCE ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QIODEVICE" ) ) + { + __HB_RETPTRGC__( new QXmlInputSource( hbqt_par_QIODevice( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QXmlInputSource() ); + } +} + + + + + + +virtual QString data () const +virtual void fetchData () +virtual QChar next () +virtual void reset () +virtual void setData ( const QString & dat ) +virtual void setData ( const QByteArray & dat ) + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QXmlLexicalHandler.qth b/harbour/contrib/hbqt/qtxml/qth/QXmlLexicalHandler.qth new file mode 100644 index 0000000000..05e0a4cefc --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QXmlLexicalHandler.qth @@ -0,0 +1,52 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no + + + + + +#include + + +/* + * virtual ~QXmlLexicalHandler () + */ +HB_FUNC( QT_QXMLLEXICALHANDLER ) +{ +} + + + + + + +virtual bool comment ( const QString & ch ) = 0 +virtual bool endCDATA () = 0 +virtual bool endDTD () = 0 +virtual bool endEntity ( const QString & name ) = 0 +virtual QString errorString () const = 0 +virtual bool startCDATA () = 0 +virtual bool startDTD ( const QString & name, const QString & publicId, const QString & systemId ) = 0 +virtual bool startEntity ( const QString & name ) = 0 + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QXmlLocator.qth b/harbour/contrib/hbqt/qtxml/qth/QXmlLocator.qth new file mode 100644 index 0000000000..16fac30200 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QXmlLocator.qth @@ -0,0 +1,47 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no + + + + + +#include + + +/* + * QXmlLocator () + * virtual ~QXmlLocator () + */ +HB_FUNC( QT_QXMLLOCATOR ) +{ +} + + + + + + +virtual int columnNumber () const = 0 +virtual int lineNumber () const = 0 + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QXmlNamespaceSupport.qth b/harbour/contrib/hbqt/qtxml/qth/QXmlNamespaceSupport.qth new file mode 100644 index 0000000000..1d29165220 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QXmlNamespaceSupport.qth @@ -0,0 +1,56 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no + + + + + +#include + + +/* + * QXmlNamespaceSupport () + * ~QXmlNamespaceSupport () + */ +HB_FUNC( QT_QXMLNAMESPACESUPPORT ) +{ + __HB_RETPTRGC__( new QXmlNamespaceSupport() ); +} + + + + + + +void popContext () +QString prefix ( const QString & uri ) const +QStringList prefixes () const +QStringList prefixes ( const QString & uri ) const +// void processName ( const QString & qname, bool isAttribute, QString & nsuri, QString & localname ) const +void pushContext () +void reset () +void setPrefix ( const QString & pre, const QString & uri ) +// void splitName ( const QString & qname, QString & prefix, QString & localname ) const +QString uri ( const QString & prefix ) const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QXmlParseException.qth b/harbour/contrib/hbqt/qtxml/qth/QXmlParseException.qth new file mode 100644 index 0000000000..f6d3a346e5 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QXmlParseException.qth @@ -0,0 +1,59 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no + + + + + +#include + + +/* + * QXmlParseException ( const QString & name = QString(), int c = -1, int l = -1, const QString & p = QString(), const QString & s = QString() ) + * QXmlParseException ( const QXmlParseException & other ) + * ~QXmlParseException () + */ +HB_FUNC( QT_QXMLPARSEEXCEPTION ) +{ + if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QXMLPARSEEXCEPTION" ) ) + { + __HB_RETPTRGC__( new QXmlParseException( *hbqt_par_QXmlParseException( 1 ) ) ); + } + else + { + __HB_RETPTRGC__( new QXmlParseException() ); + } +} + + + + + + +int columnNumber () const +int lineNumber () const +QString message () const +QString publicId () const +QString systemId () const + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QXmlReader.qth b/harbour/contrib/hbqt/qtxml/qth/QXmlReader.qth new file mode 100644 index 0000000000..62ca4a4043 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QXmlReader.qth @@ -0,0 +1,63 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = +QObject = no + + + + + +#include + + +/* + * virtual ~QXmlReader () + */ +HB_FUNC( QT_QXMLREADER ) +{ +} + + + + + + +virtual QXmlDTDHandler * DTDHandler () const = 0 +virtual QXmlContentHandler * contentHandler () const = 0 +virtual QXmlDeclHandler * declHandler () const = 0 +virtual QXmlEntityResolver * entityResolver () const = 0 +virtual QXmlErrorHandler * errorHandler () const = 0 +virtual bool feature ( const QString & name, bool * ok = 0 ) const = 0 +virtual bool hasFeature ( const QString & name ) const = 0 +virtual bool hasProperty ( const QString & name ) const = 0 +virtual QXmlLexicalHandler * lexicalHandler () const = 0 +virtual bool parse ( const QXmlInputSource * input ) = 0 +virtual void * property ( const QString & name, bool * ok = 0 ) const = 0 +virtual void setContentHandler ( QXmlContentHandler * handler ) = 0 +virtual void setDTDHandler ( QXmlDTDHandler * handler ) = 0 +virtual void setDeclHandler ( QXmlDeclHandler * handler ) = 0 +virtual void setEntityResolver ( QXmlEntityResolver * handler ) = 0 +virtual void setErrorHandler ( QXmlErrorHandler * handler ) = 0 +virtual void setFeature ( const QString & name, bool value ) = 0 +virtual void setLexicalHandler ( QXmlLexicalHandler * handler ) = 0 +virtual void setProperty ( const QString & name, void * value ) = 0 + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/QXmlSimpleReader.qth b/harbour/contrib/hbqt/qtxml/qth/QXmlSimpleReader.qth new file mode 100644 index 0000000000..56ba4b7943 --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/QXmlSimpleReader.qth @@ -0,0 +1,69 @@ +/* + * $Id$ + */ + +/* + * Harbour Qt wrapper generator control file + * + * Copyright 2009-2012 Pritpal Bedi + * www - http://www.harbour-project.org + * + * See COPYING for licensing terms. + */ + + + +Inherit = QXmlReader +QObject = no + + + + + +#include + + +/* + * QXmlSimpleReader () + * virtual ~QXmlSimpleReader () + */ +HB_FUNC( QT_QXMLSIMPLEREADER ) +{ + __HB_RETPTRGC__( new QXmlSimpleReader() ); +} + + + + + + +virtual bool parse ( const QXmlInputSource * input, bool incremental ) +virtual bool parseContinue () + +virtual QXmlDTDHandler * DTDHandler () const +virtual QXmlContentHandler * contentHandler () const +virtual QXmlDeclHandler * declHandler () const +virtual QXmlEntityResolver * entityResolver () const +virtual QXmlErrorHandler * errorHandler () const +virtual bool feature ( const QString & name, bool * ok = 0 ) const +virtual bool hasFeature ( const QString & name ) const +virtual bool hasProperty ( const QString & name ) const +virtual QXmlLexicalHandler * lexicalHandler () const +virtual bool parse ( const QXmlInputSource & input ) +virtual bool parse ( const QXmlInputSource * input ) +virtual void * property ( const QString & name, bool * ok = 0 ) const +virtual void setContentHandler ( QXmlContentHandler * handler ) +virtual void setDTDHandler ( QXmlDTDHandler * handler ) +virtual void setDeclHandler ( QXmlDeclHandler * handler ) +virtual void setEntityResolver ( QXmlEntityResolver * handler ) +virtual void setErrorHandler ( QXmlErrorHandler * handler ) +virtual void setFeature ( const QString & name, bool enable ) +virtual void setLexicalHandler ( QXmlLexicalHandler * handler ) +virtual void setProperty ( const QString & name, void * value ) + + + + + + + diff --git a/harbour/contrib/hbqt/qtxml/qth/filelist.hbm b/harbour/contrib/hbqt/qtxml/qth/filelist.hbm new file mode 100644 index 0000000000..62a1722eed --- /dev/null +++ b/harbour/contrib/hbqt/qtxml/qth/filelist.hbm @@ -0,0 +1,38 @@ +# +# $Id$ +# + +-pflag=-qtver=0x040500 +-pflag=-qtmodule=qtopengl +-pflag=-qthdocdir=../doc/ + +QDomAttr.qth +QDomCDATASection.qth +QDomComment.qth +QDomDocument.qth +QDomDocumentFragment.qth +QDomDocumentType.qth +QDomElement.qth +QDomEntity.qth +QDomEntityReference.qth +QDomImplementation.qth +QDomNamedNodeMap.qth +QDomNode.qth +QDomNodeList.qth +QDomNotation.qth +QDomProcessingInstruction.qth +QDomText.qth +QXmlAttributes.qth +QXmlContentHandler.qth +QXmlDTDHandler.qth +QXmlDeclHandler.qth +QXmlDefaultHandler.qth +QXmlEntityResolver.qth +QXmlErrorHandler.qth +QXmlInputSource.qth +QXmlLexicalHandler.qth +QXmlLocator.qth +QXmlNamespaceSupport.qth +QXmlParseException.qth +QXmlReader.qth +QXmlSimpleReader.qth