2010-06-26 16:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/generator/qt45.qtp
    - Deleted: references to - QtWebKit.

  * contrib/hbqt/hbqt.h
    - Deleted: hbqt_par_QWeb*

  * contrib/hbqt/hbqt_garbage.h
    * Auto generated.

  + contrib/hbqt/qth/QWebFrame.qth
  + contrib/hbqt/qth/QWebHistory.qth
  + contrib/hbqt/qth/QWebHistoryInterface.qth
  + contrib/hbqt/qth/QWebHistoryItem.qth
  + contrib/hbqt/qth/QWebHitTestResult.qth
  + contrib/hbqt/qth/QWebPage.qth
  + contrib/hbqt/qth/QWebPluginFactory.qth
  + contrib/hbqt/qth/QWebSecurityOrigin.qth
  + contrib/hbqt/qth/QWebSettings.qth
  + contrib/hbqt/qth/QWebView.qth
  + contrib/hbqt/qtwebkit
  + contrib/hbqt/qtwebkit/doc
  + contrib/hbqt/qtwebkit/doc/en
  + contrib/hbqt/qtwebkit/doc/en/class_qwebframe.txt
  + contrib/hbqt/qtwebkit/doc/en/class_qwebhistory.txt
  + contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryinterface.txt
  + contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryitem.txt
  + contrib/hbqt/qtwebkit/doc/en/class_qwebhittestresult.txt
  + contrib/hbqt/qtwebkit/doc/en/class_qwebpage.txt
  + contrib/hbqt/qtwebkit/doc/en/class_qwebpluginfactory.txt
  + contrib/hbqt/qtwebkit/doc/en/class_qwebsecurityorigin.txt
  + contrib/hbqt/qtwebkit/doc/en/class_qwebsettings.txt
  + contrib/hbqt/qtwebkit/doc/en/class_qwebview.txt
  + contrib/hbqt/qtwebkit/hbqt_garbage.h
  + contrib/hbqt/qtwebkit/hbqt_local.h
  + contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  + contrib/hbqt/qtwebkit/hbqtwebkit.qtp
  + contrib/hbqt/qtwebkit/qth
  + contrib/hbqt/qtwebkit/qth/QWebFrame.qth
  + contrib/hbqt/qtwebkit/qth/QWebHistory.qth
  + contrib/hbqt/qtwebkit/qth/QWebHistoryInterface.qth
  + contrib/hbqt/qtwebkit/qth/QWebHistoryItem.qth
  + contrib/hbqt/qtwebkit/qth/QWebHitTestResult.qth
  + contrib/hbqt/qtwebkit/qth/QWebPage.qth
  + contrib/hbqt/qtwebkit/qth/QWebPluginFactory.qth
  + contrib/hbqt/qtwebkit/qth/QWebSecurityOrigin.qth
  + contrib/hbqt/qtwebkit/qth/QWebSettings.qth
  + contrib/hbqt/qtwebkit/qth/QWebView.qth
  + contrib/hbqt/qtwebkit/QWebFrame.cpp
  + contrib/hbqt/qtwebkit/QWebHistory.cpp
  + contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp
  + contrib/hbqt/qtwebkit/QWebHistoryItem.cpp
  + contrib/hbqt/qtwebkit/QWebHitTestResult.cpp
  + contrib/hbqt/qtwebkit/QWebPage.cpp
  + contrib/hbqt/qtwebkit/QWebPluginFactory.cpp
  + contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp
  + contrib/hbqt/qtwebkit/QWebSettings.cpp
  + contrib/hbqt/qtwebkit/QWebView.cpp
  + contrib/hbqt/qtwebkit/TQWebFrame.prg
  + contrib/hbqt/qtwebkit/TQWebHistory.prg
  + contrib/hbqt/qtwebkit/TQWebHistoryInterface.prg
  + contrib/hbqt/qtwebkit/TQWebHistoryItem.prg
  + contrib/hbqt/qtwebkit/TQWebHitTestResult.prg
  + contrib/hbqt/qtwebkit/TQWebPage.prg
  + contrib/hbqt/qtwebkit/TQWebPluginFactory.prg
  + contrib/hbqt/qtwebkit/TQWebSecurityOrigin.prg
  + contrib/hbqt/qtwebkit/TQWebSettings.prg
  + contrib/hbqt/qtwebkit/TQWebView.prg

    + Added: independent "hbqtwebkit" library.
             It will required QtWebKit4 lib and dll for operations.
             Plus it will need Signal/Slots included in
             /hbqt/hbqt_slots.cpp and .h
This commit is contained in:
Pritpal Bedi
2010-06-26 23:26:53 +00:00
parent b38dbedf33
commit 0c6dbdab58
49 changed files with 6434 additions and 51 deletions

View File

@@ -16,6 +16,81 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-06-26 16:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/generator/hbqtgen.prg
* contrib/hbqt/generator/qt45.qtp
- Deleted: references to - QtWebKit.
* contrib/hbqt/hbqt.h
- Deleted: hbqt_par_QWeb*
* contrib/hbqt/hbqt_garbage.h
* Auto generated.
+ contrib/hbqt/qth/QWebFrame.qth
+ contrib/hbqt/qth/QWebHistory.qth
+ contrib/hbqt/qth/QWebHistoryInterface.qth
+ contrib/hbqt/qth/QWebHistoryItem.qth
+ contrib/hbqt/qth/QWebHitTestResult.qth
+ contrib/hbqt/qth/QWebPage.qth
+ contrib/hbqt/qth/QWebPluginFactory.qth
+ contrib/hbqt/qth/QWebSecurityOrigin.qth
+ contrib/hbqt/qth/QWebSettings.qth
+ contrib/hbqt/qth/QWebView.qth
+ contrib/hbqt/qtwebkit
+ contrib/hbqt/qtwebkit/doc
+ contrib/hbqt/qtwebkit/doc/en
+ contrib/hbqt/qtwebkit/doc/en/class_qwebframe.txt
+ contrib/hbqt/qtwebkit/doc/en/class_qwebhistory.txt
+ contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryinterface.txt
+ contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryitem.txt
+ contrib/hbqt/qtwebkit/doc/en/class_qwebhittestresult.txt
+ contrib/hbqt/qtwebkit/doc/en/class_qwebpage.txt
+ contrib/hbqt/qtwebkit/doc/en/class_qwebpluginfactory.txt
+ contrib/hbqt/qtwebkit/doc/en/class_qwebsecurityorigin.txt
+ contrib/hbqt/qtwebkit/doc/en/class_qwebsettings.txt
+ contrib/hbqt/qtwebkit/doc/en/class_qwebview.txt
+ contrib/hbqt/qtwebkit/hbqt_garbage.h
+ contrib/hbqt/qtwebkit/hbqt_local.h
+ contrib/hbqt/qtwebkit/hbqtwebkit.hbp
+ contrib/hbqt/qtwebkit/hbqtwebkit.qtp
+ contrib/hbqt/qtwebkit/qth
+ contrib/hbqt/qtwebkit/qth/QWebFrame.qth
+ contrib/hbqt/qtwebkit/qth/QWebHistory.qth
+ contrib/hbqt/qtwebkit/qth/QWebHistoryInterface.qth
+ contrib/hbqt/qtwebkit/qth/QWebHistoryItem.qth
+ contrib/hbqt/qtwebkit/qth/QWebHitTestResult.qth
+ contrib/hbqt/qtwebkit/qth/QWebPage.qth
+ contrib/hbqt/qtwebkit/qth/QWebPluginFactory.qth
+ contrib/hbqt/qtwebkit/qth/QWebSecurityOrigin.qth
+ contrib/hbqt/qtwebkit/qth/QWebSettings.qth
+ contrib/hbqt/qtwebkit/qth/QWebView.qth
+ contrib/hbqt/qtwebkit/QWebFrame.cpp
+ contrib/hbqt/qtwebkit/QWebHistory.cpp
+ contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp
+ contrib/hbqt/qtwebkit/QWebHistoryItem.cpp
+ contrib/hbqt/qtwebkit/QWebHitTestResult.cpp
+ contrib/hbqt/qtwebkit/QWebPage.cpp
+ contrib/hbqt/qtwebkit/QWebPluginFactory.cpp
+ contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp
+ contrib/hbqt/qtwebkit/QWebSettings.cpp
+ contrib/hbqt/qtwebkit/QWebView.cpp
+ contrib/hbqt/qtwebkit/TQWebFrame.prg
+ contrib/hbqt/qtwebkit/TQWebHistory.prg
+ contrib/hbqt/qtwebkit/TQWebHistoryInterface.prg
+ contrib/hbqt/qtwebkit/TQWebHistoryItem.prg
+ contrib/hbqt/qtwebkit/TQWebHitTestResult.prg
+ contrib/hbqt/qtwebkit/TQWebPage.prg
+ contrib/hbqt/qtwebkit/TQWebPluginFactory.prg
+ contrib/hbqt/qtwebkit/TQWebSecurityOrigin.prg
+ contrib/hbqt/qtwebkit/TQWebSettings.prg
+ contrib/hbqt/qtwebkit/TQWebView.prg
+ Added: independent "hbqtwebkit" library.
It will required QtWebKit4 lib and dll for operations.
Plus it will need Signal/Slots included in
/hbqt/hbqt_slots.cpp and .h
2010-06-27 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapicom.h
! Fixed missing HB_EXTERN_BEGIN/END

View File

@@ -398,8 +398,8 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc )
code_:= old_
/* Mark to which sub library class belongs to */
IF "<QtWebKit/" $ cQth
aadd( aWebkit, cWidget )
IF "<QtWebKit/" $ cQth .OR. "<QtDesigner/" $ cQth
//aadd( aWebkit, cWidget )
ELSEIF "<QtNetwork/" $ cQth
aadd( aNetwork, cWidget )
ELSEIF "<QtGui/" $ cQth

View File

@@ -290,16 +290,6 @@ QUrl.qth
QValidator.qth
QVariant.qth
QVBoxLayout.qth
QWebFrame.qth
QWebHistory.qth
QWebHistoryInterface.qth
QWebHistoryItem.qth
QWebHitTestResult.qth
QWebPage.qth
QWebPluginFactory.qth
QWebSecurityOrigin.qth
QWebSettings.qth
QWebView.qth
QWheelEvent.qth
QWidget.qth
QWidgetAction.qth

View File

@@ -380,18 +380,6 @@ extern void * hbqt_pPtrFromItem( PHB_ITEM pObj );
#define hbqt_par_QVariant( n ) ( ( QVariant * ) hbqt_gcpointer( n ) )
#define hbqt_par_QVBoxLayout( n ) ( ( QVBoxLayout * ) hbqt_gcpointer( n ) )
#define hbqt_par_QVector( n ) ( ( QVector * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebFrame( n ) ( ( QWebFrame * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHistory( n ) ( ( QWebHistory * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHistoryInterface( n ) ( ( QWebHistoryInterface * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHistoryItem( n ) ( ( QWebHistoryItem * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHitTestResult( n ) ( ( QWebHitTestResult * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebNetworkRequest( n ) ( ( QWebNetworkRequest * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebPage( n ) ( ( QWebPage * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebPage( n ) ( ( QWebPage * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebPluginFactory( n ) ( ( QWebPluginFactory * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebSecurityOrigin( n ) ( ( QWebSecurityOrigin * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebSettings( n ) ( ( QWebSettings * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebView( n ) ( ( QWebView * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWheelEvent( n ) ( ( QWheelEvent * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWidget( n ) ( ( QWidget * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWidgetAction( n ) ( ( QWidgetAction * ) hbqt_gcpointer( n ) )
@@ -419,3 +407,4 @@ extern void * hbqt_pPtrFromItem( PHB_ITEM pObj );
#define hbqt_par_char( n ) ( hb_parcx( n ) )
#endif /* __HBQT_H */

View File

@@ -281,16 +281,6 @@ extern QT_G_FUNC( hbqt_gcRelease_QUrl );
extern QT_G_FUNC( hbqt_gcRelease_QValidator );
extern QT_G_FUNC( hbqt_gcRelease_QVariant );
extern QT_G_FUNC( hbqt_gcRelease_QVBoxLayout );
extern QT_G_FUNC( hbqt_gcRelease_QWebFrame );
extern QT_G_FUNC( hbqt_gcRelease_QWebHistory );
extern QT_G_FUNC( hbqt_gcRelease_QWebHistoryInterface );
extern QT_G_FUNC( hbqt_gcRelease_QWebHistoryItem );
extern QT_G_FUNC( hbqt_gcRelease_QWebHitTestResult );
extern QT_G_FUNC( hbqt_gcRelease_QWebPage );
extern QT_G_FUNC( hbqt_gcRelease_QWebPluginFactory );
extern QT_G_FUNC( hbqt_gcRelease_QWebSecurityOrigin );
extern QT_G_FUNC( hbqt_gcRelease_QWebSettings );
extern QT_G_FUNC( hbqt_gcRelease_QWebView );
extern QT_G_FUNC( hbqt_gcRelease_QWheelEvent );
extern QT_G_FUNC( hbqt_gcRelease_QWidget );
extern QT_G_FUNC( hbqt_gcRelease_QWidgetAction );
@@ -573,16 +563,6 @@ extern void * hbqt_gcAllocate_QUrl( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QValidator( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QVariant( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QVBoxLayout( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebFrame( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebHistory( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebHistoryInterface( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebHistoryItem( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebHitTestResult( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebPage( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebPluginFactory( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebSecurityOrigin( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebSettings( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebView( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWheelEvent( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWidget( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWidgetAction( void * pObj, bool bNew );

View File

@@ -0,0 +1,656 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
/*
* Constructed[ 37/40 [ 92.50% ] ]
*
* *** Unconvered Prototypes ***
* -----------------------------
*
* QList<QWebFrame *> childFrames () const
* QMultiMap<QString, QString> metaData () const
*
* *** Commented out protos which construct fine but do not compile ***
*
* // void load ( const QWebNetworkRequest & req )
*/
#include <QtCore/QPointer>
#include <QtWebKit/QWebFrame>
#include <QtWebKit/QWebSecurityOrigin>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*
*
*/
typedef struct
{
QPointer< QWebFrame > ph;
bool bNew;
QT_G_FUNC_PTR func;
} QGC_POINTER_QWebFrame;
QT_G_FUNC( hbqt_gcRelease_QWebFrame )
{
HB_SYMBOL_UNUSED( Cargo );
QGC_POINTER * p = ( QGC_POINTER * ) Cargo;
if( p && p->bNew )
{
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QWebFrame( void * pObj, bool bNew )
{
QGC_POINTER_QWebFrame * p = ( QGC_POINTER_QWebFrame * ) hb_gcAllocate( sizeof( QGC_POINTER_QWebFrame ), hbqt_gcFuncs() );
new( & p->ph ) QPointer< QWebFrame >( ( QWebFrame * ) pObj );
p->bNew = bNew;
p->func = hbqt_gcRelease_QWebFrame;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QWebFrame under p->pq", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QWebFrame", pObj ) );
}
return p;
}
HB_FUNC( QT_QWEBFRAME )
{
// hb_retptr( ( QWebFrame* ) new QWebFrame() );
}
/*
* void addToJavaScriptWindowObject ( const QString & name, QObject * object )
*/
HB_FUNC( QT_QWEBFRAME_ADDTOJAVASCRIPTWINDOWOBJECT )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->addToJavaScriptWindowObject( QWebFrame::tr( hb_parc( 2 ) ), hbqt_par_QObject( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_ADDTOJAVASCRIPTWINDOWOBJECT FP=( p )->addToJavaScriptWindowObject( QWebFrame::tr( hb_parc( 2 ) ), hbqt_par_QObject( 3 ) ); p is NULL" ) );
}
}
/*
* void addToJavaScriptWindowObject ( const QString & name, QObject * object, QScriptEngine::ValueOwnership own )
*/
HB_FUNC( QT_QWEBFRAME_ADDTOJAVASCRIPTWINDOWOBJECT_1 )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->addToJavaScriptWindowObject( QWebFrame::tr( hb_parc( 2 ) ), hbqt_par_QObject( 3 ), ( QScriptEngine::ValueOwnership ) hb_parni( 4 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_ADDTOJAVASCRIPTWINDOWOBJECT_1 FP=( p )->addToJavaScriptWindowObject( QWebFrame::tr( hb_parc( 2 ) ), hbqt_par_QObject( 3 ), ( QScriptEngine::ValueOwnership ) hb_parni( 4 ) ); p is NULL" ) );
}
}
/*
* QSize contentsSize () const
*/
HB_FUNC( QT_QWEBFRAME_CONTENTSSIZE )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->contentsSize() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_CONTENTSSIZE FP=hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->contentsSize() ), true ) ); p is NULL" ) );
}
}
/*
* QString frameName () const
*/
HB_FUNC( QT_QWEBFRAME_FRAMENAME )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retc( ( p )->frameName().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_FRAMENAME FP=hb_retc( ( p )->frameName().toAscii().data() ); p is NULL" ) );
}
}
/*
* QRect geometry () const
*/
HB_FUNC( QT_QWEBFRAME_GEOMETRY )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->geometry() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_GEOMETRY FP=hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->geometry() ), true ) ); p is NULL" ) );
}
}
/*
* QWebHitTestResult hitTestContent ( const QPoint & pos ) const
*/
HB_FUNC( QT_QWEBFRAME_HITTESTCONTENT )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebHitTestResult( new QWebHitTestResult( ( p )->hitTestContent( *hbqt_par_QPoint( 2 ) ) ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_HITTESTCONTENT FP=hb_retptrGC( hbqt_gcAllocate_QWebHitTestResult( new QWebHitTestResult( ( p )->hitTestContent( *hbqt_par_QPoint( 2 ) ) ), true ) ); p is NULL" ) );
}
}
/*
* QIcon icon () const
*/
HB_FUNC( QT_QWEBFRAME_ICON )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_ICON FP=hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) ); p is NULL" ) );
}
}
/*
* void load ( const QUrl & url )
*/
HB_FUNC( QT_QWEBFRAME_LOAD )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->load( *hbqt_par_QUrl( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_LOAD FP=( p )->load( *hbqt_par_QUrl( 2 ) ); p is NULL" ) );
}
}
/*
* QWebPage * page () const
*/
HB_FUNC( QT_QWEBFRAME_PAGE )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebPage( ( p )->page(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_PAGE FP=hb_retptrGC( hbqt_gcAllocate_QWebPage( ( p )->page(), false ) ); p is NULL" ) );
}
}
/*
* QWebFrame * parentFrame () const
*/
HB_FUNC( QT_QWEBFRAME_PARENTFRAME )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->parentFrame(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_PARENTFRAME FP=hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->parentFrame(), false ) ); p is NULL" ) );
}
}
/*
* QPoint pos () const
*/
HB_FUNC( QT_QWEBFRAME_POS )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_POS FP=hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos() ), true ) ); p is NULL" ) );
}
}
/*
* void render ( QPainter * painter, const QRegion & clip )
*/
HB_FUNC( QT_QWEBFRAME_RENDER )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->render( hbqt_par_QPainter( 2 ), *hbqt_par_QRegion( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_RENDER FP=( p )->render( hbqt_par_QPainter( 2 ), *hbqt_par_QRegion( 3 ) ); p is NULL" ) );
}
}
/*
* void render ( QPainter * painter )
*/
HB_FUNC( QT_QWEBFRAME_RENDER_1 )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->render( hbqt_par_QPainter( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_RENDER_1 FP=( p )->render( hbqt_par_QPainter( 2 ) ); p is NULL" ) );
}
}
/*
* QString renderTreeDump () const
*/
HB_FUNC( QT_QWEBFRAME_RENDERTREEDUMP )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retc( ( p )->renderTreeDump().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_RENDERTREEDUMP FP=hb_retc( ( p )->renderTreeDump().toAscii().data() ); p is NULL" ) );
}
}
/*
* void scroll ( int dx, int dy )
*/
HB_FUNC( QT_QWEBFRAME_SCROLL )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->scroll( hb_parni( 2 ), hb_parni( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SCROLL FP=( p )->scroll( hb_parni( 2 ), hb_parni( 3 ) ); p is NULL" ) );
}
}
/*
* int scrollBarMaximum ( Qt::Orientation orientation ) const
*/
HB_FUNC( QT_QWEBFRAME_SCROLLBARMAXIMUM )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retni( ( p )->scrollBarMaximum( ( Qt::Orientation ) hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SCROLLBARMAXIMUM FP=hb_retni( ( p )->scrollBarMaximum( ( Qt::Orientation ) hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* int scrollBarMinimum ( Qt::Orientation orientation ) const
*/
HB_FUNC( QT_QWEBFRAME_SCROLLBARMINIMUM )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retni( ( p )->scrollBarMinimum( ( Qt::Orientation ) hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SCROLLBARMINIMUM FP=hb_retni( ( p )->scrollBarMinimum( ( Qt::Orientation ) hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* Qt::ScrollBarPolicy scrollBarPolicy ( Qt::Orientation orientation ) const
*/
HB_FUNC( QT_QWEBFRAME_SCROLLBARPOLICY )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retni( ( Qt::ScrollBarPolicy ) ( p )->scrollBarPolicy( ( Qt::Orientation ) hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SCROLLBARPOLICY FP=hb_retni( ( Qt::ScrollBarPolicy ) ( p )->scrollBarPolicy( ( Qt::Orientation ) hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* int scrollBarValue ( Qt::Orientation orientation ) const
*/
HB_FUNC( QT_QWEBFRAME_SCROLLBARVALUE )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retni( ( p )->scrollBarValue( ( Qt::Orientation ) hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SCROLLBARVALUE FP=hb_retni( ( p )->scrollBarValue( ( Qt::Orientation ) hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* QPoint scrollPosition () const
*/
HB_FUNC( QT_QWEBFRAME_SCROLLPOSITION )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->scrollPosition() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SCROLLPOSITION FP=hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->scrollPosition() ), true ) ); p is NULL" ) );
}
}
/*
* QWebSecurityOrigin securityOrigin () const
*/
HB_FUNC( QT_QWEBFRAME_SECURITYORIGIN )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebSecurityOrigin( new QWebSecurityOrigin( ( p )->securityOrigin() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SECURITYORIGIN FP=hb_retptrGC( hbqt_gcAllocate_QWebSecurityOrigin( new QWebSecurityOrigin( ( p )->securityOrigin() ), true ) ); p is NULL" ) );
}
}
/*
* void setContent ( const QByteArray & data, const QString & mimeType = QString(), const QUrl & baseUrl = QUrl() )
*/
HB_FUNC( QT_QWEBFRAME_SETCONTENT )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->setContent( *hbqt_par_QByteArray( 2 ), QWebFrame::tr( hb_parc( 3 ) ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QUrl( 4 ) : QUrl() ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SETCONTENT FP=( p )->setContent( *hbqt_par_QByteArray( 2 ), QWebFrame::tr( hb_parc( 3 ) ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QUrl( 4 ) : QUrl() ) ); p is NULL" ) );
}
}
/*
* void setHtml ( const QString & html, const QUrl & baseUrl = QUrl() )
*/
HB_FUNC( QT_QWEBFRAME_SETHTML )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->setHtml( QWebFrame::tr( hb_parc( 2 ) ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QUrl( 3 ) : QUrl() ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SETHTML FP=( p )->setHtml( QWebFrame::tr( hb_parc( 2 ) ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QUrl( 3 ) : QUrl() ) ); p is NULL" ) );
}
}
/*
* void setScrollBarPolicy ( Qt::Orientation orientation, Qt::ScrollBarPolicy policy )
*/
HB_FUNC( QT_QWEBFRAME_SETSCROLLBARPOLICY )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->setScrollBarPolicy( ( Qt::Orientation ) hb_parni( 2 ), ( Qt::ScrollBarPolicy ) hb_parni( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SETSCROLLBARPOLICY FP=( p )->setScrollBarPolicy( ( Qt::Orientation ) hb_parni( 2 ), ( Qt::ScrollBarPolicy ) hb_parni( 3 ) ); p is NULL" ) );
}
}
/*
* void setScrollBarValue ( Qt::Orientation orientation, int value )
*/
HB_FUNC( QT_QWEBFRAME_SETSCROLLBARVALUE )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->setScrollBarValue( ( Qt::Orientation ) hb_parni( 2 ), hb_parni( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SETSCROLLBARVALUE FP=( p )->setScrollBarValue( ( Qt::Orientation ) hb_parni( 2 ), hb_parni( 3 ) ); p is NULL" ) );
}
}
/*
* void setScrollPosition ( const QPoint & pos )
*/
HB_FUNC( QT_QWEBFRAME_SETSCROLLPOSITION )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->setScrollPosition( *hbqt_par_QPoint( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SETSCROLLPOSITION FP=( p )->setScrollPosition( *hbqt_par_QPoint( 2 ) ); p is NULL" ) );
}
}
/*
* void setTextSizeMultiplier ( qreal factor )
*/
HB_FUNC( QT_QWEBFRAME_SETTEXTSIZEMULTIPLIER )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->setTextSizeMultiplier( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SETTEXTSIZEMULTIPLIER FP=( p )->setTextSizeMultiplier( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* void setUrl ( const QUrl & url )
*/
HB_FUNC( QT_QWEBFRAME_SETURL )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->setUrl( *hbqt_par_QUrl( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SETURL FP=( p )->setUrl( *hbqt_par_QUrl( 2 ) ); p is NULL" ) );
}
}
/*
* void setZoomFactor ( qreal factor )
*/
HB_FUNC( QT_QWEBFRAME_SETZOOMFACTOR )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->setZoomFactor( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_SETZOOMFACTOR FP=( p )->setZoomFactor( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* qreal textSizeMultiplier () const
*/
HB_FUNC( QT_QWEBFRAME_TEXTSIZEMULTIPLIER )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retnd( ( p )->textSizeMultiplier() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_TEXTSIZEMULTIPLIER FP=hb_retnd( ( p )->textSizeMultiplier() ); p is NULL" ) );
}
}
/*
* QString title () const
*/
HB_FUNC( QT_QWEBFRAME_TITLE )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retc( ( p )->title().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_TITLE FP=hb_retc( ( p )->title().toAscii().data() ); p is NULL" ) );
}
}
/*
* QString toHtml () const
*/
HB_FUNC( QT_QWEBFRAME_TOHTML )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retc( ( p )->toHtml().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_TOHTML FP=hb_retc( ( p )->toHtml().toAscii().data() ); p is NULL" ) );
}
}
/*
* QString toPlainText () const
*/
HB_FUNC( QT_QWEBFRAME_TOPLAINTEXT )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retc( ( p )->toPlainText().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_TOPLAINTEXT FP=hb_retc( ( p )->toPlainText().toAscii().data() ); p is NULL" ) );
}
}
/*
* QUrl url () const
*/
HB_FUNC( QT_QWEBFRAME_URL )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->url() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_URL FP=hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->url() ), true ) ); p is NULL" ) );
}
}
/*
* qreal zoomFactor () const
*/
HB_FUNC( QT_QWEBFRAME_ZOOMFACTOR )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retnd( ( p )->zoomFactor() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_ZOOMFACTOR FP=hb_retnd( ( p )->zoomFactor() ); p is NULL" ) );
}
}
/*
* QVariant evaluateJavaScript ( const QString & scriptSource )
*/
HB_FUNC( QT_QWEBFRAME_EVALUATEJAVASCRIPT )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->evaluateJavaScript( QWebFrame::tr( hb_parc( 2 ) ) ) ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_EVALUATEJAVASCRIPT FP=hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->evaluateJavaScript( QWebFrame::tr( hb_parc( 2 ) ) ) ), true ) ); p is NULL" ) );
}
}
/*
* void print ( QPrinter * printer ) const
*/
HB_FUNC( QT_QWEBFRAME_PRINT )
{
QWebFrame * p = hbqt_par_QWebFrame( 1 );
if( p )
( p )->print( hbqt_par_QPrinter( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBFRAME_PRINT FP=( p )->print( hbqt_par_QPrinter( 2 ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,331 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
/*
* Constructed[ 14/17 [ 82.35% ] ]
*
* *** Unconvered Prototypes ***
* -----------------------------
*
* QList<QWebHistoryItem> backItems ( int maxItems ) const
* QList<QWebHistoryItem> forwardItems ( int maxItems ) const
* QList<QWebHistoryItem> items () const
*/
#include <QtCore/QPointer>
#include <QtWebKit/QWebHistory>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*
*
*/
typedef struct
{
QWebHistory * ph;
bool bNew;
QT_G_FUNC_PTR func;
} QGC_POINTER_QWebHistory;
QT_G_FUNC( hbqt_gcRelease_QWebHistory )
{
HB_SYMBOL_UNUSED( Cargo );
QGC_POINTER * p = ( QGC_POINTER * ) Cargo;
if( p && p->bNew )
{
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QWebHistory( void * pObj, bool bNew )
{
QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAllocate( sizeof( QGC_POINTER ), hbqt_gcFuncs() );
p->ph = ( QWebHistory * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QWebHistory;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QWebHistory", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QWebHistory", pObj ) );
}
return p;
}
HB_FUNC( QT_QWEBHISTORY )
{
//hb_retptr( ( * ) new () );
}
/*
* void back ()
*/
HB_FUNC( QT_QWEBHISTORY_BACK )
{
QWebHistory * p = hbqt_par_QWebHistory( 1 );
if( p )
( p )->back();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORY_BACK FP=( p )->back(); p is NULL" ) );
}
}
/*
* QWebHistoryItem backItem () const
*/
HB_FUNC( QT_QWEBHISTORY_BACKITEM )
{
QWebHistory * p = hbqt_par_QWebHistory( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebHistoryItem( new QWebHistoryItem( ( p )->backItem() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORY_BACKITEM FP=hb_retptrGC( hbqt_gcAllocate_QWebHistoryItem( new QWebHistoryItem( ( p )->backItem() ), true ) ); p is NULL" ) );
}
}
/*
* bool canGoBack () const
*/
HB_FUNC( QT_QWEBHISTORY_CANGOBACK )
{
QWebHistory * p = hbqt_par_QWebHistory( 1 );
if( p )
hb_retl( ( p )->canGoBack() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORY_CANGOBACK FP=hb_retl( ( p )->canGoBack() ); p is NULL" ) );
}
}
/*
* bool canGoForward () const
*/
HB_FUNC( QT_QWEBHISTORY_CANGOFORWARD )
{
QWebHistory * p = hbqt_par_QWebHistory( 1 );
if( p )
hb_retl( ( p )->canGoForward() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORY_CANGOFORWARD FP=hb_retl( ( p )->canGoForward() ); p is NULL" ) );
}
}
/*
* void clear ()
*/
HB_FUNC( QT_QWEBHISTORY_CLEAR )
{
QWebHistory * p = hbqt_par_QWebHistory( 1 );
if( p )
( p )->clear();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORY_CLEAR FP=( p )->clear(); p is NULL" ) );
}
}
/*
* int count () const
*/
HB_FUNC( QT_QWEBHISTORY_COUNT )
{
QWebHistory * p = hbqt_par_QWebHistory( 1 );
if( p )
hb_retni( ( p )->count() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORY_COUNT FP=hb_retni( ( p )->count() ); p is NULL" ) );
}
}
/*
* QWebHistoryItem currentItem () const
*/
HB_FUNC( QT_QWEBHISTORY_CURRENTITEM )
{
QWebHistory * p = hbqt_par_QWebHistory( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebHistoryItem( new QWebHistoryItem( ( p )->currentItem() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORY_CURRENTITEM FP=hb_retptrGC( hbqt_gcAllocate_QWebHistoryItem( new QWebHistoryItem( ( p )->currentItem() ), true ) ); p is NULL" ) );
}
}
/*
* int currentItemIndex () const
*/
HB_FUNC( QT_QWEBHISTORY_CURRENTITEMINDEX )
{
QWebHistory * p = hbqt_par_QWebHistory( 1 );
if( p )
hb_retni( ( p )->currentItemIndex() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORY_CURRENTITEMINDEX FP=hb_retni( ( p )->currentItemIndex() ); p is NULL" ) );
}
}
/*
* void forward ()
*/
HB_FUNC( QT_QWEBHISTORY_FORWARD )
{
QWebHistory * p = hbqt_par_QWebHistory( 1 );
if( p )
( p )->forward();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORY_FORWARD FP=( p )->forward(); p is NULL" ) );
}
}
/*
* QWebHistoryItem forwardItem () const
*/
HB_FUNC( QT_QWEBHISTORY_FORWARDITEM )
{
QWebHistory * p = hbqt_par_QWebHistory( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebHistoryItem( new QWebHistoryItem( ( p )->forwardItem() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORY_FORWARDITEM FP=hb_retptrGC( hbqt_gcAllocate_QWebHistoryItem( new QWebHistoryItem( ( p )->forwardItem() ), true ) ); p is NULL" ) );
}
}
/*
* void goToItem ( const QWebHistoryItem & item )
*/
HB_FUNC( QT_QWEBHISTORY_GOTOITEM )
{
QWebHistory * p = hbqt_par_QWebHistory( 1 );
if( p )
( p )->goToItem( *hbqt_par_QWebHistoryItem( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORY_GOTOITEM FP=( p )->goToItem( *hbqt_par_QWebHistoryItem( 2 ) ); p is NULL" ) );
}
}
/*
* QWebHistoryItem itemAt ( int i ) const
*/
HB_FUNC( QT_QWEBHISTORY_ITEMAT )
{
QWebHistory * p = hbqt_par_QWebHistory( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebHistoryItem( new QWebHistoryItem( ( p )->itemAt( hb_parni( 2 ) ) ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORY_ITEMAT FP=hb_retptrGC( hbqt_gcAllocate_QWebHistoryItem( new QWebHistoryItem( ( p )->itemAt( hb_parni( 2 ) ) ), true ) ); p is NULL" ) );
}
}
/*
* int maximumItemCount () const
*/
HB_FUNC( QT_QWEBHISTORY_MAXIMUMITEMCOUNT )
{
QWebHistory * p = hbqt_par_QWebHistory( 1 );
if( p )
hb_retni( ( p )->maximumItemCount() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORY_MAXIMUMITEMCOUNT FP=hb_retni( ( p )->maximumItemCount() ); p is NULL" ) );
}
}
/*
* void setMaximumItemCount ( int count )
*/
HB_FUNC( QT_QWEBHISTORY_SETMAXIMUMITEMCOUNT )
{
QWebHistory * p = hbqt_par_QWebHistory( 1 );
if( p )
( p )->setMaximumItemCount( hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORY_SETMAXIMUMITEMCOUNT FP=( p )->setMaximumItemCount( hb_parni( 2 ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,181 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtWebKit/QWebHistoryInterface>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*
* QWebHistoryInterface ( QObject * parent = 0 )
* ~QWebHistoryInterface ()
*/
typedef struct
{
QPointer< QWebHistoryInterface > ph;
bool bNew;
QT_G_FUNC_PTR func;
} QGC_POINTER_QWebHistoryInterface;
QT_G_FUNC( hbqt_gcRelease_QWebHistoryInterface )
{
HB_SYMBOL_UNUSED( Cargo );
QGC_POINTER * p = ( QGC_POINTER * ) Cargo;
if( p && p->bNew )
{
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QWebHistoryInterface( void * pObj, bool bNew )
{
QGC_POINTER_QWebHistoryInterface * p = ( QGC_POINTER_QWebHistoryInterface * ) hb_gcAllocate( sizeof( QGC_POINTER_QWebHistoryInterface ), hbqt_gcFuncs() );
new( & p->ph ) QPointer< QWebHistoryInterface >( ( QWebHistoryInterface * ) pObj );
p->bNew = bNew;
p->func = hbqt_gcRelease_QWebHistoryInterface;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QWebHistoryInterface under p->pq", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QWebHistoryInterface", pObj ) );
}
return p;
}
HB_FUNC( QT_QWEBHISTORYINTERFACE )
{
//hb_retptr( ( QWebHistoryInterface* ) new QWebHistoryInterface( hbqt_par_QObject( 1 ) ) );
}
/*
* virtual void addHistoryEntry ( const QString & url ) = 0
*/
HB_FUNC( QT_QWEBHISTORYINTERFACE_ADDHISTORYENTRY )
{
QWebHistoryInterface * p = hbqt_par_QWebHistoryInterface( 1 );
if( p )
( p )->addHistoryEntry( QWebHistoryInterface::tr( hb_parc( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORYINTERFACE_ADDHISTORYENTRY FP=( p )->addHistoryEntry( QWebHistoryInterface::tr( hb_parc( 2 ) ) ); p is NULL" ) );
}
}
/*
* virtual bool historyContains ( const QString & url ) const = 0
*/
HB_FUNC( QT_QWEBHISTORYINTERFACE_HISTORYCONTAINS )
{
QWebHistoryInterface * p = hbqt_par_QWebHistoryInterface( 1 );
if( p )
hb_retl( ( p )->historyContains( QWebHistoryInterface::tr( hb_parc( 2 ) ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORYINTERFACE_HISTORYCONTAINS FP=hb_retl( ( p )->historyContains( QWebHistoryInterface::tr( hb_parc( 2 ) ) ) ); p is NULL" ) );
}
}
/*
* QWebHistoryInterface * defaultInterface ()
*/
HB_FUNC( QT_QWEBHISTORYINTERFACE_DEFAULTINTERFACE )
{
QWebHistoryInterface * p = hbqt_par_QWebHistoryInterface( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebHistoryInterface( ( p )->defaultInterface(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORYINTERFACE_DEFAULTINTERFACE FP=hb_retptrGC( hbqt_gcAllocate_QWebHistoryInterface( ( p )->defaultInterface(), false ) ); p is NULL" ) );
}
}
/*
* void setDefaultInterface ( QWebHistoryInterface * defaultInterface )
*/
HB_FUNC( QT_QWEBHISTORYINTERFACE_SETDEFAULTINTERFACE )
{
QWebHistoryInterface * p = hbqt_par_QWebHistoryInterface( 1 );
if( p )
( p )->setDefaultInterface( hbqt_par_QWebHistoryInterface( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORYINTERFACE_SETDEFAULTINTERFACE FP=( p )->setDefaultInterface( hbqt_par_QWebHistoryInterface( 2 ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,260 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtWebKit/QWebHistoryItem>
#include <QtCore/QVariant>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*
* QWebHistoryItem ( const QWebHistoryItem & other )
* ~QWebHistoryItem ()
*/
typedef struct
{
QWebHistoryItem * ph;
bool bNew;
QT_G_FUNC_PTR func;
} QGC_POINTER_QWebHistoryItem;
QT_G_FUNC( hbqt_gcRelease_QWebHistoryItem )
{
QGC_POINTER * p = ( QGC_POINTER * ) Cargo;
if( p && p->bNew )
{
if( p->ph )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _rel_QWebHistoryItem /.\\", p->ph ) );
delete ( ( QWebHistoryItem * ) p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p YES_rel_QWebHistoryItem \\./", p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QWebHistoryItem : Object already deleted!", p->ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QWebHistoryItem : Object not created with new=true", p->ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QWebHistoryItem( void * pObj, bool bNew )
{
QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAllocate( sizeof( QGC_POINTER ), hbqt_gcFuncs() );
p->ph = ( QWebHistoryItem * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QWebHistoryItem;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QWebHistoryItem", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QWebHistoryItem", pObj ) );
}
return p;
}
HB_FUNC( QT_QWEBHISTORYITEM )
{
QWebHistoryItem * pObj = NULL;
if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
pObj = new QWebHistoryItem( *hbqt_par_QWebHistoryItem( 1 ) ) ;
}
hb_retptrGC( hbqt_gcAllocate_QWebHistoryItem( ( void * ) pObj, true ) );
}
/*
* QIcon icon () const
*/
HB_FUNC( QT_QWEBHISTORYITEM_ICON )
{
QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORYITEM_ICON FP=hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) ); p is NULL" ) );
}
}
/*
* bool isValid () const
*/
HB_FUNC( QT_QWEBHISTORYITEM_ISVALID )
{
QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 );
if( p )
hb_retl( ( p )->isValid() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORYITEM_ISVALID FP=hb_retl( ( p )->isValid() ); p is NULL" ) );
}
}
/*
* QDateTime lastVisited () const
*/
HB_FUNC( QT_QWEBHISTORYITEM_LASTVISITED )
{
QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->lastVisited() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORYITEM_LASTVISITED FP=hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->lastVisited() ), true ) ); p is NULL" ) );
}
}
/*
* QUrl originalUrl () const
*/
HB_FUNC( QT_QWEBHISTORYITEM_ORIGINALURL )
{
QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->originalUrl() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORYITEM_ORIGINALURL FP=hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->originalUrl() ), true ) ); p is NULL" ) );
}
}
/*
* void setUserData ( const QVariant & userData )
*/
HB_FUNC( QT_QWEBHISTORYITEM_SETUSERDATA )
{
QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 );
if( p )
( p )->setUserData( *hbqt_par_QVariant( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORYITEM_SETUSERDATA FP=( p )->setUserData( *hbqt_par_QVariant( 2 ) ); p is NULL" ) );
}
}
/*
* QString title () const
*/
HB_FUNC( QT_QWEBHISTORYITEM_TITLE )
{
QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 );
if( p )
hb_retc( ( p )->title().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORYITEM_TITLE FP=hb_retc( ( p )->title().toAscii().data() ); p is NULL" ) );
}
}
/*
* QUrl url () const
*/
HB_FUNC( QT_QWEBHISTORYITEM_URL )
{
QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->url() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORYITEM_URL FP=hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->url() ), true ) ); p is NULL" ) );
}
}
/*
* QVariant userData () const
*/
HB_FUNC( QT_QWEBHISTORYITEM_USERDATA )
{
QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->userData() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHISTORYITEM_USERDATA FP=hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->userData() ), true ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,341 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtWebKit/QWebHitTestResult>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*
* QWebHitTestResult ()
* QWebHitTestResult ( const QWebHitTestResult & other )
* ~QWebHitTestResult ()
*/
typedef struct
{
QWebHitTestResult * ph;
bool bNew;
QT_G_FUNC_PTR func;
} QGC_POINTER_QWebHitTestResult;
QT_G_FUNC( hbqt_gcRelease_QWebHitTestResult )
{
QGC_POINTER * p = ( QGC_POINTER * ) Cargo;
if( p && p->bNew )
{
if( p->ph )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _rel_QWebHitTestResult /.\\", p->ph ) );
delete ( ( QWebHitTestResult * ) p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p YES_rel_QWebHitTestResult \\./", p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QWebHitTestResult : Object already deleted!", p->ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QWebHitTestResult : Object not created with new=true", p->ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QWebHitTestResult( void * pObj, bool bNew )
{
QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAllocate( sizeof( QGC_POINTER ), hbqt_gcFuncs() );
p->ph = ( QWebHitTestResult * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QWebHitTestResult;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QWebHitTestResult", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QWebHitTestResult", pObj ) );
}
return p;
}
HB_FUNC( QT_QWEBHITTESTRESULT )
{
QWebHitTestResult * pObj = NULL;
pObj = new QWebHitTestResult() ;
hb_retptrGC( hbqt_gcAllocate_QWebHitTestResult( ( void * ) pObj, true ) );
}
/*
* QString alternateText () const
*/
HB_FUNC( QT_QWEBHITTESTRESULT_ALTERNATETEXT )
{
QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 );
if( p )
hb_retc( ( p )->alternateText().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHITTESTRESULT_ALTERNATETEXT FP=hb_retc( ( p )->alternateText().toAscii().data() ); p is NULL" ) );
}
}
/*
* QRect boundingRect () const
*/
HB_FUNC( QT_QWEBHITTESTRESULT_BOUNDINGRECT )
{
QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->boundingRect() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHITTESTRESULT_BOUNDINGRECT FP=hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->boundingRect() ), true ) ); p is NULL" ) );
}
}
/*
* QWebFrame * frame () const
*/
HB_FUNC( QT_QWEBHITTESTRESULT_FRAME )
{
QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->frame(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHITTESTRESULT_FRAME FP=hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->frame(), false ) ); p is NULL" ) );
}
}
/*
* QUrl imageUrl () const
*/
HB_FUNC( QT_QWEBHITTESTRESULT_IMAGEURL )
{
QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->imageUrl() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHITTESTRESULT_IMAGEURL FP=hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->imageUrl() ), true ) ); p is NULL" ) );
}
}
/*
* bool isContentEditable () const
*/
HB_FUNC( QT_QWEBHITTESTRESULT_ISCONTENTEDITABLE )
{
QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 );
if( p )
hb_retl( ( p )->isContentEditable() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHITTESTRESULT_ISCONTENTEDITABLE FP=hb_retl( ( p )->isContentEditable() ); p is NULL" ) );
}
}
/*
* bool isContentSelected () const
*/
HB_FUNC( QT_QWEBHITTESTRESULT_ISCONTENTSELECTED )
{
QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 );
if( p )
hb_retl( ( p )->isContentSelected() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHITTESTRESULT_ISCONTENTSELECTED FP=hb_retl( ( p )->isContentSelected() ); p is NULL" ) );
}
}
/*
* bool isNull () const
*/
HB_FUNC( QT_QWEBHITTESTRESULT_ISNULL )
{
QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 );
if( p )
hb_retl( ( p )->isNull() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHITTESTRESULT_ISNULL FP=hb_retl( ( p )->isNull() ); p is NULL" ) );
}
}
/*
* QWebFrame * linkTargetFrame () const
*/
HB_FUNC( QT_QWEBHITTESTRESULT_LINKTARGETFRAME )
{
QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->linkTargetFrame(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHITTESTRESULT_LINKTARGETFRAME FP=hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->linkTargetFrame(), false ) ); p is NULL" ) );
}
}
/*
* QString linkText () const
*/
HB_FUNC( QT_QWEBHITTESTRESULT_LINKTEXT )
{
QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 );
if( p )
hb_retc( ( p )->linkText().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHITTESTRESULT_LINKTEXT FP=hb_retc( ( p )->linkText().toAscii().data() ); p is NULL" ) );
}
}
/*
* QUrl linkTitle () const
*/
HB_FUNC( QT_QWEBHITTESTRESULT_LINKTITLE )
{
QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->linkTitle() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHITTESTRESULT_LINKTITLE FP=hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->linkTitle() ), true ) ); p is NULL" ) );
}
}
/*
* QUrl linkUrl () const
*/
HB_FUNC( QT_QWEBHITTESTRESULT_LINKURL )
{
QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->linkUrl() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHITTESTRESULT_LINKURL FP=hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->linkUrl() ), true ) ); p is NULL" ) );
}
}
/*
* QPixmap pixmap () const
*/
HB_FUNC( QT_QWEBHITTESTRESULT_PIXMAP )
{
QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHITTESTRESULT_PIXMAP FP=hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap() ), true ) ); p is NULL" ) );
}
}
/*
* QPoint pos () const
*/
HB_FUNC( QT_QWEBHITTESTRESULT_POS )
{
QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHITTESTRESULT_POS FP=hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos() ), true ) ); p is NULL" ) );
}
}
/*
* QString title () const
*/
HB_FUNC( QT_QWEBHITTESTRESULT_TITLE )
{
QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 );
if( p )
hb_retc( ( p )->title().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBHITTESTRESULT_TITLE FP=hb_retc( ( p )->title().toAscii().data() ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,600 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
/*
* enum Extension { ChooseMultipleFilesExtension }
* enum FindFlag { FindBackward, FindCaseSensitively, FindWrapsAroundDocument }
* enum LinkDelegationPolicy { DontDelegateLinks, DelegateExternalLinks, DelegateAllLinks }
* enum NavigationType { NavigationTypeLinkClicked, NavigationTypeFormSubmitted, NavigationTypeBackOrForward, NavigationTypeReload, NavigationTypeFormResubmitted, NavigationTypeOther }
* enum WebAction { NoWebAction, OpenLink, OpenLinkInNewWindow, OpenFrameInNewWindow, ..., SelectAll }
* enum WebWindowType { WebBrowserWindow, WebModalDialog }
* flags FindFlags
*/
#include <QtCore/QPointer>
#include <QtWebKit/QWebPage>
#include <QtCore/QVariant>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*
* QWebPage ( QObject * parent = 0 )
* ~QWebPage ()
*/
typedef struct
{
QPointer< QWebPage > ph;
bool bNew;
QT_G_FUNC_PTR func;
} QGC_POINTER_QWebPage;
QT_G_FUNC( hbqt_gcRelease_QWebPage )
{
QWebPage * ph = NULL ;
QGC_POINTER_QWebPage * p = ( QGC_POINTER_QWebPage * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();
if( ( QString ) m->className() != ( QString ) "QObject" )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QWebPage /.\\ ", (void*) ph, (void*) p->ph ) );
delete ( p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QWebPage \\./ ", (void*) ph, (void*) p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NO__rel_QWebPage ", ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QWebPage : Object already deleted!", ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QWebPage : Object not created with new=true", ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QWebPage( void * pObj, bool bNew )
{
QGC_POINTER_QWebPage * p = ( QGC_POINTER_QWebPage * ) hb_gcAllocate( sizeof( QGC_POINTER_QWebPage ), hbqt_gcFuncs() );
new( & p->ph ) QPointer< QWebPage >( ( QWebPage * ) pObj );
p->bNew = bNew;
p->func = hbqt_gcRelease_QWebPage;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QWebPage under p->pq", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QWebPage", pObj ) );
}
return p;
}
HB_FUNC( QT_QWEBPAGE )
{
QWebPage * pObj = NULL;
pObj = new QWebPage( hbqt_par_QWidget( 2 ) ) ;
hb_retptrGC( hbqt_gcAllocate_QWebPage( ( void * ) pObj, true ) );
}
/*
* QAction * action ( WebAction action ) const
*/
HB_FUNC( QT_QWEBPAGE_ACTION )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->action( ( QWebPage::WebAction ) hb_parni( 2 ) ), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_ACTION FP=hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->action( ( QWebPage::WebAction ) hb_parni( 2 ) ), false ) ); p is NULL" ) );
}
}
/*
* quint64 bytesReceived () const
*/
HB_FUNC( QT_QWEBPAGE_BYTESRECEIVED )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retnint( ( p )->bytesReceived() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_BYTESRECEIVED FP=hb_retnint( ( p )->bytesReceived() ); p is NULL" ) );
}
}
/*
* QMenu * createStandardContextMenu ()
*/
HB_FUNC( QT_QWEBPAGE_CREATESTANDARDCONTEXTMENU )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->createStandardContextMenu(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_CREATESTANDARDCONTEXTMENU FP=hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->createStandardContextMenu(), false ) ); p is NULL" ) );
}
}
/*
* QWebFrame * currentFrame () const
*/
HB_FUNC( QT_QWEBPAGE_CURRENTFRAME )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->currentFrame(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_CURRENTFRAME FP=hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->currentFrame(), false ) ); p is NULL" ) );
}
}
/*
* bool findText ( const QString & subString, FindFlags options = 0 )
*/
HB_FUNC( QT_QWEBPAGE_FINDTEXT )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retl( ( p )->findText( QWebPage::tr( hb_parc( 2 ) ), ( QWebPage::FindFlags ) hb_parni( 3 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_FINDTEXT FP=hb_retl( ( p )->findText( QWebPage::tr( hb_parc( 2 ) ), ( QWebPage::FindFlags ) hb_parni( 3 ) ) ); p is NULL" ) );
}
}
/*
* bool focusNextPrevChild ( bool next )
*/
HB_FUNC( QT_QWEBPAGE_FOCUSNEXTPREVCHILD )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retl( ( p )->focusNextPrevChild( hb_parl( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_FOCUSNEXTPREVCHILD FP=hb_retl( ( p )->focusNextPrevChild( hb_parl( 2 ) ) ); p is NULL" ) );
}
}
/*
* bool forwardUnsupportedContent () const
*/
HB_FUNC( QT_QWEBPAGE_FORWARDUNSUPPORTEDCONTENT )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retl( ( p )->forwardUnsupportedContent() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_FORWARDUNSUPPORTEDCONTENT FP=hb_retl( ( p )->forwardUnsupportedContent() ); p is NULL" ) );
}
}
/*
* QWebHistory * history () const
*/
HB_FUNC( QT_QWEBPAGE_HISTORY )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebHistory( ( p )->history(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_HISTORY FP=hb_retptrGC( hbqt_gcAllocate_QWebHistory( ( p )->history(), false ) ); p is NULL" ) );
}
}
/*
* QVariant inputMethodQuery ( Qt::InputMethodQuery property ) const
*/
HB_FUNC( QT_QWEBPAGE_INPUTMETHODQUERY )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->inputMethodQuery( ( Qt::InputMethodQuery ) hb_parni( 2 ) ) ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_INPUTMETHODQUERY FP=hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->inputMethodQuery( ( Qt::InputMethodQuery ) hb_parni( 2 ) ) ), true ) ); p is NULL" ) );
}
}
/*
* bool isContentEditable () const
*/
HB_FUNC( QT_QWEBPAGE_ISCONTENTEDITABLE )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retl( ( p )->isContentEditable() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_ISCONTENTEDITABLE FP=hb_retl( ( p )->isContentEditable() ); p is NULL" ) );
}
}
/*
* bool isModified () const
*/
HB_FUNC( QT_QWEBPAGE_ISMODIFIED )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retl( ( p )->isModified() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_ISMODIFIED FP=hb_retl( ( p )->isModified() ); p is NULL" ) );
}
}
/*
* LinkDelegationPolicy linkDelegationPolicy () const
*/
HB_FUNC( QT_QWEBPAGE_LINKDELEGATIONPOLICY )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retni( ( QWebPage::LinkDelegationPolicy ) ( p )->linkDelegationPolicy() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_LINKDELEGATIONPOLICY FP=hb_retni( ( QWebPage::LinkDelegationPolicy ) ( p )->linkDelegationPolicy() ); p is NULL" ) );
}
}
/*
* QWebFrame * mainFrame () const
*/
HB_FUNC( QT_QWEBPAGE_MAINFRAME )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->mainFrame(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_MAINFRAME FP=hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->mainFrame(), false ) ); p is NULL" ) );
}
}
/*
* QPalette palette () const
*/
HB_FUNC( QT_QWEBPAGE_PALETTE )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QPalette( new QPalette( ( p )->palette() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_PALETTE FP=hb_retptrGC( hbqt_gcAllocate_QPalette( new QPalette( ( p )->palette() ), true ) ); p is NULL" ) );
}
}
/*
* QWebPluginFactory * pluginFactory () const
*/
HB_FUNC( QT_QWEBPAGE_PLUGINFACTORY )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebPluginFactory( ( p )->pluginFactory(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_PLUGINFACTORY FP=hb_retptrGC( hbqt_gcAllocate_QWebPluginFactory( ( p )->pluginFactory(), false ) ); p is NULL" ) );
}
}
/*
* QString selectedText () const
*/
HB_FUNC( QT_QWEBPAGE_SELECTEDTEXT )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retc( ( p )->selectedText().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_SELECTEDTEXT FP=hb_retc( ( p )->selectedText().toAscii().data() ); p is NULL" ) );
}
}
/*
* void setContentEditable ( bool editable )
*/
HB_FUNC( QT_QWEBPAGE_SETCONTENTEDITABLE )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
( p )->setContentEditable( hb_parl( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_SETCONTENTEDITABLE FP=( p )->setContentEditable( hb_parl( 2 ) ); p is NULL" ) );
}
}
/*
* void setForwardUnsupportedContent ( bool forward )
*/
HB_FUNC( QT_QWEBPAGE_SETFORWARDUNSUPPORTEDCONTENT )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
( p )->setForwardUnsupportedContent( hb_parl( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_SETFORWARDUNSUPPORTEDCONTENT FP=( p )->setForwardUnsupportedContent( hb_parl( 2 ) ); p is NULL" ) );
}
}
/*
* void setLinkDelegationPolicy ( LinkDelegationPolicy policy )
*/
HB_FUNC( QT_QWEBPAGE_SETLINKDELEGATIONPOLICY )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
( p )->setLinkDelegationPolicy( ( QWebPage::LinkDelegationPolicy ) hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_SETLINKDELEGATIONPOLICY FP=( p )->setLinkDelegationPolicy( ( QWebPage::LinkDelegationPolicy ) hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setPalette ( const QPalette & palette )
*/
HB_FUNC( QT_QWEBPAGE_SETPALETTE )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
( p )->setPalette( *hbqt_par_QPalette( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_SETPALETTE FP=( p )->setPalette( *hbqt_par_QPalette( 2 ) ); p is NULL" ) );
}
}
/*
* void setPluginFactory ( QWebPluginFactory * factory )
*/
HB_FUNC( QT_QWEBPAGE_SETPLUGINFACTORY )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
( p )->setPluginFactory( hbqt_par_QWebPluginFactory( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_SETPLUGINFACTORY FP=( p )->setPluginFactory( hbqt_par_QWebPluginFactory( 2 ) ); p is NULL" ) );
}
}
/*
* void setView ( QWidget * view )
*/
HB_FUNC( QT_QWEBPAGE_SETVIEW )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
( p )->setView( hbqt_par_QWidget( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_SETVIEW FP=( p )->setView( hbqt_par_QWidget( 2 ) ); p is NULL" ) );
}
}
/*
* void setViewportSize ( const QSize & size ) const
*/
HB_FUNC( QT_QWEBPAGE_SETVIEWPORTSIZE )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
( p )->setViewportSize( *hbqt_par_QSize( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_SETVIEWPORTSIZE FP=( p )->setViewportSize( *hbqt_par_QSize( 2 ) ); p is NULL" ) );
}
}
/*
* QWebSettings * settings () const
*/
HB_FUNC( QT_QWEBPAGE_SETTINGS )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebSettings( ( p )->settings(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_SETTINGS FP=hb_retptrGC( hbqt_gcAllocate_QWebSettings( ( p )->settings(), false ) ); p is NULL" ) );
}
}
/*
* virtual bool supportsExtension ( Extension extension ) const
*/
HB_FUNC( QT_QWEBPAGE_SUPPORTSEXTENSION )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retl( ( p )->supportsExtension( ( QWebPage::Extension ) hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_SUPPORTSEXTENSION FP=hb_retl( ( p )->supportsExtension( ( QWebPage::Extension ) hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* bool swallowContextMenuEvent ( QContextMenuEvent * event )
*/
HB_FUNC( QT_QWEBPAGE_SWALLOWCONTEXTMENUEVENT )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retl( ( p )->swallowContextMenuEvent( hbqt_par_QContextMenuEvent( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_SWALLOWCONTEXTMENUEVENT FP=hb_retl( ( p )->swallowContextMenuEvent( hbqt_par_QContextMenuEvent( 2 ) ) ); p is NULL" ) );
}
}
/*
* quint64 totalBytes () const
*/
HB_FUNC( QT_QWEBPAGE_TOTALBYTES )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retnint( ( p )->totalBytes() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_TOTALBYTES FP=hb_retnint( ( p )->totalBytes() ); p is NULL" ) );
}
}
/*
* virtual void triggerAction ( WebAction action, bool checked = false )
*/
HB_FUNC( QT_QWEBPAGE_TRIGGERACTION )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
( p )->triggerAction( ( QWebPage::WebAction ) hb_parni( 2 ), hb_parl( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_TRIGGERACTION FP=( p )->triggerAction( ( QWebPage::WebAction ) hb_parni( 2 ), hb_parl( 3 ) ); p is NULL" ) );
}
}
/*
* void updatePositionDependentActions ( const QPoint & pos )
*/
HB_FUNC( QT_QWEBPAGE_UPDATEPOSITIONDEPENDENTACTIONS )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
( p )->updatePositionDependentActions( *hbqt_par_QPoint( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_UPDATEPOSITIONDEPENDENTACTIONS FP=( p )->updatePositionDependentActions( *hbqt_par_QPoint( 2 ) ); p is NULL" ) );
}
}
/*
* QWidget * view () const
*/
HB_FUNC( QT_QWEBPAGE_VIEW )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->view(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_VIEW FP=hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->view(), false ) ); p is NULL" ) );
}
}
/*
* QSize viewportSize () const
*/
HB_FUNC( QT_QWEBPAGE_VIEWPORTSIZE )
{
QWebPage * p = hbqt_par_QWebPage( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->viewportSize() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPAGE_VIEWPORTSIZE FP=hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->viewportSize() ), true ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,185 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
/*
* class ExtensionOption
* enum Extension { }
*/
/*
* Constructed[ 3/5 [ 60.00% ] ]
*
* *** Unconvered Prototypes ***
* -----------------------------
*
* virtual QList<Plugin> plugins () const = 0
*
* *** Commented out protos which construct fine but do not compile ***
*
* // virtual bool extension ( Extension extension, const ExtensionOption * option = 0, ExtensionReturn * output = 0 )
*/
#include <QtCore/QPointer>
#include <QtWebKit/QWebPluginFactory>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*
* QWebPluginFactory ( QObject * parent = 0 )
* virtual ~QWebPluginFactory ()
*/
typedef struct
{
QPointer< QWebPluginFactory > ph;
bool bNew;
QT_G_FUNC_PTR func;
} QGC_POINTER_QWebPluginFactory;
QT_G_FUNC( hbqt_gcRelease_QWebPluginFactory )
{
HB_SYMBOL_UNUSED( Cargo );
QGC_POINTER * p = ( QGC_POINTER * ) Cargo;
if( p && p->bNew )
{
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QWebPluginFactory( void * pObj, bool bNew )
{
QGC_POINTER_QWebPluginFactory * p = ( QGC_POINTER_QWebPluginFactory * ) hb_gcAllocate( sizeof( QGC_POINTER_QWebPluginFactory ), hbqt_gcFuncs() );
new( & p->ph ) QPointer< QWebPluginFactory >( ( QWebPluginFactory * ) pObj );
p->bNew = bNew;
p->func = hbqt_gcRelease_QWebPluginFactory;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QWebPluginFactory under p->pq", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QWebPluginFactory", pObj ) );
}
return p;
}
HB_FUNC( QT_QWEBPLUGINFACTORY )
{
//hb_retptr( ( QWebPluginFactory* ) new QWebPluginFactory() );
}
/*
* virtual QObject * create ( const QString & mimeType, const QUrl & url, const QStringList & argumentNames, const QStringList & argumentValues ) const = 0
*/
HB_FUNC( QT_QWEBPLUGINFACTORY_CREATE )
{
QWebPluginFactory * p = hbqt_par_QWebPluginFactory( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QObject( ( p )->create( QWebPluginFactory::tr( hb_parc( 2 ) ), *hbqt_par_QUrl( 3 ), *hbqt_par_QStringList( 4 ), *hbqt_par_QStringList( 5 ) ), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPLUGINFACTORY_CREATE FP=hb_retptrGC( hbqt_gcAllocate_QObject( ( p )->create( QWebPluginFactory::tr( hb_parc( 2 ) ), *hbqt_par_QUrl( 3 ), *hbqt_par_QStringList( 4 ), *hbqt_par_QStringList( 5 ) ), false ) ); p is NULL" ) );
}
}
/*
* virtual void refreshPlugins ()
*/
HB_FUNC( QT_QWEBPLUGINFACTORY_REFRESHPLUGINS )
{
QWebPluginFactory * p = hbqt_par_QWebPluginFactory( 1 );
if( p )
( p )->refreshPlugins();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPLUGINFACTORY_REFRESHPLUGINS FP=( p )->refreshPlugins(); p is NULL" ) );
}
}
/*
* virtual bool supportsExtension ( Extension extension ) const
*/
HB_FUNC( QT_QWEBPLUGINFACTORY_SUPPORTSEXTENSION )
{
QWebPluginFactory * p = hbqt_par_QWebPluginFactory( 1 );
if( p )
hb_retl( ( p )->supportsExtension( ( QWebPluginFactory::Extension ) hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBPLUGINFACTORY_SUPPORTSEXTENSION FP=hb_retl( ( p )->supportsExtension( ( QWebPluginFactory::Extension ) hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,241 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
/*
* Constructed[ 6/8 [ 75.00% ] ]
*
* *** Unconvered Prototypes ***
* -----------------------------
*
* QList<QWebDatabase> databases () const
* QList<QWebSecurityOrigin> allOrigins ()
*/
#include <QtCore/QPointer>
#include <QtWebKit/QWebSecurityOrigin>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*
* QWebSecurityOrigin ( const QWebSecurityOrigin & other )
* ~QWebSecurityOrigin ()
*/
typedef struct
{
QWebSecurityOrigin * ph;
bool bNew;
QT_G_FUNC_PTR func;
} QGC_POINTER_QWebSecurityOrigin;
QT_G_FUNC( hbqt_gcRelease_QWebSecurityOrigin )
{
QGC_POINTER * p = ( QGC_POINTER * ) Cargo;
if( p && p->bNew )
{
if( p->ph )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _rel_QWebSecurityOrigin /.\\", p->ph ) );
delete ( ( QWebSecurityOrigin * ) p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p YES_rel_QWebSecurityOrigin \\./", p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QWebSecurityOrigin : Object already deleted!", p->ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QWebSecurityOrigin : Object not created with new=true", p->ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QWebSecurityOrigin( void * pObj, bool bNew )
{
QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAllocate( sizeof( QGC_POINTER ), hbqt_gcFuncs() );
p->ph = ( QWebSecurityOrigin * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QWebSecurityOrigin;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QWebSecurityOrigin", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QWebSecurityOrigin", pObj ) );
}
return p;
}
HB_FUNC( QT_QWEBSECURITYORIGIN )
{
QWebSecurityOrigin * pObj = NULL;
if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
pObj = new QWebSecurityOrigin( *hbqt_par_QWebSecurityOrigin( 1 ) ) ;
}
hb_retptrGC( hbqt_gcAllocate_QWebSecurityOrigin( ( void * ) pObj, true ) );
}
/*
* qint64 databaseQuota () const
*/
HB_FUNC( QT_QWEBSECURITYORIGIN_DATABASEQUOTA )
{
QWebSecurityOrigin * p = hbqt_par_QWebSecurityOrigin( 1 );
if( p )
hb_retnint( ( p )->databaseQuota() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSECURITYORIGIN_DATABASEQUOTA FP=hb_retnint( ( p )->databaseQuota() ); p is NULL" ) );
}
}
/*
* qint64 databaseUsage () const
*/
HB_FUNC( QT_QWEBSECURITYORIGIN_DATABASEUSAGE )
{
QWebSecurityOrigin * p = hbqt_par_QWebSecurityOrigin( 1 );
if( p )
hb_retnint( ( p )->databaseUsage() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSECURITYORIGIN_DATABASEUSAGE FP=hb_retnint( ( p )->databaseUsage() ); p is NULL" ) );
}
}
/*
* QString host () const
*/
HB_FUNC( QT_QWEBSECURITYORIGIN_HOST )
{
QWebSecurityOrigin * p = hbqt_par_QWebSecurityOrigin( 1 );
if( p )
hb_retc( ( p )->host().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSECURITYORIGIN_HOST FP=hb_retc( ( p )->host().toAscii().data() ); p is NULL" ) );
}
}
/*
* int port () const
*/
HB_FUNC( QT_QWEBSECURITYORIGIN_PORT )
{
QWebSecurityOrigin * p = hbqt_par_QWebSecurityOrigin( 1 );
if( p )
hb_retni( ( p )->port() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSECURITYORIGIN_PORT FP=hb_retni( ( p )->port() ); p is NULL" ) );
}
}
/*
* QString scheme () const
*/
HB_FUNC( QT_QWEBSECURITYORIGIN_SCHEME )
{
QWebSecurityOrigin * p = hbqt_par_QWebSecurityOrigin( 1 );
if( p )
hb_retc( ( p )->scheme().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSECURITYORIGIN_SCHEME FP=hb_retc( ( p )->scheme().toAscii().data() ); p is NULL" ) );
}
}
/*
* void setDatabaseQuota ( qint64 quota )
*/
HB_FUNC( QT_QWEBSECURITYORIGIN_SETDATABASEQUOTA )
{
QWebSecurityOrigin * p = hbqt_par_QWebSecurityOrigin( 1 );
if( p )
( p )->setDatabaseQuota( hb_parnint( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSECURITYORIGIN_SETDATABASEQUOTA FP=( p )->setDatabaseQuota( hb_parnint( 2 ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,482 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
/*
* enum FontFamily { StandardFont, FixedFont, SerifFont, SansSerifFont, CursiveFont, FantasyFont }
* enum FontSize { MinimumFontSize, MinimumLogicalFontSize, DefaultFontSize, DefaultFixedFontSize }
* enum WebAttribute { AutoLoadImages, JavascriptEnabled, JavaEnabled, PluginsEnabled, ..., LocalStorageDatabaseEnabled }
* enum WebGraphic { MissingImageGraphic, MissingPluginGraphic, DefaultFrameIconGraphic, TextAreaSizeGripCornerGraphic }
*/
#include <QtCore/QPointer>
#include <QtWebKit/QWebSettings>
#include <QtCore/QUrl>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*
*
*/
typedef struct
{
QWebSettings * ph;
bool bNew;
QT_G_FUNC_PTR func;
} QGC_POINTER_QWebSettings;
QT_G_FUNC( hbqt_gcRelease_QWebSettings )
{
HB_SYMBOL_UNUSED( Cargo );
QGC_POINTER * p = ( QGC_POINTER * ) Cargo;
if( p && p->bNew )
{
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QWebSettings( void * pObj, bool bNew )
{
QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAllocate( sizeof( QGC_POINTER ), hbqt_gcFuncs() );
p->ph = ( QWebSettings * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QWebSettings;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QWebSettings", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QWebSettings", pObj ) );
}
return p;
}
HB_FUNC( QT_QWEBSETTINGS )
{
//hb_retptr( ( QWebSettings* ) new QWebSettings() );
}
/*
* QString fontFamily ( FontFamily which ) const
*/
HB_FUNC( QT_QWEBSETTINGS_FONTFAMILY )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
hb_retc( ( p )->fontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ) ).toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_FONTFAMILY FP=hb_retc( ( p )->fontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ) ).toAscii().data() ); p is NULL" ) );
}
}
/*
* int fontSize ( FontSize type ) const
*/
HB_FUNC( QT_QWEBSETTINGS_FONTSIZE )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
hb_retni( ( p )->fontSize( ( QWebSettings::FontSize ) hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_FONTSIZE FP=hb_retni( ( p )->fontSize( ( QWebSettings::FontSize ) hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* void resetAttribute ( WebAttribute attribute )
*/
HB_FUNC( QT_QWEBSETTINGS_RESETATTRIBUTE )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
( p )->resetAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_RESETATTRIBUTE FP=( p )->resetAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void resetFontFamily ( FontFamily which )
*/
HB_FUNC( QT_QWEBSETTINGS_RESETFONTFAMILY )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
( p )->resetFontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_RESETFONTFAMILY FP=( p )->resetFontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void resetFontSize ( FontSize type )
*/
HB_FUNC( QT_QWEBSETTINGS_RESETFONTSIZE )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
( p )->resetFontSize( ( QWebSettings::FontSize ) hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_RESETFONTSIZE FP=( p )->resetFontSize( ( QWebSettings::FontSize ) hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setAttribute ( WebAttribute attribute, bool on )
*/
HB_FUNC( QT_QWEBSETTINGS_SETATTRIBUTE )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
( p )->setAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ), hb_parl( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_SETATTRIBUTE FP=( p )->setAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ), hb_parl( 3 ) ); p is NULL" ) );
}
}
/*
* void setFontFamily ( FontFamily which, const QString & family )
*/
HB_FUNC( QT_QWEBSETTINGS_SETFONTFAMILY )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
( p )->setFontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ), hbqt_par_QString( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_SETFONTFAMILY FP=( p )->setFontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ), hbqt_par_QString( 3 ) ); p is NULL" ) );
}
}
/*
* void setFontSize ( FontSize type, int size )
*/
HB_FUNC( QT_QWEBSETTINGS_SETFONTSIZE )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
( p )->setFontSize( ( QWebSettings::FontSize ) hb_parni( 2 ), hb_parni( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_SETFONTSIZE FP=( p )->setFontSize( ( QWebSettings::FontSize ) hb_parni( 2 ), hb_parni( 3 ) ); p is NULL" ) );
}
}
/*
* void setUserStyleSheetUrl ( const QUrl & location )
*/
HB_FUNC( QT_QWEBSETTINGS_SETUSERSTYLESHEETURL )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
( p )->setUserStyleSheetUrl( *hbqt_par_QUrl( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_SETUSERSTYLESHEETURL FP=( p )->setUserStyleSheetUrl( *hbqt_par_QUrl( 2 ) ); p is NULL" ) );
}
}
/*
* bool testAttribute ( WebAttribute attribute ) const
*/
HB_FUNC( QT_QWEBSETTINGS_TESTATTRIBUTE )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
hb_retl( ( p )->testAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_TESTATTRIBUTE FP=hb_retl( ( p )->testAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* QUrl userStyleSheetUrl () const
*/
HB_FUNC( QT_QWEBSETTINGS_USERSTYLESHEETURL )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->userStyleSheetUrl() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_USERSTYLESHEETURL FP=hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->userStyleSheetUrl() ), true ) ); p is NULL" ) );
}
}
/*
* void clearIconDatabase ()
*/
HB_FUNC( QT_QWEBSETTINGS_CLEARICONDATABASE )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
( p )->clearIconDatabase();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_CLEARICONDATABASE FP=( p )->clearIconDatabase(); p is NULL" ) );
}
}
/*
* QWebSettings * globalSettings ()
*/
HB_FUNC( QT_QWEBSETTINGS_GLOBALSETTINGS )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebSettings( ( p )->globalSettings(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_GLOBALSETTINGS FP=hb_retptrGC( hbqt_gcAllocate_QWebSettings( ( p )->globalSettings(), false ) ); p is NULL" ) );
}
}
/*
* QString iconDatabasePath ()
*/
HB_FUNC( QT_QWEBSETTINGS_ICONDATABASEPATH )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
hb_retc( ( p )->iconDatabasePath().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_ICONDATABASEPATH FP=hb_retc( ( p )->iconDatabasePath().toAscii().data() ); p is NULL" ) );
}
}
/*
* QIcon iconForUrl ( const QUrl & url )
*/
HB_FUNC( QT_QWEBSETTINGS_ICONFORURL )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->iconForUrl( *hbqt_par_QUrl( 2 ) ) ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_ICONFORURL FP=hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->iconForUrl( *hbqt_par_QUrl( 2 ) ) ), true ) ); p is NULL" ) );
}
}
/*
* int maximumPagesInCache ()
*/
HB_FUNC( QT_QWEBSETTINGS_MAXIMUMPAGESINCACHE )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
hb_retni( ( p )->maximumPagesInCache() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_MAXIMUMPAGESINCACHE FP=hb_retni( ( p )->maximumPagesInCache() ); p is NULL" ) );
}
}
/*
* qint64 offlineStorageDefaultQuota ()
*/
HB_FUNC( QT_QWEBSETTINGS_OFFLINESTORAGEDEFAULTQUOTA )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
hb_retnint( ( p )->offlineStorageDefaultQuota() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_OFFLINESTORAGEDEFAULTQUOTA FP=hb_retnint( ( p )->offlineStorageDefaultQuota() ); p is NULL" ) );
}
}
/*
* QString offlineStoragePath ()
*/
HB_FUNC( QT_QWEBSETTINGS_OFFLINESTORAGEPATH )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
hb_retc( ( p )->offlineStoragePath().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_OFFLINESTORAGEPATH FP=hb_retc( ( p )->offlineStoragePath().toAscii().data() ); p is NULL" ) );
}
}
/*
* void setIconDatabasePath ( const QString & path )
*/
HB_FUNC( QT_QWEBSETTINGS_SETICONDATABASEPATH )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
( p )->setIconDatabasePath( hbqt_par_QString( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_SETICONDATABASEPATH FP=( p )->setIconDatabasePath( hbqt_par_QString( 2 ) ); p is NULL" ) );
}
}
/*
* void setMaximumPagesInCache ( int pages )
*/
HB_FUNC( QT_QWEBSETTINGS_SETMAXIMUMPAGESINCACHE )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
( p )->setMaximumPagesInCache( hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_SETMAXIMUMPAGESINCACHE FP=( p )->setMaximumPagesInCache( hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setObjectCacheCapacities ( int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity )
*/
HB_FUNC( QT_QWEBSETTINGS_SETOBJECTCACHECAPACITIES )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
( p )->setObjectCacheCapacities( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_SETOBJECTCACHECAPACITIES FP=( p )->setObjectCacheCapacities( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); p is NULL" ) );
}
}
/*
* void setOfflineStorageDefaultQuota ( qint64 maximumSize )
*/
HB_FUNC( QT_QWEBSETTINGS_SETOFFLINESTORAGEDEFAULTQUOTA )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
( p )->setOfflineStorageDefaultQuota( hb_parnint( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_SETOFFLINESTORAGEDEFAULTQUOTA FP=( p )->setOfflineStorageDefaultQuota( hb_parnint( 2 ) ); p is NULL" ) );
}
}
/*
* void setOfflineStoragePath ( const QString & path )
*/
HB_FUNC( QT_QWEBSETTINGS_SETOFFLINESTORAGEPATH )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
( p )->setOfflineStoragePath( hbqt_par_QString( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_SETOFFLINESTORAGEPATH FP=( p )->setOfflineStoragePath( hbqt_par_QString( 2 ) ); p is NULL" ) );
}
}
/*
* void setWebGraphic ( WebGraphic type, const QPixmap & graphic )
*/
HB_FUNC( QT_QWEBSETTINGS_SETWEBGRAPHIC )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
( p )->setWebGraphic( ( QWebSettings::WebGraphic ) hb_parni( 2 ), *hbqt_par_QPixmap( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_SETWEBGRAPHIC FP=( p )->setWebGraphic( ( QWebSettings::WebGraphic ) hb_parni( 2 ), *hbqt_par_QPixmap( 3 ) ); p is NULL" ) );
}
}
/*
* QPixmap webGraphic ( WebGraphic type )
*/
HB_FUNC( QT_QWEBSETTINGS_WEBGRAPHIC )
{
QWebSettings * p = hbqt_par_QWebSettings( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->webGraphic( ( QWebSettings::WebGraphic ) hb_parni( 2 ) ) ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBSETTINGS_WEBGRAPHIC FP=hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->webGraphic( ( QWebSettings::WebGraphic ) hb_parni( 2 ) ) ), true ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,519 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtWebKit/QWebView>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*
* QWebView ( QWidget * parent = 0 )
* virtual ~QWebView ()
*/
typedef struct
{
QPointer< QWebView > ph;
bool bNew;
QT_G_FUNC_PTR func;
} QGC_POINTER_QWebView;
QT_G_FUNC( hbqt_gcRelease_QWebView )
{
QWebView * ph = NULL ;
QGC_POINTER_QWebView * p = ( QGC_POINTER_QWebView * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();
if( ( QString ) m->className() != ( QString ) "QObject" )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QWebView /.\\ ", (void*) ph, (void*) p->ph ) );
delete ( p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QWebView \\./ ", (void*) ph, (void*) p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NO__rel_QWebView ", ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QWebView : Object already deleted!", ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QWebView : Object not created with new=true", ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QWebView( void * pObj, bool bNew )
{
QGC_POINTER_QWebView * p = ( QGC_POINTER_QWebView * ) hb_gcAllocate( sizeof( QGC_POINTER_QWebView ), hbqt_gcFuncs() );
new( & p->ph ) QPointer< QWebView >( ( QWebView * ) pObj );
p->bNew = bNew;
p->func = hbqt_gcRelease_QWebView;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QWebView under p->pq", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QWebView", pObj ) );
}
return p;
}
HB_FUNC( QT_QWEBVIEW )
{
QWebView * pObj = NULL;
pObj = new QWebView( hbqt_par_QWidget( 1 ) ) ;
hb_retptrGC( hbqt_gcAllocate_QWebView( ( void * ) pObj, true ) );
}
/*
* bool findText ( const QString & subString, QWebPage::FindFlags options = 0 )
*/
HB_FUNC( QT_QWEBVIEW_FINDTEXT )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
hb_retl( ( p )->findText( QWebView::tr( hb_parc( 2 ) ), ( QWebPage::FindFlags ) hb_parni( 3 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_FINDTEXT FP=hb_retl( ( p )->findText( QWebView::tr( hb_parc( 2 ) ), ( QWebPage::FindFlags ) hb_parni( 3 ) ) ); p is NULL" ) );
}
}
/*
* QWebHistory * history () const
*/
HB_FUNC( QT_QWEBVIEW_HISTORY )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebHistory( ( p )->history(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_HISTORY FP=hb_retptrGC( hbqt_gcAllocate_QWebHistory( ( p )->history(), false ) ); p is NULL" ) );
}
}
/*
* QIcon icon () const
*/
HB_FUNC( QT_QWEBVIEW_ICON )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_ICON FP=hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) ); p is NULL" ) );
}
}
/*
* bool isModified () const
*/
HB_FUNC( QT_QWEBVIEW_ISMODIFIED )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
hb_retl( ( p )->isModified() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_ISMODIFIED FP=hb_retl( ( p )->isModified() ); p is NULL" ) );
}
}
/*
* void load ( const QUrl & url )
*/
HB_FUNC( QT_QWEBVIEW_LOAD )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
( p )->load( *hbqt_par_QUrl( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_LOAD FP=( p )->load( *hbqt_par_QUrl( 2 ) ); p is NULL" ) );
}
}
/*
* void load ( const QNetworkRequest & request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray & body = QByteArray() )
*/
HB_FUNC( QT_QWEBVIEW_LOAD_1 )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
( p )->load( *hbqt_par_QNetworkRequest( 2 ), ( HB_ISNUM( 3 ) ? ( QNetworkAccessManager::Operation ) hb_parni( 3 ) : ( QNetworkAccessManager::Operation ) QNetworkAccessManager::GetOperation ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QByteArray( 4 ) : QByteArray() ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_LOAD_1 FP=( p )->load( *hbqt_par_QNetworkRequest( 2 ), ( HB_ISNUM( 3 ) ? ( QNetworkAccessManager::Operation ) hb_parni( 3 ) : ( QNetworkAccessManager::Operation ) QNetworkAccessManager::GetOperation ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QByteArray( 4 ) : QByteArray() ) ); p is NULL" ) );
}
}
/*
* QWebPage * page () const
*/
HB_FUNC( QT_QWEBVIEW_PAGE )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebPage( ( p )->page(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_PAGE FP=hb_retptrGC( hbqt_gcAllocate_QWebPage( ( p )->page(), false ) ); p is NULL" ) );
}
}
/*
* QAction * pageAction ( QWebPage::WebAction action ) const
*/
HB_FUNC( QT_QWEBVIEW_PAGEACTION )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->pageAction( ( QWebPage::WebAction ) hb_parni( 2 ) ), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_PAGEACTION FP=hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->pageAction( ( QWebPage::WebAction ) hb_parni( 2 ) ), false ) ); p is NULL" ) );
}
}
/*
* QString selectedText () const
*/
HB_FUNC( QT_QWEBVIEW_SELECTEDTEXT )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
hb_retc( ( p )->selectedText().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_SELECTEDTEXT FP=hb_retc( ( p )->selectedText().toAscii().data() ); p is NULL" ) );
}
}
/*
* void setContent ( const QByteArray & data, const QString & mimeType = QString(), const QUrl & baseUrl = QUrl() )
*/
HB_FUNC( QT_QWEBVIEW_SETCONTENT )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
( p )->setContent( *hbqt_par_QByteArray( 2 ), QWebView::tr( hb_parc( 3 ) ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QUrl( 4 ) : QUrl() ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_SETCONTENT FP=( p )->setContent( *hbqt_par_QByteArray( 2 ), QWebView::tr( hb_parc( 3 ) ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QUrl( 4 ) : QUrl() ) ); p is NULL" ) );
}
}
/*
* void setHtml ( const QString & html, const QUrl & baseUrl = QUrl() )
*/
HB_FUNC( QT_QWEBVIEW_SETHTML )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
( p )->setHtml( QWebView::tr( hb_parc( 2 ) ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QUrl( 3 ) : QUrl() ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_SETHTML FP=( p )->setHtml( QWebView::tr( hb_parc( 2 ) ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QUrl( 3 ) : QUrl() ) ); p is NULL" ) );
}
}
/*
* void setPage ( QWebPage * page )
*/
HB_FUNC( QT_QWEBVIEW_SETPAGE )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
( p )->setPage( hbqt_par_QWebPage( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_SETPAGE FP=( p )->setPage( hbqt_par_QWebPage( 2 ) ); p is NULL" ) );
}
}
/*
* void setTextSizeMultiplier ( qreal factor )
*/
HB_FUNC( QT_QWEBVIEW_SETTEXTSIZEMULTIPLIER )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
( p )->setTextSizeMultiplier( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_SETTEXTSIZEMULTIPLIER FP=( p )->setTextSizeMultiplier( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* void setUrl ( const QUrl & url )
*/
HB_FUNC( QT_QWEBVIEW_SETURL )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
( p )->setUrl( *hbqt_par_QUrl( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_SETURL FP=( p )->setUrl( *hbqt_par_QUrl( 2 ) ); p is NULL" ) );
}
}
/*
* void setZoomFactor ( qreal factor )
*/
HB_FUNC( QT_QWEBVIEW_SETZOOMFACTOR )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
( p )->setZoomFactor( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_SETZOOMFACTOR FP=( p )->setZoomFactor( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* QWebSettings * settings () const
*/
HB_FUNC( QT_QWEBVIEW_SETTINGS )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWebSettings( ( p )->settings(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_SETTINGS FP=hb_retptrGC( hbqt_gcAllocate_QWebSettings( ( p )->settings(), false ) ); p is NULL" ) );
}
}
/*
* qreal textSizeMultiplier () const
*/
HB_FUNC( QT_QWEBVIEW_TEXTSIZEMULTIPLIER )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
hb_retnd( ( p )->textSizeMultiplier() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_TEXTSIZEMULTIPLIER FP=hb_retnd( ( p )->textSizeMultiplier() ); p is NULL" ) );
}
}
/*
* QString title () const
*/
HB_FUNC( QT_QWEBVIEW_TITLE )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
hb_retc( ( p )->title().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_TITLE FP=hb_retc( ( p )->title().toAscii().data() ); p is NULL" ) );
}
}
/*
* void triggerPageAction ( QWebPage::WebAction action, bool checked = false )
*/
HB_FUNC( QT_QWEBVIEW_TRIGGERPAGEACTION )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
( p )->triggerPageAction( ( QWebPage::WebAction ) hb_parni( 2 ), hb_parl( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_TRIGGERPAGEACTION FP=( p )->triggerPageAction( ( QWebPage::WebAction ) hb_parni( 2 ), hb_parl( 3 ) ); p is NULL" ) );
}
}
/*
* QUrl url () const
*/
HB_FUNC( QT_QWEBVIEW_URL )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->url() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_URL FP=hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->url() ), true ) ); p is NULL" ) );
}
}
/*
* qreal zoomFactor () const
*/
HB_FUNC( QT_QWEBVIEW_ZOOMFACTOR )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
hb_retnd( ( p )->zoomFactor() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_ZOOMFACTOR FP=hb_retnd( ( p )->zoomFactor() ); p is NULL" ) );
}
}
/*
* void back ()
*/
HB_FUNC( QT_QWEBVIEW_BACK )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
( p )->back();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_BACK FP=( p )->back(); p is NULL" ) );
}
}
/*
* void forward ()
*/
HB_FUNC( QT_QWEBVIEW_FORWARD )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
( p )->forward();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_FORWARD FP=( p )->forward(); p is NULL" ) );
}
}
/*
* void print ( QPrinter * printer ) const
*/
HB_FUNC( QT_QWEBVIEW_PRINT )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
( p )->print( hbqt_par_QPrinter( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_PRINT FP=( p )->print( hbqt_par_QPrinter( 2 ) ); p is NULL" ) );
}
}
/*
* void reload ()
*/
HB_FUNC( QT_QWEBVIEW_RELOAD )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
( p )->reload();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_RELOAD FP=( p )->reload(); p is NULL" ) );
}
}
/*
* void stop ()
*/
HB_FUNC( QT_QWEBVIEW_STOP )
{
QWebView * p = hbqt_par_QWebView( 1 );
if( p )
( p )->stop();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QWEBVIEW_STOP FP=( p )->stop(); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,266 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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 "hbclass.ch"
CREATE CLASS QWebFrame INHERIT HbQtObjectHandler, QObject
METHOD new( ... )
METHOD addToJavaScriptWindowObject( cName, pObject )
METHOD addToJavaScriptWindowObject_1( cName, pObject, nOwn )
METHOD contentsSize()
METHOD frameName()
METHOD geometry()
METHOD hitTestContent( pPos )
METHOD icon()
METHOD load( pUrl )
METHOD page()
METHOD parentFrame()
METHOD pos()
METHOD render( pPainter, pClip )
METHOD render_1( pPainter )
METHOD renderTreeDump()
METHOD scroll( nDx, nDy )
METHOD scrollBarMaximum( nOrientation )
METHOD scrollBarMinimum( nOrientation )
METHOD scrollBarPolicy( nOrientation )
METHOD scrollBarValue( nOrientation )
METHOD scrollPosition()
METHOD securityOrigin()
METHOD setContent( pData, cMimeType, pBaseUrl )
METHOD setHtml( cHtml, pBaseUrl )
METHOD setScrollBarPolicy( nOrientation, nPolicy )
METHOD setScrollBarValue( nOrientation, nValue )
METHOD setScrollPosition( pPos )
METHOD setTextSizeMultiplier( nFactor )
METHOD setUrl( pUrl )
METHOD setZoomFactor( nFactor )
METHOD textSizeMultiplier()
METHOD title()
METHOD toHtml()
METHOD toPlainText()
METHOD url()
METHOD zoomFactor()
METHOD evaluateJavaScript( cScriptSource )
METHOD print( pPrinter )
ENDCLASS
METHOD QWebFrame:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QWebFrame( ... )
RETURN Self
METHOD QWebFrame:addToJavaScriptWindowObject( cName, pObject )
RETURN Qt_QWebFrame_addToJavaScriptWindowObject( ::pPtr, cName, hbqt_ptr( pObject ) )
METHOD QWebFrame:addToJavaScriptWindowObject_1( cName, pObject, nOwn )
RETURN Qt_QWebFrame_addToJavaScriptWindowObject_1( ::pPtr, cName, hbqt_ptr( pObject ), nOwn )
METHOD QWebFrame:contentsSize()
RETURN Qt_QWebFrame_contentsSize( ::pPtr )
METHOD QWebFrame:frameName()
RETURN Qt_QWebFrame_frameName( ::pPtr )
METHOD QWebFrame:geometry()
RETURN Qt_QWebFrame_geometry( ::pPtr )
METHOD QWebFrame:hitTestContent( pPos )
RETURN Qt_QWebFrame_hitTestContent( ::pPtr, hbqt_ptr( pPos ) )
METHOD QWebFrame:icon()
RETURN Qt_QWebFrame_icon( ::pPtr )
METHOD QWebFrame:load( pUrl )
RETURN Qt_QWebFrame_load( ::pPtr, hbqt_ptr( pUrl ) )
METHOD QWebFrame:page()
RETURN Qt_QWebFrame_page( ::pPtr )
METHOD QWebFrame:parentFrame()
RETURN Qt_QWebFrame_parentFrame( ::pPtr )
METHOD QWebFrame:pos()
RETURN Qt_QWebFrame_pos( ::pPtr )
METHOD QWebFrame:render( pPainter, pClip )
RETURN Qt_QWebFrame_render( ::pPtr, hbqt_ptr( pPainter ), hbqt_ptr( pClip ) )
METHOD QWebFrame:render_1( pPainter )
RETURN Qt_QWebFrame_render_1( ::pPtr, hbqt_ptr( pPainter ) )
METHOD QWebFrame:renderTreeDump()
RETURN Qt_QWebFrame_renderTreeDump( ::pPtr )
METHOD QWebFrame:scroll( nDx, nDy )
RETURN Qt_QWebFrame_scroll( ::pPtr, nDx, nDy )
METHOD QWebFrame:scrollBarMaximum( nOrientation )
RETURN Qt_QWebFrame_scrollBarMaximum( ::pPtr, nOrientation )
METHOD QWebFrame:scrollBarMinimum( nOrientation )
RETURN Qt_QWebFrame_scrollBarMinimum( ::pPtr, nOrientation )
METHOD QWebFrame:scrollBarPolicy( nOrientation )
RETURN Qt_QWebFrame_scrollBarPolicy( ::pPtr, nOrientation )
METHOD QWebFrame:scrollBarValue( nOrientation )
RETURN Qt_QWebFrame_scrollBarValue( ::pPtr, nOrientation )
METHOD QWebFrame:scrollPosition()
RETURN Qt_QWebFrame_scrollPosition( ::pPtr )
METHOD QWebFrame:securityOrigin()
RETURN Qt_QWebFrame_securityOrigin( ::pPtr )
METHOD QWebFrame:setContent( pData, cMimeType, pBaseUrl )
RETURN Qt_QWebFrame_setContent( ::pPtr, hbqt_ptr( pData ), cMimeType, hbqt_ptr( pBaseUrl ) )
METHOD QWebFrame:setHtml( cHtml, pBaseUrl )
RETURN Qt_QWebFrame_setHtml( ::pPtr, cHtml, hbqt_ptr( pBaseUrl ) )
METHOD QWebFrame:setScrollBarPolicy( nOrientation, nPolicy )
RETURN Qt_QWebFrame_setScrollBarPolicy( ::pPtr, nOrientation, nPolicy )
METHOD QWebFrame:setScrollBarValue( nOrientation, nValue )
RETURN Qt_QWebFrame_setScrollBarValue( ::pPtr, nOrientation, nValue )
METHOD QWebFrame:setScrollPosition( pPos )
RETURN Qt_QWebFrame_setScrollPosition( ::pPtr, hbqt_ptr( pPos ) )
METHOD QWebFrame:setTextSizeMultiplier( nFactor )
RETURN Qt_QWebFrame_setTextSizeMultiplier( ::pPtr, nFactor )
METHOD QWebFrame:setUrl( pUrl )
RETURN Qt_QWebFrame_setUrl( ::pPtr, hbqt_ptr( pUrl ) )
METHOD QWebFrame:setZoomFactor( nFactor )
RETURN Qt_QWebFrame_setZoomFactor( ::pPtr, nFactor )
METHOD QWebFrame:textSizeMultiplier()
RETURN Qt_QWebFrame_textSizeMultiplier( ::pPtr )
METHOD QWebFrame:title()
RETURN Qt_QWebFrame_title( ::pPtr )
METHOD QWebFrame:toHtml()
RETURN Qt_QWebFrame_toHtml( ::pPtr )
METHOD QWebFrame:toPlainText()
RETURN Qt_QWebFrame_toPlainText( ::pPtr )
METHOD QWebFrame:url()
RETURN Qt_QWebFrame_url( ::pPtr )
METHOD QWebFrame:zoomFactor()
RETURN Qt_QWebFrame_zoomFactor( ::pPtr )
METHOD QWebFrame:evaluateJavaScript( cScriptSource )
RETURN Qt_QWebFrame_evaluateJavaScript( ::pPtr, cScriptSource )
METHOD QWebFrame:print( pPrinter )
RETURN Qt_QWebFrame_print( ::pPtr, hbqt_ptr( pPrinter ) )

View File

@@ -0,0 +1,151 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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 "hbclass.ch"
CREATE CLASS QWebHistory INHERIT HbQtObjectHandler
METHOD new( ... )
METHOD back()
METHOD backItem()
METHOD canGoBack()
METHOD canGoForward()
METHOD clear()
METHOD count()
METHOD currentItem()
METHOD currentItemIndex()
METHOD forward()
METHOD forwardItem()
METHOD goToItem( pItem )
METHOD itemAt( nI )
METHOD maximumItemCount()
METHOD setMaximumItemCount( nCount )
ENDCLASS
METHOD QWebHistory:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QWebHistory( ... )
RETURN Self
METHOD QWebHistory:back()
RETURN Qt_QWebHistory_back( ::pPtr )
METHOD QWebHistory:backItem()
RETURN Qt_QWebHistory_backItem( ::pPtr )
METHOD QWebHistory:canGoBack()
RETURN Qt_QWebHistory_canGoBack( ::pPtr )
METHOD QWebHistory:canGoForward()
RETURN Qt_QWebHistory_canGoForward( ::pPtr )
METHOD QWebHistory:clear()
RETURN Qt_QWebHistory_clear( ::pPtr )
METHOD QWebHistory:count()
RETURN Qt_QWebHistory_count( ::pPtr )
METHOD QWebHistory:currentItem()
RETURN Qt_QWebHistory_currentItem( ::pPtr )
METHOD QWebHistory:currentItemIndex()
RETURN Qt_QWebHistory_currentItemIndex( ::pPtr )
METHOD QWebHistory:forward()
RETURN Qt_QWebHistory_forward( ::pPtr )
METHOD QWebHistory:forwardItem()
RETURN Qt_QWebHistory_forwardItem( ::pPtr )
METHOD QWebHistory:goToItem( pItem )
RETURN Qt_QWebHistory_goToItem( ::pPtr, hbqt_ptr( pItem ) )
METHOD QWebHistory:itemAt( nI )
RETURN Qt_QWebHistory_itemAt( ::pPtr, nI )
METHOD QWebHistory:maximumItemCount()
RETURN Qt_QWebHistory_maximumItemCount( ::pPtr )
METHOD QWebHistory:setMaximumItemCount( nCount )
RETURN Qt_QWebHistory_setMaximumItemCount( ::pPtr, nCount )

View File

@@ -0,0 +1,101 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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 "hbclass.ch"
CREATE CLASS QWebHistoryInterface INHERIT HbQtObjectHandler, QObject
METHOD new( ... )
METHOD addHistoryEntry( cUrl )
METHOD historyContains( cUrl )
METHOD defaultInterface()
METHOD setDefaultInterface( pDefaultInterface )
ENDCLASS
METHOD QWebHistoryInterface:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QWebHistoryInterface( ... )
RETURN Self
METHOD QWebHistoryInterface:addHistoryEntry( cUrl )
RETURN Qt_QWebHistoryInterface_addHistoryEntry( ::pPtr, cUrl )
METHOD QWebHistoryInterface:historyContains( cUrl )
RETURN Qt_QWebHistoryInterface_historyContains( ::pPtr, cUrl )
METHOD QWebHistoryInterface:defaultInterface()
RETURN Qt_QWebHistoryInterface_defaultInterface( ::pPtr )
METHOD QWebHistoryInterface:setDefaultInterface( pDefaultInterface )
RETURN Qt_QWebHistoryInterface_setDefaultInterface( ::pPtr, hbqt_ptr( pDefaultInterface ) )

View File

@@ -0,0 +1,121 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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 "hbclass.ch"
CREATE CLASS QWebHistoryItem INHERIT HbQtObjectHandler
METHOD new( ... )
METHOD icon()
METHOD isValid()
METHOD lastVisited()
METHOD originalUrl()
METHOD setUserData( pUserData )
METHOD title()
METHOD url()
METHOD userData()
ENDCLASS
METHOD QWebHistoryItem:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QWebHistoryItem( ... )
RETURN Self
METHOD QWebHistoryItem:icon()
RETURN Qt_QWebHistoryItem_icon( ::pPtr )
METHOD QWebHistoryItem:isValid()
RETURN Qt_QWebHistoryItem_isValid( ::pPtr )
METHOD QWebHistoryItem:lastVisited()
RETURN Qt_QWebHistoryItem_lastVisited( ::pPtr )
METHOD QWebHistoryItem:originalUrl()
RETURN Qt_QWebHistoryItem_originalUrl( ::pPtr )
METHOD QWebHistoryItem:setUserData( pUserData )
RETURN Qt_QWebHistoryItem_setUserData( ::pPtr, hbqt_ptr( pUserData ) )
METHOD QWebHistoryItem:title()
RETURN Qt_QWebHistoryItem_title( ::pPtr )
METHOD QWebHistoryItem:url()
RETURN Qt_QWebHistoryItem_url( ::pPtr )
METHOD QWebHistoryItem:userData()
RETURN Qt_QWebHistoryItem_userData( ::pPtr )

View File

@@ -0,0 +1,151 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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 "hbclass.ch"
CREATE CLASS QWebHitTestResult INHERIT HbQtObjectHandler
METHOD new( ... )
METHOD alternateText()
METHOD boundingRect()
METHOD frame()
METHOD imageUrl()
METHOD isContentEditable()
METHOD isContentSelected()
METHOD isNull()
METHOD linkTargetFrame()
METHOD linkText()
METHOD linkTitle()
METHOD linkUrl()
METHOD pixmap()
METHOD pos()
METHOD title()
ENDCLASS
METHOD QWebHitTestResult:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QWebHitTestResult( ... )
RETURN Self
METHOD QWebHitTestResult:alternateText()
RETURN Qt_QWebHitTestResult_alternateText( ::pPtr )
METHOD QWebHitTestResult:boundingRect()
RETURN Qt_QWebHitTestResult_boundingRect( ::pPtr )
METHOD QWebHitTestResult:frame()
RETURN Qt_QWebHitTestResult_frame( ::pPtr )
METHOD QWebHitTestResult:imageUrl()
RETURN Qt_QWebHitTestResult_imageUrl( ::pPtr )
METHOD QWebHitTestResult:isContentEditable()
RETURN Qt_QWebHitTestResult_isContentEditable( ::pPtr )
METHOD QWebHitTestResult:isContentSelected()
RETURN Qt_QWebHitTestResult_isContentSelected( ::pPtr )
METHOD QWebHitTestResult:isNull()
RETURN Qt_QWebHitTestResult_isNull( ::pPtr )
METHOD QWebHitTestResult:linkTargetFrame()
RETURN Qt_QWebHitTestResult_linkTargetFrame( ::pPtr )
METHOD QWebHitTestResult:linkText()
RETURN Qt_QWebHitTestResult_linkText( ::pPtr )
METHOD QWebHitTestResult:linkTitle()
RETURN Qt_QWebHitTestResult_linkTitle( ::pPtr )
METHOD QWebHitTestResult:linkUrl()
RETURN Qt_QWebHitTestResult_linkUrl( ::pPtr )
METHOD QWebHitTestResult:pixmap()
RETURN Qt_QWebHitTestResult_pixmap( ::pPtr )
METHOD QWebHitTestResult:pos()
RETURN Qt_QWebHitTestResult_pos( ::pPtr )
METHOD QWebHitTestResult:title()
RETURN Qt_QWebHitTestResult_title( ::pPtr )

View File

@@ -0,0 +1,236 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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 "hbclass.ch"
CREATE CLASS QWebPage INHERIT HbQtObjectHandler, QObject
METHOD new( ... )
METHOD action( nAction )
METHOD bytesReceived()
METHOD createStandardContextMenu()
METHOD currentFrame()
METHOD findText( cSubString, nOptions )
METHOD focusNextPrevChild( lNext )
METHOD forwardUnsupportedContent()
METHOD history()
METHOD inputMethodQuery( nProperty )
METHOD isContentEditable()
METHOD isModified()
METHOD linkDelegationPolicy()
METHOD mainFrame()
METHOD palette()
METHOD pluginFactory()
METHOD selectedText()
METHOD setContentEditable( lEditable )
METHOD setForwardUnsupportedContent( lForward )
METHOD setLinkDelegationPolicy( nPolicy )
METHOD setPalette( pPalette )
METHOD setPluginFactory( pFactory )
METHOD setView( pView )
METHOD setViewportSize( pSize )
METHOD settings()
METHOD supportsExtension( nExtension )
METHOD swallowContextMenuEvent( pEvent )
METHOD totalBytes()
METHOD triggerAction( nAction, lChecked )
METHOD updatePositionDependentActions( pPos )
METHOD view()
METHOD viewportSize()
ENDCLASS
METHOD QWebPage:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QWebPage( ... )
RETURN Self
METHOD QWebPage:action( nAction )
RETURN Qt_QWebPage_action( ::pPtr, nAction )
METHOD QWebPage:bytesReceived()
RETURN Qt_QWebPage_bytesReceived( ::pPtr )
METHOD QWebPage:createStandardContextMenu()
RETURN Qt_QWebPage_createStandardContextMenu( ::pPtr )
METHOD QWebPage:currentFrame()
RETURN Qt_QWebPage_currentFrame( ::pPtr )
METHOD QWebPage:findText( cSubString, nOptions )
RETURN Qt_QWebPage_findText( ::pPtr, cSubString, nOptions )
METHOD QWebPage:focusNextPrevChild( lNext )
RETURN Qt_QWebPage_focusNextPrevChild( ::pPtr, lNext )
METHOD QWebPage:forwardUnsupportedContent()
RETURN Qt_QWebPage_forwardUnsupportedContent( ::pPtr )
METHOD QWebPage:history()
RETURN Qt_QWebPage_history( ::pPtr )
METHOD QWebPage:inputMethodQuery( nProperty )
RETURN Qt_QWebPage_inputMethodQuery( ::pPtr, nProperty )
METHOD QWebPage:isContentEditable()
RETURN Qt_QWebPage_isContentEditable( ::pPtr )
METHOD QWebPage:isModified()
RETURN Qt_QWebPage_isModified( ::pPtr )
METHOD QWebPage:linkDelegationPolicy()
RETURN Qt_QWebPage_linkDelegationPolicy( ::pPtr )
METHOD QWebPage:mainFrame()
RETURN Qt_QWebPage_mainFrame( ::pPtr )
METHOD QWebPage:palette()
RETURN Qt_QWebPage_palette( ::pPtr )
METHOD QWebPage:pluginFactory()
RETURN Qt_QWebPage_pluginFactory( ::pPtr )
METHOD QWebPage:selectedText()
RETURN Qt_QWebPage_selectedText( ::pPtr )
METHOD QWebPage:setContentEditable( lEditable )
RETURN Qt_QWebPage_setContentEditable( ::pPtr, lEditable )
METHOD QWebPage:setForwardUnsupportedContent( lForward )
RETURN Qt_QWebPage_setForwardUnsupportedContent( ::pPtr, lForward )
METHOD QWebPage:setLinkDelegationPolicy( nPolicy )
RETURN Qt_QWebPage_setLinkDelegationPolicy( ::pPtr, nPolicy )
METHOD QWebPage:setPalette( pPalette )
RETURN Qt_QWebPage_setPalette( ::pPtr, hbqt_ptr( pPalette ) )
METHOD QWebPage:setPluginFactory( pFactory )
RETURN Qt_QWebPage_setPluginFactory( ::pPtr, hbqt_ptr( pFactory ) )
METHOD QWebPage:setView( pView )
RETURN Qt_QWebPage_setView( ::pPtr, hbqt_ptr( pView ) )
METHOD QWebPage:setViewportSize( pSize )
RETURN Qt_QWebPage_setViewportSize( ::pPtr, hbqt_ptr( pSize ) )
METHOD QWebPage:settings()
RETURN Qt_QWebPage_settings( ::pPtr )
METHOD QWebPage:supportsExtension( nExtension )
RETURN Qt_QWebPage_supportsExtension( ::pPtr, nExtension )
METHOD QWebPage:swallowContextMenuEvent( pEvent )
RETURN Qt_QWebPage_swallowContextMenuEvent( ::pPtr, hbqt_ptr( pEvent ) )
METHOD QWebPage:totalBytes()
RETURN Qt_QWebPage_totalBytes( ::pPtr )
METHOD QWebPage:triggerAction( nAction, lChecked )
RETURN Qt_QWebPage_triggerAction( ::pPtr, nAction, lChecked )
METHOD QWebPage:updatePositionDependentActions( pPos )
RETURN Qt_QWebPage_updatePositionDependentActions( ::pPtr, hbqt_ptr( pPos ) )
METHOD QWebPage:view()
RETURN Qt_QWebPage_view( ::pPtr )
METHOD QWebPage:viewportSize()
RETURN Qt_QWebPage_viewportSize( ::pPtr )

View File

@@ -0,0 +1,96 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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 "hbclass.ch"
CREATE CLASS QWebPluginFactory INHERIT HbQtObjectHandler, QObject
METHOD new( ... )
METHOD create( cMimeType, pUrl, pArgumentNames, pArgumentValues )
METHOD refreshPlugins()
METHOD supportsExtension( nExtension )
ENDCLASS
METHOD QWebPluginFactory:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QWebPluginFactory( ... )
RETURN Self
METHOD QWebPluginFactory:create( cMimeType, pUrl, pArgumentNames, pArgumentValues )
RETURN Qt_QWebPluginFactory_create( ::pPtr, cMimeType, hbqt_ptr( pUrl ), hbqt_ptr( pArgumentNames ), hbqt_ptr( pArgumentValues ) )
METHOD QWebPluginFactory:refreshPlugins()
RETURN Qt_QWebPluginFactory_refreshPlugins( ::pPtr )
METHOD QWebPluginFactory:supportsExtension( nExtension )
RETURN Qt_QWebPluginFactory_supportsExtension( ::pPtr, nExtension )

View File

@@ -0,0 +1,111 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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 "hbclass.ch"
CREATE CLASS QWebSecurityOrigin INHERIT HbQtObjectHandler
METHOD new( ... )
METHOD databaseQuota()
METHOD databaseUsage()
METHOD host()
METHOD port()
METHOD scheme()
METHOD setDatabaseQuota( nQuota )
ENDCLASS
METHOD QWebSecurityOrigin:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QWebSecurityOrigin( ... )
RETURN Self
METHOD QWebSecurityOrigin:databaseQuota()
RETURN Qt_QWebSecurityOrigin_databaseQuota( ::pPtr )
METHOD QWebSecurityOrigin:databaseUsage()
RETURN Qt_QWebSecurityOrigin_databaseUsage( ::pPtr )
METHOD QWebSecurityOrigin:host()
RETURN Qt_QWebSecurityOrigin_host( ::pPtr )
METHOD QWebSecurityOrigin:port()
RETURN Qt_QWebSecurityOrigin_port( ::pPtr )
METHOD QWebSecurityOrigin:scheme()
RETURN Qt_QWebSecurityOrigin_scheme( ::pPtr )
METHOD QWebSecurityOrigin:setDatabaseQuota( nQuota )
RETURN Qt_QWebSecurityOrigin_setDatabaseQuota( ::pPtr, nQuota )

View File

@@ -0,0 +1,206 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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 "hbclass.ch"
CREATE CLASS QWebSettings INHERIT HbQtObjectHandler
METHOD new( ... )
METHOD fontFamily( nWhich )
METHOD fontSize( nType )
METHOD resetAttribute( nAttribute )
METHOD resetFontFamily( nWhich )
METHOD resetFontSize( nType )
METHOD setAttribute( nAttribute, lOn )
METHOD setFontFamily( nWhich, cFamily )
METHOD setFontSize( nType, nSize )
METHOD setUserStyleSheetUrl( pLocation )
METHOD testAttribute( nAttribute )
METHOD userStyleSheetUrl()
METHOD clearIconDatabase()
METHOD globalSettings()
METHOD iconDatabasePath()
METHOD iconForUrl( pUrl )
METHOD maximumPagesInCache()
METHOD offlineStorageDefaultQuota()
METHOD offlineStoragePath()
METHOD setIconDatabasePath( cPath )
METHOD setMaximumPagesInCache( nPages )
METHOD setObjectCacheCapacities( nCacheMinDeadCapacity, nCacheMaxDead, nTotalCapacity )
METHOD setOfflineStorageDefaultQuota( nMaximumSize )
METHOD setOfflineStoragePath( cPath )
METHOD setWebGraphic( nType, pGraphic )
METHOD webGraphic( nType )
ENDCLASS
METHOD QWebSettings:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QWebSettings( ... )
RETURN Self
METHOD QWebSettings:fontFamily( nWhich )
RETURN Qt_QWebSettings_fontFamily( ::pPtr, nWhich )
METHOD QWebSettings:fontSize( nType )
RETURN Qt_QWebSettings_fontSize( ::pPtr, nType )
METHOD QWebSettings:resetAttribute( nAttribute )
RETURN Qt_QWebSettings_resetAttribute( ::pPtr, nAttribute )
METHOD QWebSettings:resetFontFamily( nWhich )
RETURN Qt_QWebSettings_resetFontFamily( ::pPtr, nWhich )
METHOD QWebSettings:resetFontSize( nType )
RETURN Qt_QWebSettings_resetFontSize( ::pPtr, nType )
METHOD QWebSettings:setAttribute( nAttribute, lOn )
RETURN Qt_QWebSettings_setAttribute( ::pPtr, nAttribute, lOn )
METHOD QWebSettings:setFontFamily( nWhich, cFamily )
RETURN Qt_QWebSettings_setFontFamily( ::pPtr, nWhich, cFamily )
METHOD QWebSettings:setFontSize( nType, nSize )
RETURN Qt_QWebSettings_setFontSize( ::pPtr, nType, nSize )
METHOD QWebSettings:setUserStyleSheetUrl( pLocation )
RETURN Qt_QWebSettings_setUserStyleSheetUrl( ::pPtr, hbqt_ptr( pLocation ) )
METHOD QWebSettings:testAttribute( nAttribute )
RETURN Qt_QWebSettings_testAttribute( ::pPtr, nAttribute )
METHOD QWebSettings:userStyleSheetUrl()
RETURN Qt_QWebSettings_userStyleSheetUrl( ::pPtr )
METHOD QWebSettings:clearIconDatabase()
RETURN Qt_QWebSettings_clearIconDatabase( ::pPtr )
METHOD QWebSettings:globalSettings()
RETURN Qt_QWebSettings_globalSettings( ::pPtr )
METHOD QWebSettings:iconDatabasePath()
RETURN Qt_QWebSettings_iconDatabasePath( ::pPtr )
METHOD QWebSettings:iconForUrl( pUrl )
RETURN Qt_QWebSettings_iconForUrl( ::pPtr, hbqt_ptr( pUrl ) )
METHOD QWebSettings:maximumPagesInCache()
RETURN Qt_QWebSettings_maximumPagesInCache( ::pPtr )
METHOD QWebSettings:offlineStorageDefaultQuota()
RETURN Qt_QWebSettings_offlineStorageDefaultQuota( ::pPtr )
METHOD QWebSettings:offlineStoragePath()
RETURN Qt_QWebSettings_offlineStoragePath( ::pPtr )
METHOD QWebSettings:setIconDatabasePath( cPath )
RETURN Qt_QWebSettings_setIconDatabasePath( ::pPtr, cPath )
METHOD QWebSettings:setMaximumPagesInCache( nPages )
RETURN Qt_QWebSettings_setMaximumPagesInCache( ::pPtr, nPages )
METHOD QWebSettings:setObjectCacheCapacities( nCacheMinDeadCapacity, nCacheMaxDead, nTotalCapacity )
RETURN Qt_QWebSettings_setObjectCacheCapacities( ::pPtr, nCacheMinDeadCapacity, nCacheMaxDead, nTotalCapacity )
METHOD QWebSettings:setOfflineStorageDefaultQuota( nMaximumSize )
RETURN Qt_QWebSettings_setOfflineStorageDefaultQuota( ::pPtr, nMaximumSize )
METHOD QWebSettings:setOfflineStoragePath( cPath )
RETURN Qt_QWebSettings_setOfflineStoragePath( ::pPtr, cPath )
METHOD QWebSettings:setWebGraphic( nType, pGraphic )
RETURN Qt_QWebSettings_setWebGraphic( ::pPtr, nType, hbqt_ptr( pGraphic ) )
METHOD QWebSettings:webGraphic( nType )
RETURN Qt_QWebSettings_webGraphic( ::pPtr, nType )

View File

@@ -0,0 +1,211 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* 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 "hbclass.ch"
CREATE CLASS QWebView INHERIT HbQtObjectHandler, QWidget
METHOD new( ... )
METHOD findText( cSubString, nOptions )
METHOD history()
METHOD icon()
METHOD isModified()
METHOD load( pUrl )
METHOD load_1( pRequest, nOperation, pBody )
METHOD page()
METHOD pageAction( nAction )
METHOD selectedText()
METHOD setContent( pData, cMimeType, pBaseUrl )
METHOD setHtml( cHtml, pBaseUrl )
METHOD setPage( pPage )
METHOD setTextSizeMultiplier( nFactor )
METHOD setUrl( pUrl )
METHOD setZoomFactor( nFactor )
METHOD settings()
METHOD textSizeMultiplier()
METHOD title()
METHOD triggerPageAction( nAction, lChecked )
METHOD url()
METHOD zoomFactor()
METHOD back()
METHOD forward()
METHOD print( pPrinter )
METHOD reload()
METHOD stop()
ENDCLASS
METHOD QWebView:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QWebView( ... )
RETURN Self
METHOD QWebView:findText( cSubString, nOptions )
RETURN Qt_QWebView_findText( ::pPtr, cSubString, nOptions )
METHOD QWebView:history()
RETURN Qt_QWebView_history( ::pPtr )
METHOD QWebView:icon()
RETURN Qt_QWebView_icon( ::pPtr )
METHOD QWebView:isModified()
RETURN Qt_QWebView_isModified( ::pPtr )
METHOD QWebView:load( pUrl )
RETURN Qt_QWebView_load( ::pPtr, hbqt_ptr( pUrl ) )
METHOD QWebView:load_1( pRequest, nOperation, pBody )
RETURN Qt_QWebView_load_1( ::pPtr, hbqt_ptr( pRequest ), nOperation, hbqt_ptr( pBody ) )
METHOD QWebView:page()
RETURN Qt_QWebView_page( ::pPtr )
METHOD QWebView:pageAction( nAction )
RETURN Qt_QWebView_pageAction( ::pPtr, nAction )
METHOD QWebView:selectedText()
RETURN Qt_QWebView_selectedText( ::pPtr )
METHOD QWebView:setContent( pData, cMimeType, pBaseUrl )
RETURN Qt_QWebView_setContent( ::pPtr, hbqt_ptr( pData ), cMimeType, hbqt_ptr( pBaseUrl ) )
METHOD QWebView:setHtml( cHtml, pBaseUrl )
RETURN Qt_QWebView_setHtml( ::pPtr, cHtml, hbqt_ptr( pBaseUrl ) )
METHOD QWebView:setPage( pPage )
RETURN Qt_QWebView_setPage( ::pPtr, hbqt_ptr( pPage ) )
METHOD QWebView:setTextSizeMultiplier( nFactor )
RETURN Qt_QWebView_setTextSizeMultiplier( ::pPtr, nFactor )
METHOD QWebView:setUrl( pUrl )
RETURN Qt_QWebView_setUrl( ::pPtr, hbqt_ptr( pUrl ) )
METHOD QWebView:setZoomFactor( nFactor )
RETURN Qt_QWebView_setZoomFactor( ::pPtr, nFactor )
METHOD QWebView:settings()
RETURN Qt_QWebView_settings( ::pPtr )
METHOD QWebView:textSizeMultiplier()
RETURN Qt_QWebView_textSizeMultiplier( ::pPtr )
METHOD QWebView:title()
RETURN Qt_QWebView_title( ::pPtr )
METHOD QWebView:triggerPageAction( nAction, lChecked )
RETURN Qt_QWebView_triggerPageAction( ::pPtr, nAction, lChecked )
METHOD QWebView:url()
RETURN Qt_QWebView_url( ::pPtr )
METHOD QWebView:zoomFactor()
RETURN Qt_QWebView_zoomFactor( ::pPtr )
METHOD QWebView:back()
RETURN Qt_QWebView_back( ::pPtr )
METHOD QWebView:forward()
RETURN Qt_QWebView_forward( ::pPtr )
METHOD QWebView:print( pPrinter )
RETURN Qt_QWebView_print( ::pPtr, hbqt_ptr( pPrinter ) )
METHOD QWebView:reload()
RETURN Qt_QWebView_reload( ::pPtr )
METHOD QWebView:stop()
RETURN Qt_QWebView_stop( ::pPtr )

View File

@@ -0,0 +1,89 @@
/*
* hbQTgen v1.0 - Harbour Callable Wrappers Generator for Qt v4.5.3+
* Please do not modify this document as it is subject to change in future.
* Pritpal Bedi <bedipritpal@hotmail.com>
*/
/* $DOC$
$TEMPLATE$
Class
$NAME$
QWebFrame()
$CATEGORY$
Harbour Bindings for Qt
$SUBCATEGORY$
GUI
$EXTERNALLINK$
http://doc.trolltech.com/4.5/qwebframe.html
$ONELINER$
Creates a new QWebFrame object.
$INHERITS$
QObject
$SYNTAX$
QWebFrame():new( ... )
QWebFrame():from( pPtr_OR_oObj_of_type_QWebFrame )
QWebFrame():configure( pPtr_OR_oObj_of_type_QWebFrame )
$ARGUMENTS$
$RETURNS$
An instance of the object of type QWebFrame
$METHODS$
:addToJavaScriptWindowObject( cName, pObject ) -> NIL
:addToJavaScriptWindowObject_1( cName, pObject, nOwn ) -> NIL
:contentsSize() -> pQSize
:frameName() -> cQString
:geometry() -> pQRect
:hitTestContent( pPos ) -> pQWebHitTestResult
:icon() -> pQIcon
:load( pUrl ) -> NIL
:page() -> pQWebPage
:pos() -> pQPoint
:render( pPainter, pClip ) -> NIL
:render_1( pPainter ) -> NIL
:renderTreeDump() -> cQString
:scroll( nDx, nDy ) -> NIL
:scrollBarMaximum( nOrientation ) -> nInt
:scrollBarMinimum( nOrientation ) -> nInt
:scrollBarPolicy( nOrientation ) -> nQt::ScrollBarPolicy
:scrollBarValue( nOrientation ) -> nInt
:scrollPosition() -> pQPoint
:securityOrigin() -> pQWebSecurityOrigin
:setContent( pData, cMimeType, pBaseUrl ) -> NIL
:setHtml( cHtml, pBaseUrl ) -> NIL
:setScrollBarPolicy( nOrientation, nPolicy ) -> NIL
:setScrollBarValue( nOrientation, nValue ) -> NIL
:setScrollPosition( pPos ) -> NIL
:setTextSizeMultiplier( nFactor ) -> NIL
:setUrl( pUrl ) -> NIL
:setZoomFactor( nFactor ) -> NIL
:textSizeMultiplier() -> nQreal
:title() -> cQString
:toHtml() -> cQString
:toPlainText() -> cQString
:url() -> pQUrl
:zoomFactor() -> nQreal
:evaluateJavaScript( cScriptSource ) -> pQVariant
:print( pPrinter ) -> NIL
$DESCRIPTION$
$EXAMPLES$
$TESTS$
$STATUS$
R
$COMPLIANCE$
Not Clipper Compatible
$PLATFORMS$
Windows, Linux, MacOS, OS2
$VERSION$
4.5.3
$FILES$
Prg Source : contrib/hbqt/TQWebFrame.prg
C++ Wrappers : contrib/hbqt/QWebFrame.cpp
Library : hb
$SEEALSO$
QObject
$END$
*/

View File

@@ -0,0 +1,67 @@
/*
* hbQTgen v1.0 - Harbour Callable Wrappers Generator for Qt v4.5.3+
* Please do not modify this document as it is subject to change in future.
* Pritpal Bedi <bedipritpal@hotmail.com>
*/
/* $DOC$
$TEMPLATE$
Class
$NAME$
QWebHistory()
$CATEGORY$
Harbour Bindings for Qt
$SUBCATEGORY$
GUI
$EXTERNALLINK$
http://doc.trolltech.com/4.5/qwebhistory.html
$ONELINER$
Creates a new QWebHistory object.
$INHERITS$
$SYNTAX$
QWebHistory():new( ... )
QWebHistory():from( pPtr_OR_oObj_of_type_QWebHistory )
QWebHistory():configure( pPtr_OR_oObj_of_type_QWebHistory )
$ARGUMENTS$
$RETURNS$
An instance of the object of type QWebHistory
$METHODS$
:back() -> NIL
:backItem() -> Item
:canGoBack() -> lBool
:canGoForward() -> lBool
:clear() -> NIL
:count() -> nInt
:currentItem() -> Item
:currentItemIndex() -> nInt
:forward() -> NIL
:forwardItem() -> Item
:goToItem( pItem ) -> NIL
:itemAt( nI ) -> Item
:maximumItemCount() -> nInt
:setMaximumItemCount( nCount ) -> NIL
$DESCRIPTION$
$EXAMPLES$
$TESTS$
$STATUS$
R
$COMPLIANCE$
Not Clipper Compatible
$PLATFORMS$
Windows, Linux, MacOS, OS2
$VERSION$
4.5.3
$FILES$
Prg Source : contrib/hbqt/TQWebHistory.prg
C++ Wrappers : contrib/hbqt/QWebHistory.cpp
Library : hb
$SEEALSO$
$END$
*/

View File

@@ -0,0 +1,56 @@
/*
* hbQTgen v1.0 - Harbour Callable Wrappers Generator for Qt v4.5.3+
* Please do not modify this document as it is subject to change in future.
* Pritpal Bedi <bedipritpal@hotmail.com>
*/
/* $DOC$
$TEMPLATE$
Class
$NAME$
QWebHistoryInterface()
$CATEGORY$
Harbour Bindings for Qt
$SUBCATEGORY$
GUI
$EXTERNALLINK$
http://doc.trolltech.com/4.5/qwebhistoryinterface.html
$ONELINER$
Creates a new QWebHistoryInterface object.
$INHERITS$
QObject
$SYNTAX$
QWebHistoryInterface():new( ... )
QWebHistoryInterface():from( pPtr_OR_oObj_of_type_QWebHistoryInterface )
QWebHistoryInterface():configure( pPtr_OR_oObj_of_type_QWebHistoryInterface )
$ARGUMENTS$
$RETURNS$
An instance of the object of type QWebHistoryInterface
$METHODS$
:addHistoryEntry( cUrl ) -> NIL
:historyContains( cUrl ) -> lBool
:setDefaultInterface( pDefaultInterface ) -> NIL
$DESCRIPTION$
$EXAMPLES$
$TESTS$
$STATUS$
R
$COMPLIANCE$
Not Clipper Compatible
$PLATFORMS$
Windows, Linux, MacOS, OS2
$VERSION$
4.5.3
$FILES$
Prg Source : contrib/hbqt/TQWebHistoryInterface.prg
C++ Wrappers : contrib/hbqt/QWebHistoryInterface.cpp
Library : hb
$SEEALSO$
QObject
$END$
*/

View File

@@ -0,0 +1,61 @@
/*
* hbQTgen v1.0 - Harbour Callable Wrappers Generator for Qt v4.5.3+
* Please do not modify this document as it is subject to change in future.
* Pritpal Bedi <bedipritpal@hotmail.com>
*/
/* $DOC$
$TEMPLATE$
Class
$NAME$
QWebHistoryItem()
$CATEGORY$
Harbour Bindings for Qt
$SUBCATEGORY$
GUI
$EXTERNALLINK$
http://doc.trolltech.com/4.5/qwebhistoryitem.html
$ONELINER$
Creates a new QWebHistoryItem object.
$INHERITS$
$SYNTAX$
QWebHistoryItem():new( ... )
QWebHistoryItem():from( pPtr_OR_oObj_of_type_QWebHistoryItem )
QWebHistoryItem():configure( pPtr_OR_oObj_of_type_QWebHistoryItem )
$ARGUMENTS$
$RETURNS$
An instance of the object of type QWebHistoryItem
$METHODS$
:icon() -> pQIcon
:isValid() -> lBool
:lastVisited() -> pQDateTime
:originalUrl() -> pQUrl
:setUserData( pUserData ) -> NIL
:title() -> cQString
:url() -> pQUrl
:userData() -> pQVariant
$DESCRIPTION$
$EXAMPLES$
$TESTS$
$STATUS$
R
$COMPLIANCE$
Not Clipper Compatible
$PLATFORMS$
Windows, Linux, MacOS, OS2
$VERSION$
4.5.3
$FILES$
Prg Source : contrib/hbqt/TQWebHistoryItem.prg
C++ Wrappers : contrib/hbqt/QWebHistoryItem.cpp
Library : hb
$SEEALSO$
$END$
*/

View File

@@ -0,0 +1,67 @@
/*
* hbQTgen v1.0 - Harbour Callable Wrappers Generator for Qt v4.5.3+
* Please do not modify this document as it is subject to change in future.
* Pritpal Bedi <bedipritpal@hotmail.com>
*/
/* $DOC$
$TEMPLATE$
Class
$NAME$
QWebHitTestResult()
$CATEGORY$
Harbour Bindings for Qt
$SUBCATEGORY$
GUI
$EXTERNALLINK$
http://doc.trolltech.com/4.5/qwebhittestresult.html
$ONELINER$
Creates a new QWebHitTestResult object.
$INHERITS$
$SYNTAX$
QWebHitTestResult():new( ... )
QWebHitTestResult():from( pPtr_OR_oObj_of_type_QWebHitTestResult )
QWebHitTestResult():configure( pPtr_OR_oObj_of_type_QWebHitTestResult )
$ARGUMENTS$
$RETURNS$
An instance of the object of type QWebHitTestResult
$METHODS$
:alternateText() -> cQString
:boundingRect() -> pQRect
:frame() -> pQWebFrame
:imageUrl() -> pQUrl
:isContentEditable() -> lBool
:isContentSelected() -> lBool
:isNull() -> lBool
:linkTargetFrame() -> pQWebFrame
:linkText() -> cQString
:linkTitle() -> pQUrl
:linkUrl() -> pQUrl
:pixmap() -> pQPixmap
:pos() -> pQPoint
:title() -> cQString
$DESCRIPTION$
$EXAMPLES$
$TESTS$
$STATUS$
R
$COMPLIANCE$
Not Clipper Compatible
$PLATFORMS$
Windows, Linux, MacOS, OS2
$VERSION$
4.5.3
$FILES$
Prg Source : contrib/hbqt/TQWebHitTestResult.prg
C++ Wrappers : contrib/hbqt/QWebHitTestResult.cpp
Library : hb
$SEEALSO$
$END$
*/

View File

@@ -0,0 +1,84 @@
/*
* hbQTgen v1.0 - Harbour Callable Wrappers Generator for Qt v4.5.3+
* Please do not modify this document as it is subject to change in future.
* Pritpal Bedi <bedipritpal@hotmail.com>
*/
/* $DOC$
$TEMPLATE$
Class
$NAME$
QWebPage()
$CATEGORY$
Harbour Bindings for Qt
$SUBCATEGORY$
GUI
$EXTERNALLINK$
http://doc.trolltech.com/4.5/qwebpage.html
$ONELINER$
Creates a new QWebPage object.
$INHERITS$
QObject
$SYNTAX$
QWebPage():new( ... )
QWebPage():from( pPtr_OR_oObj_of_type_QWebPage )
QWebPage():configure( pPtr_OR_oObj_of_type_QWebPage )
$ARGUMENTS$
$RETURNS$
An instance of the object of type QWebPage
$METHODS$
:action( nAction ) -> pQAction
:bytesReceived() -> nQuint64
:createStandardContextMenu() -> pQMenu
:currentFrame() -> pQWebFrame
:findText( cSubString, nOptions ) -> lBool
:focusNextPrevChild( lNext ) -> lBool
:forwardUnsupportedContent() -> lBool
:history() -> pQWebHistory
:inputMethodQuery( nProperty ) -> pQVariant
:isContentEditable() -> lBool
:isModified() -> lBool
:linkDelegationPolicy() -> nLinkDelegationPolicy
:mainFrame() -> pQWebFrame
:palette() -> pQPalette
:pluginFactory() -> pQWebPluginFactory
:selectedText() -> cQString
:setContentEditable( lEditable ) -> NIL
:setForwardUnsupportedContent( lForward ) -> NIL
:setLinkDelegationPolicy( nPolicy ) -> NIL
:setPalette( pPalette ) -> NIL
:setPluginFactory( pFactory ) -> NIL
:setView( pView ) -> NIL
:setViewportSize( pSize ) -> NIL
:settings() -> pQWebSettings
:supportsExtension( nExtension ) -> lBool
:swallowContextMenuEvent( pEvent ) -> lBool
:totalBytes() -> nQuint64
:triggerAction( nAction, lChecked ) -> NIL
:updatePositionDependentActions( pPos ) -> NIL
:view() -> pQWidget
:viewportSize() -> pQSize
$DESCRIPTION$
$EXAMPLES$
$TESTS$
$STATUS$
R
$COMPLIANCE$
Not Clipper Compatible
$PLATFORMS$
Windows, Linux, MacOS, OS2
$VERSION$
4.5.3
$FILES$
Prg Source : contrib/hbqt/TQWebPage.prg
C++ Wrappers : contrib/hbqt/QWebPage.cpp
Library : hb
$SEEALSO$
QObject
$END$
*/

View File

@@ -0,0 +1,56 @@
/*
* hbQTgen v1.0 - Harbour Callable Wrappers Generator for Qt v4.5.3+
* Please do not modify this document as it is subject to change in future.
* Pritpal Bedi <bedipritpal@hotmail.com>
*/
/* $DOC$
$TEMPLATE$
Class
$NAME$
QWebPluginFactory()
$CATEGORY$
Harbour Bindings for Qt
$SUBCATEGORY$
GUI
$EXTERNALLINK$
http://doc.trolltech.com/4.5/qwebpluginfactory.html
$ONELINER$
Creates a new QWebPluginFactory object.
$INHERITS$
QObject
$SYNTAX$
QWebPluginFactory():new( ... )
QWebPluginFactory():from( pPtr_OR_oObj_of_type_QWebPluginFactory )
QWebPluginFactory():configure( pPtr_OR_oObj_of_type_QWebPluginFactory )
$ARGUMENTS$
$RETURNS$
An instance of the object of type QWebPluginFactory
$METHODS$
:create( cMimeType, pUrl, pArgumentNames, pArgumentValues ) -> pQObject
:refreshPlugins() -> NIL
:supportsExtension( nExtension ) -> lBool
$DESCRIPTION$
$EXAMPLES$
$TESTS$
$STATUS$
R
$COMPLIANCE$
Not Clipper Compatible
$PLATFORMS$
Windows, Linux, MacOS, OS2
$VERSION$
4.5.3
$FILES$
Prg Source : contrib/hbqt/TQWebPluginFactory.prg
C++ Wrappers : contrib/hbqt/QWebPluginFactory.cpp
Library : hb
$SEEALSO$
QObject
$END$
*/

View File

@@ -0,0 +1,59 @@
/*
* hbQTgen v1.0 - Harbour Callable Wrappers Generator for Qt v4.5.3+
* Please do not modify this document as it is subject to change in future.
* Pritpal Bedi <bedipritpal@hotmail.com>
*/
/* $DOC$
$TEMPLATE$
Class
$NAME$
QWebSecurityOrigin()
$CATEGORY$
Harbour Bindings for Qt
$SUBCATEGORY$
GUI
$EXTERNALLINK$
http://doc.trolltech.com/4.5/qwebsecurityorigin.html
$ONELINER$
Creates a new QWebSecurityOrigin object.
$INHERITS$
$SYNTAX$
QWebSecurityOrigin():new( ... )
QWebSecurityOrigin():from( pPtr_OR_oObj_of_type_QWebSecurityOrigin )
QWebSecurityOrigin():configure( pPtr_OR_oObj_of_type_QWebSecurityOrigin )
$ARGUMENTS$
$RETURNS$
An instance of the object of type QWebSecurityOrigin
$METHODS$
:databaseQuota() -> nQint64
:databaseUsage() -> nQint64
:host() -> cQString
:port() -> nInt
:scheme() -> cQString
:setDatabaseQuota( nQuota ) -> NIL
$DESCRIPTION$
$EXAMPLES$
$TESTS$
$STATUS$
R
$COMPLIANCE$
Not Clipper Compatible
$PLATFORMS$
Windows, Linux, MacOS, OS2
$VERSION$
4.5.3
$FILES$
Prg Source : contrib/hbqt/TQWebSecurityOrigin.prg
C++ Wrappers : contrib/hbqt/QWebSecurityOrigin.cpp
Library : hb
$SEEALSO$
$END$
*/

View File

@@ -0,0 +1,77 @@
/*
* hbQTgen v1.0 - Harbour Callable Wrappers Generator for Qt v4.5.3+
* Please do not modify this document as it is subject to change in future.
* Pritpal Bedi <bedipritpal@hotmail.com>
*/
/* $DOC$
$TEMPLATE$
Class
$NAME$
QWebSettings()
$CATEGORY$
Harbour Bindings for Qt
$SUBCATEGORY$
GUI
$EXTERNALLINK$
http://doc.trolltech.com/4.5/qwebsettings.html
$ONELINER$
Creates a new QWebSettings object.
$INHERITS$
$SYNTAX$
QWebSettings():new( ... )
QWebSettings():from( pPtr_OR_oObj_of_type_QWebSettings )
QWebSettings():configure( pPtr_OR_oObj_of_type_QWebSettings )
$ARGUMENTS$
$RETURNS$
An instance of the object of type QWebSettings
$METHODS$
:fontFamily( nWhich ) -> cQString
:fontSize( nType ) -> nInt
:resetAttribute( nAttribute ) -> NIL
:resetFontFamily( nWhich ) -> NIL
:resetFontSize( nType ) -> NIL
:setAttribute( nAttribute, lOn ) -> NIL
:setFontFamily( nWhich, cFamily ) -> NIL
:setFontSize( nType, nSize ) -> NIL
:setUserStyleSheetUrl( pLocation ) -> NIL
:testAttribute( nAttribute ) -> lBool
:userStyleSheetUrl() -> pQUrl
:clearIconDatabase() -> NIL
:iconDatabasePath() -> cQString
:iconForUrl( pUrl ) -> pQIcon
:maximumPagesInCache() -> nInt
:offlineStorageDefaultQuota() -> nQint64
:offlineStoragePath() -> cQString
:setIconDatabasePath( cPath ) -> NIL
:setMaximumPagesInCache( nPages ) -> NIL
:setObjectCacheCapacities( nCacheMinDeadCapacity, nCacheMaxDead, nTotalCapacity ) -> NIL
:setOfflineStorageDefaultQuota( nMaximumSize ) -> NIL
:setOfflineStoragePath( cPath ) -> NIL
:setWebGraphic( nType, pGraphic ) -> NIL
:webGraphic( nType ) -> pQPixmap
$DESCRIPTION$
$EXAMPLES$
$TESTS$
$STATUS$
R
$COMPLIANCE$
Not Clipper Compatible
$PLATFORMS$
Windows, Linux, MacOS, OS2
$VERSION$
4.5.3
$FILES$
Prg Source : contrib/hbqt/TQWebSettings.prg
C++ Wrappers : contrib/hbqt/QWebSettings.cpp
Library : hb
$SEEALSO$
$END$
*/

View File

@@ -0,0 +1,79 @@
/*
* hbQTgen v1.0 - Harbour Callable Wrappers Generator for Qt v4.5.3+
* Please do not modify this document as it is subject to change in future.
* Pritpal Bedi <bedipritpal@hotmail.com>
*/
/* $DOC$
$TEMPLATE$
Class
$NAME$
QWebView()
$CATEGORY$
Harbour Bindings for Qt
$SUBCATEGORY$
GUI
$EXTERNALLINK$
http://doc.trolltech.com/4.5/qwebview.html
$ONELINER$
Creates a new QWebView object.
$INHERITS$
QWidget
$SYNTAX$
QWebView():new( ... )
QWebView():from( pPtr_OR_oObj_of_type_QWebView )
QWebView():configure( pPtr_OR_oObj_of_type_QWebView )
$ARGUMENTS$
$RETURNS$
An instance of the object of type QWebView
$METHODS$
:findText( cSubString, nOptions ) -> lBool
:history() -> pQWebHistory
:icon() -> pQIcon
:isModified() -> lBool
:load( pUrl ) -> NIL
:load_1( pRequest, nOperation, pBody ) -> NIL
:page() -> pQWebPage
:pageAction( nAction ) -> pQAction
:selectedText() -> cQString
:setContent( pData, cMimeType, pBaseUrl ) -> NIL
:setHtml( cHtml, pBaseUrl ) -> NIL
:setPage( pPage ) -> NIL
:setTextSizeMultiplier( nFactor ) -> NIL
:setUrl( pUrl ) -> NIL
:setZoomFactor( nFactor ) -> NIL
:settings() -> pQWebSettings
:textSizeMultiplier() -> nQreal
:title() -> cQString
:triggerPageAction( nAction, lChecked ) -> NIL
:url() -> pQUrl
:zoomFactor() -> nQreal
:back() -> NIL
:forward() -> NIL
:print( pPrinter ) -> NIL
:reload() -> NIL
:stop() -> NIL
$DESCRIPTION$
$EXAMPLES$
$TESTS$
$STATUS$
R
$COMPLIANCE$
Not Clipper Compatible
$PLATFORMS$
Windows, Linux, MacOS, OS2
$VERSION$
4.5.3
$FILES$
Prg Source : contrib/hbqt/TQWebView.prg
C++ Wrappers : contrib/hbqt/QWebView.cpp
Library : hb
$SEEALSO$
QWidget
$END$
*/

View File

@@ -0,0 +1,32 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
extern QT_G_FUNC( hbqt_gcRelease_QWebFrame );
extern QT_G_FUNC( hbqt_gcRelease_QWebHistory );
extern QT_G_FUNC( hbqt_gcRelease_QWebHistoryInterface );
extern QT_G_FUNC( hbqt_gcRelease_QWebHistoryItem );
extern QT_G_FUNC( hbqt_gcRelease_QWebHitTestResult );
extern QT_G_FUNC( hbqt_gcRelease_QWebPage );
extern QT_G_FUNC( hbqt_gcRelease_QWebPluginFactory );
extern QT_G_FUNC( hbqt_gcRelease_QWebSecurityOrigin );
extern QT_G_FUNC( hbqt_gcRelease_QWebSettings );
extern QT_G_FUNC( hbqt_gcRelease_QWebView );
extern void * hbqt_gcAllocate_QWebFrame( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebHistory( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebHistoryInterface( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebHistoryItem( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebHitTestResult( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebPage( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebPluginFactory( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebSecurityOrigin( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebSettings( void * pObj, bool bNew );
extern void * hbqt_gcAllocate_QWebView( void * pObj, bool bNew );

View File

@@ -0,0 +1,69 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* 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 __HBQT_LOCAL_H
#define __HBQT_LOCAL_H
#define hbqt_par_QWebFrame( n ) ( ( QWebFrame * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHistory( n ) ( ( QWebHistory * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHistoryInterface( n ) ( ( QWebHistoryInterface * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHistoryItem( n ) ( ( QWebHistoryItem * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHitTestResult( n ) ( ( QWebHitTestResult * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebNetworkRequest( n ) ( ( QWebNetworkRequest * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebPage( n ) ( ( QWebPage * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebPluginFactory( n ) ( ( QWebPluginFactory * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebSecurityOrigin( n ) ( ( QWebSecurityOrigin * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebSettings( n ) ( ( QWebSettings * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebView( n ) ( ( QWebView * ) hbqt_gcpointer( n ) )
#endif /* __HBQT_LOCAL_H */

View File

@@ -0,0 +1,51 @@
-3rd=hbide_version=1.0
-3rd=hbide_type=Lib
-3rd=hbide_title=qtwebkit
-3rd=hbide_location=C:/harbour/contrib/hbqt/qtwebkit/
-3rd=hbide_workingfolder=
-3rd=hbide_destinationfolder=
-3rd=hbide_output=qtwebkit
-3rd=hbide_launchparams=
-3rd=hbide_launchprogram=
-3rd=hbide_backupfolder=
-3rd=hbide_xhb=NO
-3rd=hbide_xpp=NO
-3rd=hbide_clp=NO
-info
-trace
-inc
-w2
-es2
-hblib
-incpath=../
-incpath=${HB_WITH_QT}
-incpath=${HB_WITH_QT}/QtWebKit
-ohbqtwebkit
-plugin=../../../utils/hbmk2/examples/plug_moc.prg
QWebFrame.cpp
QWebHistory.cpp
QWebHistoryInterface.cpp
QWebHistoryItem.cpp
QWebHitTestResult.cpp
QWebPage.cpp
QWebPluginFactory.cpp
QWebSecurityOrigin.cpp
QWebSettings.cpp
QWebView.cpp
TQWebFrame.prg
TQWebHistory.prg
TQWebHistoryInterface.prg
TQWebHistoryItem.prg
TQWebHitTestResult.prg
TQWebPage.prg
TQWebPluginFactory.prg
TQWebSecurityOrigin.prg
TQWebSettings.prg
TQWebView.prg

View File

@@ -0,0 +1,26 @@
;
; $Id$
;
;
; Harbour Source Wrapper Generator's Project File for QT v4.5
;
; Pritpal Bedi <bedipritpal@hotmail.com>
;
-I=qth
-O=
-D=doc
QWebFrame.qth
QWebHistory.qth
QWebHistoryInterface.qth
QWebHistoryItem.qth
QWebHitTestResult.qth
QWebPage.qth
QWebPluginFactory.qth
QWebSecurityOrigin.qth
QWebSettings.qth
QWebView.qth

View File

@@ -59,11 +59,14 @@ Inherits = QObject
Type = Core
New =
Destructor = no
folder = qtwebkit
</CLASS>
<CODE>
#include <QtWebKit/QWebFrame>
#include <QtWebKit/QWebSecurityOrigin>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*
*

View File

@@ -55,14 +55,18 @@
;
<CLASS>
QObject = no
Inherits =
Type = Core
New =
Destructor = no
folder = qtwebkit
</CLASS>
<CODE>
#include <QtWebKit/QWebHistory>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*

View File

@@ -58,10 +58,13 @@
Inherits = QObject
Type = Core
New =
folder = qtwebkit
</CLASS>
<CODE>
#include <QtWebKit/QWebHistoryInterface>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*

View File

@@ -59,12 +59,14 @@ QObject = no
Inherits =
Type = Core
New =
folder = qtwebkit
</CLASS>
<CODE>
#include <QtCore/QVariant>
#include <QtWebKit/QWebHistoryItem>
#include <QtCore/QVariant>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*

View File

@@ -59,10 +59,13 @@ QObject = no
Inherits =
Type = Core
New =
folder = qtwebkit
</CLASS>
<CODE>
#include <QtWebKit/QWebHitTestResult>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*

View File

@@ -57,11 +57,14 @@
<CLASS>
Inherit = QObject
New = pParent
folder = qtwebkit
</CLASS>
<CODE>
#include <QtWebKit/QWebPage>
#include <QtCore/QVariant>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*
@@ -116,7 +119,7 @@ virtual bool supportsExtension ( Extension extension ) const
bool swallowContextMenuEvent ( QContextMenuEvent * event )
quint64 totalBytes () const
virtual void triggerAction ( WebAction action, bool checked = false )
QUndoStack * undoStack () const
//QUndoStack * undoStack () const
void updatePositionDependentActions ( const QPoint & pos )
QWidget * view () const
QSize viewportSize () const

View File

@@ -58,10 +58,13 @@
Inherits = QObject
Type = Core
New =
folder = qtwebkit
</CLASS>
<CODE>
#include <QtWebKit/QWebPluginFactory>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*

View File

@@ -59,10 +59,13 @@ QObject = no
Inherits =
Type = Core
New =
folder = qtwebkit
</CLASS>
<CODE>
#include <QtWebKit/QWebSecurityOrigin>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*

View File

@@ -55,15 +55,19 @@
;
<CLASS>
Inherits =
Type = Core
New =
QObject = no
Inherits =
Type = Core
New =
Destructor = no
folder = qtwebkit
</CLASS>
<CODE>
#include <QtWebKit/QWebSettings>
#include <QtCore/QUrl>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*

View File

@@ -57,11 +57,13 @@
<CLASS>
Inherit = QWidget
New = pParent
folder = qtwebkit
</CLASS>
<CODE>
#include <QtWebKit/QWebView>
#include "hbqt_garbage.h"
#include "hbqt_local.h"
/*