diff --git a/harbour/ChangeLog b/harbour/ChangeLog index bfdfc772e7..f8f29a9190 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,16 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-11-27 09:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbqt/detect.mk + - contrib/hbqt/qtwebkit + * Deleted qtwebkit references. + + * contrib/hbwin/hbwin.ch + * contrib/hbwin/win_prn2.c + * Comments. + * TRUE -> HB_TRUE, FALSE -> HB_FALSE + 2009-11-27 05:31 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/olecore.c * more beautiful and speed optimized version of last commit @@ -390,7 +400,7 @@ 2009-11-24 12:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/hbwin.ch * contrib/hbwin/win_prn2.c - + Added support for server name in WIN_PRINTERLIST() (GETPRINTER()) + + Added support for server name in WIN_PRINTERLIST() (GETPRINTERS()) * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c @@ -605,7 +615,7 @@ 2009-11-23 09:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/filesys.c - ! Fixed leak in hb_fsCurDirBuff() report by Pritpal. + ! Fixed leak in hb_fsCurDirBuff() reported by Pritpal. Please test/review. * contrib/hbwin/win_prn2.c diff --git a/harbour/contrib/hbqt/detect.mk b/harbour/contrib/hbqt/detect.mk index 0a82358f59..b276304f9d 100644 --- a/harbour/contrib/hbqt/detect.mk +++ b/harbour/contrib/hbqt/detect.mk @@ -32,9 +32,8 @@ ifneq ($(HB_HAS_QT),) HB_CFLAGS += -I/Library/Frameworks/QtCore.framework/Headers HB_CFLAGS += -I/Library/Frameworks/QtGui.framework/Headers HB_CFLAGS += -I/Library/Frameworks/QtNetwork.framework/Headers - HB_CFLAGS += -I/Library/Frameworks/QtWebKit.framework/Headers else - HB_CFLAGS += $(foreach d,$(HB_HAS_QT),-I$(d) -I$(d)/Qt -I$(d)/QtCore -I$(d)/QtGui -I$(d)/QtNetwork -I$(d)/QtWebKit) + HB_CFLAGS += $(foreach d,$(HB_HAS_QT),-I$(d) -I$(d)/Qt -I$(d)/QtCore -I$(d)/QtGui -I$(d)/QtNetwork) endif # Locate 'moc' executable diff --git a/harbour/contrib/hbqt/qtwebkit/Makefile b/harbour/contrib/hbqt/qtwebkit/Makefile deleted file mode 100644 index a2e280d0d0..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -# -# $Id$ -# - -ROOT := ../../../ - -include $(TOP)$(ROOT)config/global.mk - -LIBNAME := hbqtwebkit - -include $(TOP)$(ROOT)contrib/hbqt/detect.mk - -ifneq ($(HB_HAS_QT),) - - include $(TOP)$(ROOT)contrib/hbqt/qtwebkit/filelist.mk - - include $(TOP)$(ROOT)config/header.mk - include $(TOP)$(ROOT)config/lib.mk - - ifneq ($(filter $(HB_PLATFORM),win wce),) - ifneq ($(HB_QT_STATIC),) - DIRS += qtwebkits - include $(TOP)$(ROOT)config/dir.mk - endif - endif -else - HB_SKIP_REASON := $(_DET_RES_TEXT) - include $(TOP)$(ROOT)config/none.mk -endif diff --git a/harbour/contrib/hbqt/qtwebkit/QWebFrame.cpp b/harbour/contrib/hbqt/qtwebkit/QWebFrame.cpp deleted file mode 100644 index 086d4cf616..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/QWebFrame.cpp +++ /dev/null @@ -1,399 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 "hbapi.h" -#include "../hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 37/40 [ 92.50% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList childFrames () const - * QMultiMap metaData () const - * - * *** Commented out protos which construct fine but do not compile *** - * - * // void load ( const QWebNetworkRequest & req ) - */ - -#include - -#include -#include - -/* - * - */ - -QT_G_FUNC( release_QWebFrame ) -{ - HB_SYMBOL_UNUSED( Cargo ); -} - -HB_FUNC( QT_QWEBFRAME ) -{ -} -/* - * void addToJavaScriptWindowObject ( const QString & name, QObject * object ) - */ -HB_FUNC( QT_QWEBFRAME_ADDTOJAVASCRIPTWINDOWOBJECT ) -{ - hbqt_par_QWebFrame( 1 )->addToJavaScriptWindowObject( hbqt_par_QString( 2 ), hbqt_par_QObject( 3 ) ); -} - -/* - * void addToJavaScriptWindowObject ( const QString & name, QObject * object, QScriptEngine::ValueOwnership own ) - */ -HB_FUNC( QT_QWEBFRAME_ADDTOJAVASCRIPTWINDOWOBJECT_1 ) -{ - hbqt_par_QWebFrame( 1 )->addToJavaScriptWindowObject( hbqt_par_QString( 2 ), hbqt_par_QObject( 3 ), ( QScriptEngine::ValueOwnership ) hb_parni( 4 ) ); -} - -/* - * QSize contentsSize () const - */ -HB_FUNC( QT_QWEBFRAME_CONTENTSSIZE ) -{ - hb_retptrGC( gcAllocate_QSize( new QSize( hbqt_par_QWebFrame( 1 )->contentsSize() ) ) ); -} - -/* - * QString frameName () const - */ -HB_FUNC( QT_QWEBFRAME_FRAMENAME ) -{ - hb_retc( hbqt_par_QWebFrame( 1 )->frameName().toAscii().data() ); -} - -/* - * QRect geometry () const - */ -HB_FUNC( QT_QWEBFRAME_GEOMETRY ) -{ - hb_retptrGC( gcAllocate_QRect( new QRect( hbqt_par_QWebFrame( 1 )->geometry() ) ) ); -} - -/* - * QWebHitTestResult hitTestContent ( const QPoint & pos ) const - */ -HB_FUNC( QT_QWEBFRAME_HITTESTCONTENT ) -{ - hb_retptrGC( gcAllocate_QWebHitTestResult( new QWebHitTestResult( hbqt_par_QWebFrame( 1 )->hitTestContent( *hbqt_par_QPoint( 2 ) ) ) ) ); -} - -/* - * QIcon icon () const - */ -HB_FUNC( QT_QWEBFRAME_ICON ) -{ - hb_retptrGC( gcAllocate_QIcon( new QIcon( hbqt_par_QWebFrame( 1 )->icon() ) ) ); -} - -/* - * void load ( const QUrl & url ) - */ -HB_FUNC( QT_QWEBFRAME_LOAD ) -{ - hbqt_par_QWebFrame( 1 )->load( *hbqt_par_QUrl( 2 ) ); -} - -/* - * QWebPage * page () const - */ -HB_FUNC( QT_QWEBFRAME_PAGE ) -{ - hb_retptr( ( QWebPage* ) hbqt_par_QWebFrame( 1 )->page() ); -} - -/* - * QWebFrame * parentFrame () const - */ -HB_FUNC( QT_QWEBFRAME_PARENTFRAME ) -{ - hb_retptr( ( QWebFrame* ) hbqt_par_QWebFrame( 1 )->parentFrame() ); -} - -/* - * QPoint pos () const - */ -HB_FUNC( QT_QWEBFRAME_POS ) -{ - hb_retptrGC( gcAllocate_QPoint( new QPoint( hbqt_par_QWebFrame( 1 )->pos() ) ) ); -} - -/* - * void render ( QPainter * painter, const QRegion & clip ) - */ -HB_FUNC( QT_QWEBFRAME_RENDER ) -{ - hbqt_par_QWebFrame( 1 )->render( hbqt_par_QPainter( 2 ), *hbqt_par_QRegion( 3 ) ); -} - -/* - * void render ( QPainter * painter ) - */ -HB_FUNC( QT_QWEBFRAME_RENDER_1 ) -{ - hbqt_par_QWebFrame( 1 )->render( hbqt_par_QPainter( 2 ) ); -} - -/* - * QString renderTreeDump () const - */ -HB_FUNC( QT_QWEBFRAME_RENDERTREEDUMP ) -{ - hb_retc( hbqt_par_QWebFrame( 1 )->renderTreeDump().toAscii().data() ); -} - -/* - * void scroll ( int dx, int dy ) - */ -HB_FUNC( QT_QWEBFRAME_SCROLL ) -{ - hbqt_par_QWebFrame( 1 )->scroll( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * int scrollBarMaximum ( Qt::Orientation orientation ) const - */ -HB_FUNC( QT_QWEBFRAME_SCROLLBARMAXIMUM ) -{ - hb_retni( hbqt_par_QWebFrame( 1 )->scrollBarMaximum( ( Qt::Orientation ) hb_parni( 2 ) ) ); -} - -/* - * int scrollBarMinimum ( Qt::Orientation orientation ) const - */ -HB_FUNC( QT_QWEBFRAME_SCROLLBARMINIMUM ) -{ - hb_retni( hbqt_par_QWebFrame( 1 )->scrollBarMinimum( ( Qt::Orientation ) hb_parni( 2 ) ) ); -} - -/* - * Qt::ScrollBarPolicy scrollBarPolicy ( Qt::Orientation orientation ) const - */ -HB_FUNC( QT_QWEBFRAME_SCROLLBARPOLICY ) -{ - hb_retni( ( Qt::ScrollBarPolicy ) hbqt_par_QWebFrame( 1 )->scrollBarPolicy( ( Qt::Orientation ) hb_parni( 2 ) ) ); -} - -/* - * int scrollBarValue ( Qt::Orientation orientation ) const - */ -HB_FUNC( QT_QWEBFRAME_SCROLLBARVALUE ) -{ - hb_retni( hbqt_par_QWebFrame( 1 )->scrollBarValue( ( Qt::Orientation ) hb_parni( 2 ) ) ); -} - -/* - * QPoint scrollPosition () const - */ -HB_FUNC( QT_QWEBFRAME_SCROLLPOSITION ) -{ - hb_retptrGC( gcAllocate_QPoint( new QPoint( hbqt_par_QWebFrame( 1 )->scrollPosition() ) ) ); -} - -/* - * QWebSecurityOrigin securityOrigin () const - */ -HB_FUNC( QT_QWEBFRAME_SECURITYORIGIN ) -{ - hb_retptrGC( gcAllocate_QWebSecurityOrigin( new QWebSecurityOrigin( hbqt_par_QWebFrame( 1 )->securityOrigin() ) ) ); -} - -/* - * void setContent ( const QByteArray & data, const QString & mimeType = QString(), const QUrl & baseUrl = QUrl() ) - */ -HB_FUNC( QT_QWEBFRAME_SETCONTENT ) -{ - hbqt_par_QWebFrame( 1 )->setContent( *hbqt_par_QByteArray( 2 ), hbqt_par_QString( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QUrl( 4 ) : QUrl() ) ); -} - -/* - * void setHtml ( const QString & html, const QUrl & baseUrl = QUrl() ) - */ -HB_FUNC( QT_QWEBFRAME_SETHTML ) -{ - hbqt_par_QWebFrame( 1 )->setHtml( hbqt_par_QString( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QUrl( 3 ) : QUrl() ) ); -} - -/* - * void setScrollBarPolicy ( Qt::Orientation orientation, Qt::ScrollBarPolicy policy ) - */ -HB_FUNC( QT_QWEBFRAME_SETSCROLLBARPOLICY ) -{ - hbqt_par_QWebFrame( 1 )->setScrollBarPolicy( ( Qt::Orientation ) hb_parni( 2 ), ( Qt::ScrollBarPolicy ) hb_parni( 3 ) ); -} - -/* - * void setScrollBarValue ( Qt::Orientation orientation, int value ) - */ -HB_FUNC( QT_QWEBFRAME_SETSCROLLBARVALUE ) -{ - hbqt_par_QWebFrame( 1 )->setScrollBarValue( ( Qt::Orientation ) hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setScrollPosition ( const QPoint & pos ) - */ -HB_FUNC( QT_QWEBFRAME_SETSCROLLPOSITION ) -{ - hbqt_par_QWebFrame( 1 )->setScrollPosition( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void setTextSizeMultiplier ( qreal factor ) - */ -HB_FUNC( QT_QWEBFRAME_SETTEXTSIZEMULTIPLIER ) -{ - hbqt_par_QWebFrame( 1 )->setTextSizeMultiplier( hb_parnd( 2 ) ); -} - -/* - * void setUrl ( const QUrl & url ) - */ -HB_FUNC( QT_QWEBFRAME_SETURL ) -{ - hbqt_par_QWebFrame( 1 )->setUrl( *hbqt_par_QUrl( 2 ) ); -} - -/* - * void setZoomFactor ( qreal factor ) - */ -HB_FUNC( QT_QWEBFRAME_SETZOOMFACTOR ) -{ - hbqt_par_QWebFrame( 1 )->setZoomFactor( hb_parnd( 2 ) ); -} - -/* - * qreal textSizeMultiplier () const - */ -HB_FUNC( QT_QWEBFRAME_TEXTSIZEMULTIPLIER ) -{ - hb_retnd( hbqt_par_QWebFrame( 1 )->textSizeMultiplier() ); -} - -/* - * QString title () const - */ -HB_FUNC( QT_QWEBFRAME_TITLE ) -{ - hb_retc( hbqt_par_QWebFrame( 1 )->title().toAscii().data() ); -} - -/* - * QString toHtml () const - */ -HB_FUNC( QT_QWEBFRAME_TOHTML ) -{ - hb_retc( hbqt_par_QWebFrame( 1 )->toHtml().toAscii().data() ); -} - -/* - * QString toPlainText () const - */ -HB_FUNC( QT_QWEBFRAME_TOPLAINTEXT ) -{ - hb_retc( hbqt_par_QWebFrame( 1 )->toPlainText().toAscii().data() ); -} - -/* - * QUrl url () const - */ -HB_FUNC( QT_QWEBFRAME_URL ) -{ - hb_retptrGC( gcAllocate_QUrl( new QUrl( hbqt_par_QWebFrame( 1 )->url() ) ) ); -} - -/* - * qreal zoomFactor () const - */ -HB_FUNC( QT_QWEBFRAME_ZOOMFACTOR ) -{ - hb_retnd( hbqt_par_QWebFrame( 1 )->zoomFactor() ); -} - -/* - * QVariant evaluateJavaScript ( const QString & scriptSource ) - */ -HB_FUNC( QT_QWEBFRAME_EVALUATEJAVASCRIPT ) -{ - hb_retptrGC( gcAllocate_QVariant( new QVariant( hbqt_par_QWebFrame( 1 )->evaluateJavaScript( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * void print ( QPrinter * printer ) const - */ -HB_FUNC( QT_QWEBFRAME_PRINT ) -{ - hbqt_par_QWebFrame( 1 )->print( hbqt_par_QPrinter( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtwebkit/QWebHistory.cpp b/harbour/contrib/hbqt/qtwebkit/QWebHistory.cpp deleted file mode 100644 index 005dbf6620..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/QWebHistory.cpp +++ /dev/null @@ -1,212 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 "hbapi.h" -#include "../hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 14/17 [ 82.35% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList backItems ( int maxItems ) const - * QList forwardItems ( int maxItems ) const - * QList items () const - */ - -#include - -#include - - -/* - * - */ - -QT_G_FUNC( release_QWebHistory ) -{ - HB_SYMBOL_UNUSED( Cargo ); -} - -HB_FUNC( QT_QWEBHISTORY ) -{ -} -/* - * void back () - */ -HB_FUNC( QT_QWEBHISTORY_BACK ) -{ - hbqt_par_QWebHistory( 1 )->back(); -} - -/* - * QWebHistoryItem backItem () const - */ -HB_FUNC( QT_QWEBHISTORY_BACKITEM ) -{ - hb_retptrGC( gcAllocate_QWebHistoryItem( new QWebHistoryItem( hbqt_par_QWebHistory( 1 )->backItem() ) ) ); -} - -/* - * bool canGoBack () const - */ -HB_FUNC( QT_QWEBHISTORY_CANGOBACK ) -{ - hb_retl( hbqt_par_QWebHistory( 1 )->canGoBack() ); -} - -/* - * bool canGoForward () const - */ -HB_FUNC( QT_QWEBHISTORY_CANGOFORWARD ) -{ - hb_retl( hbqt_par_QWebHistory( 1 )->canGoForward() ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QWEBHISTORY_CLEAR ) -{ - hbqt_par_QWebHistory( 1 )->clear(); -} - -/* - * int count () const - */ -HB_FUNC( QT_QWEBHISTORY_COUNT ) -{ - hb_retni( hbqt_par_QWebHistory( 1 )->count() ); -} - -/* - * QWebHistoryItem currentItem () const - */ -HB_FUNC( QT_QWEBHISTORY_CURRENTITEM ) -{ - hb_retptrGC( gcAllocate_QWebHistoryItem( new QWebHistoryItem( hbqt_par_QWebHistory( 1 )->currentItem() ) ) ); -} - -/* - * int currentItemIndex () const - */ -HB_FUNC( QT_QWEBHISTORY_CURRENTITEMINDEX ) -{ - hb_retni( hbqt_par_QWebHistory( 1 )->currentItemIndex() ); -} - -/* - * void forward () - */ -HB_FUNC( QT_QWEBHISTORY_FORWARD ) -{ - hbqt_par_QWebHistory( 1 )->forward(); -} - -/* - * QWebHistoryItem forwardItem () const - */ -HB_FUNC( QT_QWEBHISTORY_FORWARDITEM ) -{ - hb_retptrGC( gcAllocate_QWebHistoryItem( new QWebHistoryItem( hbqt_par_QWebHistory( 1 )->forwardItem() ) ) ); -} - -/* - * void goToItem ( const QWebHistoryItem & item ) - */ -HB_FUNC( QT_QWEBHISTORY_GOTOITEM ) -{ - hbqt_par_QWebHistory( 1 )->goToItem( *hbqt_par_QWebHistoryItem( 2 ) ); -} - -/* - * QWebHistoryItem itemAt ( int i ) const - */ -HB_FUNC( QT_QWEBHISTORY_ITEMAT ) -{ - hb_retptrGC( gcAllocate_QWebHistoryItem( new QWebHistoryItem( hbqt_par_QWebHistory( 1 )->itemAt( hb_parni( 2 ) ) ) ) ); -} - -/* - * int maximumItemCount () const - */ -HB_FUNC( QT_QWEBHISTORY_MAXIMUMITEMCOUNT ) -{ - hb_retni( hbqt_par_QWebHistory( 1 )->maximumItemCount() ); -} - -/* - * void setMaximumItemCount ( int count ) - */ -HB_FUNC( QT_QWEBHISTORY_SETMAXIMUMITEMCOUNT ) -{ - hbqt_par_QWebHistory( 1 )->setMaximumItemCount( hb_parni( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp b/harbour/contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp deleted file mode 100644 index 6d6642142c..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp +++ /dev/null @@ -1,122 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 "hbapi.h" -#include "../hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QWebHistoryInterface ( QObject * parent = 0 ) - * ~QWebHistoryInterface () - */ - -QT_G_FUNC( release_QWebHistoryInterface ) -{ - HB_SYMBOL_UNUSED( Cargo ); -} - -HB_FUNC( QT_QWEBHISTORYINTERFACE ) -{ -} -/* - * virtual void addHistoryEntry ( const QString & url ) = 0 - */ -HB_FUNC( QT_QWEBHISTORYINTERFACE_ADDHISTORYENTRY ) -{ - hbqt_par_QWebHistoryInterface( 1 )->addHistoryEntry( hbqt_par_QString( 2 ) ); -} - -/* - * virtual bool historyContains ( const QString & url ) const = 0 - */ -HB_FUNC( QT_QWEBHISTORYINTERFACE_HISTORYCONTAINS ) -{ - hb_retl( hbqt_par_QWebHistoryInterface( 1 )->historyContains( hbqt_par_QString( 2 ) ) ); -} - -/* - * QWebHistoryInterface * defaultInterface () - */ -HB_FUNC( QT_QWEBHISTORYINTERFACE_DEFAULTINTERFACE ) -{ - hb_retptr( ( QWebHistoryInterface* ) hbqt_par_QWebHistoryInterface( 1 )->defaultInterface() ); -} - -/* - * void setDefaultInterface ( QWebHistoryInterface * defaultInterface ) - */ -HB_FUNC( QT_QWEBHISTORYINTERFACE_SETDEFAULTINTERFACE ) -{ - hbqt_par_QWebHistoryInterface( 1 )->setDefaultInterface( hbqt_par_QWebHistoryInterface( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtwebkit/QWebHistoryItem.cpp b/harbour/contrib/hbqt/qtwebkit/QWebHistoryItem.cpp deleted file mode 100644 index 54dcd7fd0c..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/QWebHistoryItem.cpp +++ /dev/null @@ -1,196 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 "hbapi.h" -#include "../hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - -#include - - -/* - * QWebHistoryItem ( const QWebHistoryItem & other ) - * ~QWebHistoryItem () - */ - -QT_G_FUNC( release_QWebHistoryItem ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) Cargo; - - HB_TRACE( HB_TR_DEBUG, ( "release_QWebHistoryItem p=%p", p ) ); - HB_TRACE( HB_TR_DEBUG, ( "release_QWebHistoryItem ph=%p", p->ph ) ); - - if( p && p->ph ) - { - delete ( ( QWebHistoryItem * ) p->ph ); - p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QWebHistoryItem Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QWebHistoryItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif - } - else - { - HB_TRACE( HB_TR_DEBUG, ( "release_QWebHistoryItem Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QWebHistoryItem" ); - #endif - } -} - -void * gcAllocate_QWebHistoryItem( void * pObj ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAllocate( sizeof( QGC_POINTER ), gcFuncs() ); - - p->ph = pObj; - p->func = release_QWebHistoryItem; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QWebHistoryItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif - return( p ); -} - -HB_FUNC( QT_QWEBHISTORYITEM ) -{ - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QWebHistoryItem( *hbqt_par_QWebHistoryItem( 1 ) ) ; - } - - hb_retptrGC( gcAllocate_QWebHistoryItem( pObj ) ); -} -/* - * QIcon icon () const - */ -HB_FUNC( QT_QWEBHISTORYITEM_ICON ) -{ - hb_retptrGC( gcAllocate_QIcon( new QIcon( hbqt_par_QWebHistoryItem( 1 )->icon() ) ) ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QWEBHISTORYITEM_ISVALID ) -{ - hb_retl( hbqt_par_QWebHistoryItem( 1 )->isValid() ); -} - -/* - * QDateTime lastVisited () const - */ -HB_FUNC( QT_QWEBHISTORYITEM_LASTVISITED ) -{ - hb_retptrGC( gcAllocate_QDateTime( new QDateTime( hbqt_par_QWebHistoryItem( 1 )->lastVisited() ) ) ); -} - -/* - * QUrl originalUrl () const - */ -HB_FUNC( QT_QWEBHISTORYITEM_ORIGINALURL ) -{ - hb_retptrGC( gcAllocate_QUrl( new QUrl( hbqt_par_QWebHistoryItem( 1 )->originalUrl() ) ) ); -} - -/* - * void setUserData ( const QVariant & userData ) - */ -HB_FUNC( QT_QWEBHISTORYITEM_SETUSERDATA ) -{ - hbqt_par_QWebHistoryItem( 1 )->setUserData( *hbqt_par_QVariant( 2 ) ); -} - -/* - * QString title () const - */ -HB_FUNC( QT_QWEBHISTORYITEM_TITLE ) -{ - hb_retc( hbqt_par_QWebHistoryItem( 1 )->title().toAscii().data() ); -} - -/* - * QUrl url () const - */ -HB_FUNC( QT_QWEBHISTORYITEM_URL ) -{ - hb_retptrGC( gcAllocate_QUrl( new QUrl( hbqt_par_QWebHistoryItem( 1 )->url() ) ) ); -} - -/* - * QVariant userData () const - */ -HB_FUNC( QT_QWEBHISTORYITEM_USERDATA ) -{ - hb_retptrGC( gcAllocate_QVariant( new QVariant( hbqt_par_QWebHistoryItem( 1 )->userData() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtwebkit/QWebHitTestResult.cpp b/harbour/contrib/hbqt/qtwebkit/QWebHitTestResult.cpp deleted file mode 100644 index fb3682fa6e..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/QWebHitTestResult.cpp +++ /dev/null @@ -1,240 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 "hbapi.h" -#include "../hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QWebHitTestResult () - * QWebHitTestResult ( const QWebHitTestResult & other ) - * ~QWebHitTestResult () - */ - -QT_G_FUNC( release_QWebHitTestResult ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) Cargo; - - HB_TRACE( HB_TR_DEBUG, ( "release_QWebHitTestResult p=%p", p ) ); - HB_TRACE( HB_TR_DEBUG, ( "release_QWebHitTestResult ph=%p", p->ph ) ); - - if( p && p->ph ) - { - delete ( ( QWebHitTestResult * ) p->ph ); - p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QWebHitTestResult Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QWebHitTestResult %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif - } - else - { - HB_TRACE( HB_TR_DEBUG, ( "release_QWebHitTestResult Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QWebHitTestResult" ); - #endif - } -} - -void * gcAllocate_QWebHitTestResult( void * pObj ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAllocate( sizeof( QGC_POINTER ), gcFuncs() ); - - p->ph = pObj; - p->func = release_QWebHitTestResult; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QWebHitTestResult %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif - return( p ); -} - -HB_FUNC( QT_QWEBHITTESTRESULT ) -{ - void * pObj = NULL; - - pObj = ( QWebHitTestResult* ) new QWebHitTestResult() ; - - hb_retptrGC( gcAllocate_QWebHitTestResult( pObj ) ); -} -/* - * QString alternateText () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_ALTERNATETEXT ) -{ - hb_retc( hbqt_par_QWebHitTestResult( 1 )->alternateText().toAscii().data() ); -} - -/* - * QRect boundingRect () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_BOUNDINGRECT ) -{ - hb_retptrGC( gcAllocate_QRect( new QRect( hbqt_par_QWebHitTestResult( 1 )->boundingRect() ) ) ); -} - -/* - * QWebFrame * frame () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_FRAME ) -{ - hb_retptr( ( QWebFrame* ) hbqt_par_QWebHitTestResult( 1 )->frame() ); -} - -/* - * QUrl imageUrl () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_IMAGEURL ) -{ - hb_retptrGC( gcAllocate_QUrl( new QUrl( hbqt_par_QWebHitTestResult( 1 )->imageUrl() ) ) ); -} - -/* - * bool isContentEditable () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_ISCONTENTEDITABLE ) -{ - hb_retl( hbqt_par_QWebHitTestResult( 1 )->isContentEditable() ); -} - -/* - * bool isContentSelected () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_ISCONTENTSELECTED ) -{ - hb_retl( hbqt_par_QWebHitTestResult( 1 )->isContentSelected() ); -} - -/* - * bool isNull () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_ISNULL ) -{ - hb_retl( hbqt_par_QWebHitTestResult( 1 )->isNull() ); -} - -/* - * QWebFrame * linkTargetFrame () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_LINKTARGETFRAME ) -{ - hb_retptr( ( QWebFrame* ) hbqt_par_QWebHitTestResult( 1 )->linkTargetFrame() ); -} - -/* - * QString linkText () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_LINKTEXT ) -{ - hb_retc( hbqt_par_QWebHitTestResult( 1 )->linkText().toAscii().data() ); -} - -/* - * QUrl linkTitle () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_LINKTITLE ) -{ - hb_retptrGC( gcAllocate_QUrl( new QUrl( hbqt_par_QWebHitTestResult( 1 )->linkTitle() ) ) ); -} - -/* - * QUrl linkUrl () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_LINKURL ) -{ - hb_retptrGC( gcAllocate_QUrl( new QUrl( hbqt_par_QWebHitTestResult( 1 )->linkUrl() ) ) ); -} - -/* - * QPixmap pixmap () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_PIXMAP ) -{ - hb_retptrGC( gcAllocate_QPixmap( new QPixmap( hbqt_par_QWebHitTestResult( 1 )->pixmap() ) ) ); -} - -/* - * QPoint pos () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_POS ) -{ - hb_retptrGC( gcAllocate_QPoint( new QPoint( hbqt_par_QWebHitTestResult( 1 )->pos() ) ) ); -} - -/* - * QString title () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_TITLE ) -{ - hb_retc( hbqt_par_QWebHitTestResult( 1 )->title().toAscii().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtwebkit/QWebPage.cpp b/harbour/contrib/hbqt/qtwebkit/QWebPage.cpp deleted file mode 100644 index d68f34babe..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/QWebPage.cpp +++ /dev/null @@ -1,424 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 "hbapi.h" -#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 - -#include -#include - - -/* - * QWebPage ( QObject * parent = 0 ) - * ~QWebPage () - */ - -typedef struct -{ - void * ph; - QT_G_FUNC_PTR func; - QPointer< QWebPage > pq; -} QGC_POINTER_QWebPage; - -QT_G_FUNC( release_QWebPage ) -{ - QGC_POINTER_QWebPage * p = ( QGC_POINTER_QWebPage * ) Cargo; - - HB_TRACE( HB_TR_DEBUG, ( "release_QWebPage p=%p", p)); - HB_TRACE( HB_TR_DEBUG, ( "release_QWebPage ph=%p pq=%p", p->ph, (void *)(p->pq))); - - if( p && p->ph && p->pq ) - { - const QMetaObject * m = ( ( QObject * ) p->ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - { - switch( hbqt_get_object_release_method() ) - { - case HBQT_RELEASE_WITH_DELETE: - delete ( ( QWebPage * ) p->ph ); - break; - case HBQT_RELEASE_WITH_DESTRUTOR: - ( ( QWebPage * ) p->ph )->~QWebPage(); - break; - case HBQT_RELEASE_WITH_DELETE_LATER: - ( ( QWebPage * ) p->ph )->deleteLater(); - break; - } - p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QWebPage Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QWebPage %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif - } - else - { - HB_TRACE( HB_TR_DEBUG, ( "release_QWebPage Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QWebPage" ); - #endif - } - } - else - { - HB_TRACE( HB_TR_DEBUG, ( "release_QWebPage Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QWebPage" ); - #endif - } -} - -void * gcAllocate_QWebPage( void * pObj ) -{ - QGC_POINTER_QWebPage * p = ( QGC_POINTER_QWebPage * ) hb_gcAllocate( sizeof( QGC_POINTER_QWebPage ), gcFuncs() ); - - p->ph = pObj; - p->func = release_QWebPage; - new( & p->pq ) QPointer< QWebPage >( ( QWebPage * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QWebPage %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif - return( p ); -} - -HB_FUNC( QT_QWEBPAGE ) -{ - void * pObj = NULL; - - pObj = new QWebPage( hbqt_par_QWidget( 2 ) ) ; - - hb_retptrGC( gcAllocate_QWebPage( pObj ) ); -} -/* - * QAction * action ( WebAction action ) const - */ -HB_FUNC( QT_QWEBPAGE_ACTION ) -{ - hb_retptr( ( QAction* ) hbqt_par_QWebPage( 1 )->action( ( QWebPage::WebAction ) hb_parni( 2 ) ) ); -} - -/* - * quint64 bytesReceived () const - */ -HB_FUNC( QT_QWEBPAGE_BYTESRECEIVED ) -{ - hb_retnint( hbqt_par_QWebPage( 1 )->bytesReceived() ); -} - -/* - * QMenu * createStandardContextMenu () - */ -HB_FUNC( QT_QWEBPAGE_CREATESTANDARDCONTEXTMENU ) -{ - hb_retptr( ( QMenu* ) hbqt_par_QWebPage( 1 )->createStandardContextMenu() ); -} - -/* - * QWebFrame * currentFrame () const - */ -HB_FUNC( QT_QWEBPAGE_CURRENTFRAME ) -{ - hb_retptr( ( QWebFrame* ) hbqt_par_QWebPage( 1 )->currentFrame() ); -} - -/* - * bool findText ( const QString & subString, FindFlags options = 0 ) - */ -HB_FUNC( QT_QWEBPAGE_FINDTEXT ) -{ - hb_retl( hbqt_par_QWebPage( 1 )->findText( hbqt_par_QString( 2 ), ( QWebPage::FindFlags ) hb_parni( 3 ) ) ); -} - -/* - * bool focusNextPrevChild ( bool next ) - */ -HB_FUNC( QT_QWEBPAGE_FOCUSNEXTPREVCHILD ) -{ - hb_retl( hbqt_par_QWebPage( 1 )->focusNextPrevChild( hb_parl( 2 ) ) ); -} - -/* - * bool forwardUnsupportedContent () const - */ -HB_FUNC( QT_QWEBPAGE_FORWARDUNSUPPORTEDCONTENT ) -{ - hb_retl( hbqt_par_QWebPage( 1 )->forwardUnsupportedContent() ); -} - -/* - * QWebHistory * history () const - */ -HB_FUNC( QT_QWEBPAGE_HISTORY ) -{ - hb_retptr( ( QWebHistory* ) hbqt_par_QWebPage( 1 )->history() ); -} - -/* - * QVariant inputMethodQuery ( Qt::InputMethodQuery property ) const - */ -HB_FUNC( QT_QWEBPAGE_INPUTMETHODQUERY ) -{ - hb_retptrGC( gcAllocate_QVariant( new QVariant( hbqt_par_QWebPage( 1 )->inputMethodQuery( ( Qt::InputMethodQuery ) hb_parni( 2 ) ) ) ) ); -} - -/* - * bool isContentEditable () const - */ -HB_FUNC( QT_QWEBPAGE_ISCONTENTEDITABLE ) -{ - hb_retl( hbqt_par_QWebPage( 1 )->isContentEditable() ); -} - -/* - * bool isModified () const - */ -HB_FUNC( QT_QWEBPAGE_ISMODIFIED ) -{ - hb_retl( hbqt_par_QWebPage( 1 )->isModified() ); -} - -/* - * LinkDelegationPolicy linkDelegationPolicy () const - */ -HB_FUNC( QT_QWEBPAGE_LINKDELEGATIONPOLICY ) -{ - hb_retni( ( QWebPage::LinkDelegationPolicy ) hbqt_par_QWebPage( 1 )->linkDelegationPolicy() ); -} - -/* - * QWebFrame * mainFrame () const - */ -HB_FUNC( QT_QWEBPAGE_MAINFRAME ) -{ - hb_retptr( ( QWebFrame* ) hbqt_par_QWebPage( 1 )->mainFrame() ); -} - -/* - * QPalette palette () const - */ -HB_FUNC( QT_QWEBPAGE_PALETTE ) -{ - hb_retptrGC( gcAllocate_QPalette( new QPalette( hbqt_par_QWebPage( 1 )->palette() ) ) ); -} - -/* - * QWebPluginFactory * pluginFactory () const - */ -HB_FUNC( QT_QWEBPAGE_PLUGINFACTORY ) -{ - hb_retptr( ( QWebPluginFactory* ) hbqt_par_QWebPage( 1 )->pluginFactory() ); -} - -/* - * QString selectedText () const - */ -HB_FUNC( QT_QWEBPAGE_SELECTEDTEXT ) -{ - hb_retc( hbqt_par_QWebPage( 1 )->selectedText().toAscii().data() ); -} - -/* - * void setContentEditable ( bool editable ) - */ -HB_FUNC( QT_QWEBPAGE_SETCONTENTEDITABLE ) -{ - hbqt_par_QWebPage( 1 )->setContentEditable( hb_parl( 2 ) ); -} - -/* - * void setForwardUnsupportedContent ( bool forward ) - */ -HB_FUNC( QT_QWEBPAGE_SETFORWARDUNSUPPORTEDCONTENT ) -{ - hbqt_par_QWebPage( 1 )->setForwardUnsupportedContent( hb_parl( 2 ) ); -} - -/* - * void setLinkDelegationPolicy ( LinkDelegationPolicy policy ) - */ -HB_FUNC( QT_QWEBPAGE_SETLINKDELEGATIONPOLICY ) -{ - hbqt_par_QWebPage( 1 )->setLinkDelegationPolicy( ( QWebPage::LinkDelegationPolicy ) hb_parni( 2 ) ); -} - -/* - * void setPalette ( const QPalette & palette ) - */ -HB_FUNC( QT_QWEBPAGE_SETPALETTE ) -{ - hbqt_par_QWebPage( 1 )->setPalette( *hbqt_par_QPalette( 2 ) ); -} - -/* - * void setPluginFactory ( QWebPluginFactory * factory ) - */ -HB_FUNC( QT_QWEBPAGE_SETPLUGINFACTORY ) -{ - hbqt_par_QWebPage( 1 )->setPluginFactory( hbqt_par_QWebPluginFactory( 2 ) ); -} - -/* - * void setView ( QWidget * view ) - */ -HB_FUNC( QT_QWEBPAGE_SETVIEW ) -{ - hbqt_par_QWebPage( 1 )->setView( hbqt_par_QWidget( 2 ) ); -} - -/* - * void setViewportSize ( const QSize & size ) const - */ -HB_FUNC( QT_QWEBPAGE_SETVIEWPORTSIZE ) -{ - hbqt_par_QWebPage( 1 )->setViewportSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * QWebSettings * settings () const - */ -HB_FUNC( QT_QWEBPAGE_SETTINGS ) -{ - hb_retptr( ( QWebSettings* ) hbqt_par_QWebPage( 1 )->settings() ); -} - -/* - * virtual bool supportsExtension ( Extension extension ) const - */ -HB_FUNC( QT_QWEBPAGE_SUPPORTSEXTENSION ) -{ - hb_retl( hbqt_par_QWebPage( 1 )->supportsExtension( ( QWebPage::Extension ) hb_parni( 2 ) ) ); -} - -/* - * bool swallowContextMenuEvent ( QContextMenuEvent * event ) - */ -HB_FUNC( QT_QWEBPAGE_SWALLOWCONTEXTMENUEVENT ) -{ - hb_retl( hbqt_par_QWebPage( 1 )->swallowContextMenuEvent( hbqt_par_QContextMenuEvent( 2 ) ) ); -} - -/* - * quint64 totalBytes () const - */ -HB_FUNC( QT_QWEBPAGE_TOTALBYTES ) -{ - hb_retnint( hbqt_par_QWebPage( 1 )->totalBytes() ); -} - -/* - * virtual void triggerAction ( WebAction action, bool checked = false ) - */ -HB_FUNC( QT_QWEBPAGE_TRIGGERACTION ) -{ - hbqt_par_QWebPage( 1 )->triggerAction( ( QWebPage::WebAction ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * QUndoStack * undoStack () const - */ -HB_FUNC( QT_QWEBPAGE_UNDOSTACK ) -{ - hb_retptr( ( QUndoStack* ) hbqt_par_QWebPage( 1 )->undoStack() ); -} - -/* - * void updatePositionDependentActions ( const QPoint & pos ) - */ -HB_FUNC( QT_QWEBPAGE_UPDATEPOSITIONDEPENDENTACTIONS ) -{ - hbqt_par_QWebPage( 1 )->updatePositionDependentActions( *hbqt_par_QPoint( 2 ) ); -} - -/* - * QWidget * view () const - */ -HB_FUNC( QT_QWEBPAGE_VIEW ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWebPage( 1 )->view() ); -} - -/* - * QSize viewportSize () const - */ -HB_FUNC( QT_QWEBPAGE_VIEWPORTSIZE ) -{ - hb_retptrGC( gcAllocate_QSize( new QSize( hbqt_par_QWebPage( 1 )->viewportSize() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtwebkit/QWebPluginFactory.cpp b/harbour/contrib/hbqt/qtwebkit/QWebPluginFactory.cpp deleted file mode 100644 index 9e1f1deca3..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/QWebPluginFactory.cpp +++ /dev/null @@ -1,132 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 "hbapi.h" -#include "../hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * class ExtensionOption - * enum Extension { } - */ - -/* - * Constructed[ 3/5 [ 60.00% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * virtual QList 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 - -#include - - -/* - * QWebPluginFactory ( QObject * parent = 0 ) - * virtual ~QWebPluginFactory () - */ - -QT_G_FUNC( release_QWebPluginFactory ) -{ - HB_SYMBOL_UNUSED( Cargo ); -} - -HB_FUNC( QT_QWEBPLUGINFACTORY ) -{ -} -/* - * virtual QObject * create ( const QString & mimeType, const QUrl & url, const QStringList & argumentNames, const QStringList & argumentValues ) const = 0 - */ -HB_FUNC( QT_QWEBPLUGINFACTORY_CREATE ) -{ - hb_retptr( ( QObject* ) hbqt_par_QWebPluginFactory( 1 )->create( hbqt_par_QString( 2 ), *hbqt_par_QUrl( 3 ), *hbqt_par_QStringList( 4 ), *hbqt_par_QStringList( 5 ) ) ); -} - -/* - * virtual void refreshPlugins () - */ -HB_FUNC( QT_QWEBPLUGINFACTORY_REFRESHPLUGINS ) -{ - hbqt_par_QWebPluginFactory( 1 )->refreshPlugins(); -} - -/* - * virtual bool supportsExtension ( Extension extension ) const - */ -HB_FUNC( QT_QWEBPLUGINFACTORY_SUPPORTSEXTENSION ) -{ - hb_retl( hbqt_par_QWebPluginFactory( 1 )->supportsExtension( ( QWebPluginFactory::Extension ) hb_parni( 2 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp b/harbour/contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp deleted file mode 100644 index bae4835786..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp +++ /dev/null @@ -1,188 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 "hbapi.h" -#include "../hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 6/8 [ 75.00% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList databases () const - * QList allOrigins () - */ - -#include - -#include - - -/* - * QWebSecurityOrigin ( const QWebSecurityOrigin & other ) - * ~QWebSecurityOrigin () - */ - -QT_G_FUNC( release_QWebSecurityOrigin ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) Cargo; - - HB_TRACE( HB_TR_DEBUG, ( "release_QWebSecurityOrigin p=%p", p ) ); - HB_TRACE( HB_TR_DEBUG, ( "release_QWebSecurityOrigin ph=%p", p->ph ) ); - - if( p && p->ph ) - { - delete ( ( QWebSecurityOrigin * ) p->ph ); - p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QWebSecurityOrigin Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QWebSecurityOrigin %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif - } - else - { - HB_TRACE( HB_TR_DEBUG, ( "release_QWebSecurityOrigin Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QWebSecurityOrigin" ); - #endif - } -} - -void * gcAllocate_QWebSecurityOrigin( void * pObj ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAllocate( sizeof( QGC_POINTER ), gcFuncs() ); - - p->ph = pObj; - p->func = release_QWebSecurityOrigin; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QWebSecurityOrigin %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif - return( p ); -} - -HB_FUNC( QT_QWEBSECURITYORIGIN ) -{ - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QWebSecurityOrigin( *hbqt_par_QWebSecurityOrigin( 1 ) ) ; - } - - hb_retptrGC( gcAllocate_QWebSecurityOrigin( pObj ) ); -} -/* - * qint64 databaseQuota () const - */ -HB_FUNC( QT_QWEBSECURITYORIGIN_DATABASEQUOTA ) -{ - hb_retnint( hbqt_par_QWebSecurityOrigin( 1 )->databaseQuota() ); -} - -/* - * qint64 databaseUsage () const - */ -HB_FUNC( QT_QWEBSECURITYORIGIN_DATABASEUSAGE ) -{ - hb_retnint( hbqt_par_QWebSecurityOrigin( 1 )->databaseUsage() ); -} - -/* - * QString host () const - */ -HB_FUNC( QT_QWEBSECURITYORIGIN_HOST ) -{ - hb_retc( hbqt_par_QWebSecurityOrigin( 1 )->host().toAscii().data() ); -} - -/* - * int port () const - */ -HB_FUNC( QT_QWEBSECURITYORIGIN_PORT ) -{ - hb_retni( hbqt_par_QWebSecurityOrigin( 1 )->port() ); -} - -/* - * QString scheme () const - */ -HB_FUNC( QT_QWEBSECURITYORIGIN_SCHEME ) -{ - hb_retc( hbqt_par_QWebSecurityOrigin( 1 )->scheme().toAscii().data() ); -} - -/* - * void setDatabaseQuota ( qint64 quota ) - */ -HB_FUNC( QT_QWEBSECURITYORIGIN_SETDATABASEQUOTA ) -{ - hbqt_par_QWebSecurityOrigin( 1 )->setDatabaseQuota( hb_parnint( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtwebkit/QWebSettings.cpp b/harbour/contrib/hbqt/qtwebkit/QWebSettings.cpp deleted file mode 100644 index 76fa87c397..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/QWebSettings.cpp +++ /dev/null @@ -1,297 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 "hbapi.h" -#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 - -#include -#include - - -/* - * - */ - -QT_G_FUNC( release_QWebSettings ) -{ - HB_SYMBOL_UNUSED( Cargo ); -} - -HB_FUNC( QT_QWEBSETTINGS ) -{ -} -/* - * QString fontFamily ( FontFamily which ) const - */ -HB_FUNC( QT_QWEBSETTINGS_FONTFAMILY ) -{ - hb_retc( hbqt_par_QWebSettings( 1 )->fontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * int fontSize ( FontSize type ) const - */ -HB_FUNC( QT_QWEBSETTINGS_FONTSIZE ) -{ - hb_retni( hbqt_par_QWebSettings( 1 )->fontSize( ( QWebSettings::FontSize ) hb_parni( 2 ) ) ); -} - -/* - * void resetAttribute ( WebAttribute attribute ) - */ -HB_FUNC( QT_QWEBSETTINGS_RESETATTRIBUTE ) -{ - hbqt_par_QWebSettings( 1 )->resetAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ) ); -} - -/* - * void resetFontFamily ( FontFamily which ) - */ -HB_FUNC( QT_QWEBSETTINGS_RESETFONTFAMILY ) -{ - hbqt_par_QWebSettings( 1 )->resetFontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ) ); -} - -/* - * void resetFontSize ( FontSize type ) - */ -HB_FUNC( QT_QWEBSETTINGS_RESETFONTSIZE ) -{ - hbqt_par_QWebSettings( 1 )->resetFontSize( ( QWebSettings::FontSize ) hb_parni( 2 ) ); -} - -/* - * void setAttribute ( WebAttribute attribute, bool on ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETATTRIBUTE ) -{ - hbqt_par_QWebSettings( 1 )->setAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setFontFamily ( FontFamily which, const QString & family ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETFONTFAMILY ) -{ - hbqt_par_QWebSettings( 1 )->setFontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setFontSize ( FontSize type, int size ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETFONTSIZE ) -{ - hbqt_par_QWebSettings( 1 )->setFontSize( ( QWebSettings::FontSize ) hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setUserStyleSheetUrl ( const QUrl & location ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETUSERSTYLESHEETURL ) -{ - hbqt_par_QWebSettings( 1 )->setUserStyleSheetUrl( *hbqt_par_QUrl( 2 ) ); -} - -/* - * bool testAttribute ( WebAttribute attribute ) const - */ -HB_FUNC( QT_QWEBSETTINGS_TESTATTRIBUTE ) -{ - hb_retl( hbqt_par_QWebSettings( 1 )->testAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ) ) ); -} - -/* - * QUrl userStyleSheetUrl () const - */ -HB_FUNC( QT_QWEBSETTINGS_USERSTYLESHEETURL ) -{ - hb_retptrGC( gcAllocate_QUrl( new QUrl( hbqt_par_QWebSettings( 1 )->userStyleSheetUrl() ) ) ); -} - -/* - * void clearIconDatabase () - */ -HB_FUNC( QT_QWEBSETTINGS_CLEARICONDATABASE ) -{ - hbqt_par_QWebSettings( 1 )->clearIconDatabase(); -} - -/* - * QWebSettings * globalSettings () - */ -HB_FUNC( QT_QWEBSETTINGS_GLOBALSETTINGS ) -{ - hb_retptr( ( QWebSettings* ) hbqt_par_QWebSettings( 1 )->globalSettings() ); -} - -/* - * QString iconDatabasePath () - */ -HB_FUNC( QT_QWEBSETTINGS_ICONDATABASEPATH ) -{ - hb_retc( hbqt_par_QWebSettings( 1 )->iconDatabasePath().toAscii().data() ); -} - -/* - * QIcon iconForUrl ( const QUrl & url ) - */ -HB_FUNC( QT_QWEBSETTINGS_ICONFORURL ) -{ - hb_retptrGC( gcAllocate_QIcon( new QIcon( hbqt_par_QWebSettings( 1 )->iconForUrl( *hbqt_par_QUrl( 2 ) ) ) ) ); -} - -/* - * int maximumPagesInCache () - */ -HB_FUNC( QT_QWEBSETTINGS_MAXIMUMPAGESINCACHE ) -{ - hb_retni( hbqt_par_QWebSettings( 1 )->maximumPagesInCache() ); -} - -/* - * qint64 offlineStorageDefaultQuota () - */ -HB_FUNC( QT_QWEBSETTINGS_OFFLINESTORAGEDEFAULTQUOTA ) -{ - hb_retnint( hbqt_par_QWebSettings( 1 )->offlineStorageDefaultQuota() ); -} - -/* - * QString offlineStoragePath () - */ -HB_FUNC( QT_QWEBSETTINGS_OFFLINESTORAGEPATH ) -{ - hb_retc( hbqt_par_QWebSettings( 1 )->offlineStoragePath().toAscii().data() ); -} - -/* - * void setIconDatabasePath ( const QString & path ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETICONDATABASEPATH ) -{ - hbqt_par_QWebSettings( 1 )->setIconDatabasePath( hbqt_par_QString( 2 ) ); -} - -/* - * void setMaximumPagesInCache ( int pages ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETMAXIMUMPAGESINCACHE ) -{ - hbqt_par_QWebSettings( 1 )->setMaximumPagesInCache( hb_parni( 2 ) ); -} - -/* - * void setObjectCacheCapacities ( int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETOBJECTCACHECAPACITIES ) -{ - hbqt_par_QWebSettings( 1 )->setObjectCacheCapacities( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* - * void setOfflineStorageDefaultQuota ( qint64 maximumSize ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETOFFLINESTORAGEDEFAULTQUOTA ) -{ - hbqt_par_QWebSettings( 1 )->setOfflineStorageDefaultQuota( hb_parnint( 2 ) ); -} - -/* - * void setOfflineStoragePath ( const QString & path ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETOFFLINESTORAGEPATH ) -{ - hbqt_par_QWebSettings( 1 )->setOfflineStoragePath( hbqt_par_QString( 2 ) ); -} - -/* - * void setWebGraphic ( WebGraphic type, const QPixmap & graphic ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETWEBGRAPHIC ) -{ - hbqt_par_QWebSettings( 1 )->setWebGraphic( ( QWebSettings::WebGraphic ) hb_parni( 2 ), *hbqt_par_QPixmap( 3 ) ); -} - -/* - * QPixmap webGraphic ( WebGraphic type ) - */ -HB_FUNC( QT_QWEBSETTINGS_WEBGRAPHIC ) -{ - hb_retptrGC( gcAllocate_QPixmap( new QPixmap( hbqt_par_QWebSettings( 1 )->webGraphic( ( QWebSettings::WebGraphic ) hb_parni( 2 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtwebkit/QWebView.cpp b/harbour/contrib/hbqt/qtwebkit/QWebView.cpp deleted file mode 100644 index 55217f88c3..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/QWebView.cpp +++ /dev/null @@ -1,366 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 "hbapi.h" -#include "../hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - - -/* - * QWebView ( QWidget * parent = 0 ) - * virtual ~QWebView () - */ - -typedef struct -{ - void * ph; - QT_G_FUNC_PTR func; - QPointer< QWebView > pq; -} QGC_POINTER_QWebView; - -QT_G_FUNC( release_QWebView ) -{ - QGC_POINTER_QWebView * p = ( QGC_POINTER_QWebView * ) Cargo; - - HB_TRACE( HB_TR_DEBUG, ( "release_QWebView p=%p", p)); - HB_TRACE( HB_TR_DEBUG, ( "release_QWebView ph=%p pq=%p", p->ph, (void *)(p->pq))); - - if( p && p->ph && p->pq ) - { - const QMetaObject * m = ( ( QObject * ) p->ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - { - switch( hbqt_get_object_release_method() ) - { - case HBQT_RELEASE_WITH_DELETE: - delete ( ( QWebView * ) p->ph ); - break; - case HBQT_RELEASE_WITH_DESTRUTOR: - ( ( QWebView * ) p->ph )->~QWebView(); - break; - case HBQT_RELEASE_WITH_DELETE_LATER: - ( ( QWebView * ) p->ph )->deleteLater(); - break; - } - p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QWebView Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QWebView %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif - } - else - { - HB_TRACE( HB_TR_DEBUG, ( "release_QWebView Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QWebView" ); - #endif - } - } - else - { - HB_TRACE( HB_TR_DEBUG, ( "release_QWebView Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QWebView" ); - #endif - } -} - -void * gcAllocate_QWebView( void * pObj ) -{ - QGC_POINTER_QWebView * p = ( QGC_POINTER_QWebView * ) hb_gcAllocate( sizeof( QGC_POINTER_QWebView ), gcFuncs() ); - - p->ph = pObj; - p->func = release_QWebView; - new( & p->pq ) QPointer< QWebView >( ( QWebView * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QWebView %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif - return( p ); -} - -HB_FUNC( QT_QWEBVIEW ) -{ - void * pObj = NULL; - - pObj = new QWebView( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( gcAllocate_QWebView( pObj ) ); -} -/* - * bool findText ( const QString & subString, QWebPage::FindFlags options = 0 ) - */ -HB_FUNC( QT_QWEBVIEW_FINDTEXT ) -{ - hb_retl( hbqt_par_QWebView( 1 )->findText( hbqt_par_QString( 2 ), ( QWebPage::FindFlags ) hb_parni( 3 ) ) ); -} - -/* - * QWebHistory * history () const - */ -HB_FUNC( QT_QWEBVIEW_HISTORY ) -{ - hb_retptr( ( QWebHistory* ) hbqt_par_QWebView( 1 )->history() ); -} - -/* - * QIcon icon () const - */ -HB_FUNC( QT_QWEBVIEW_ICON ) -{ - hb_retptrGC( gcAllocate_QIcon( new QIcon( hbqt_par_QWebView( 1 )->icon() ) ) ); -} - -/* - * bool isModified () const - */ -HB_FUNC( QT_QWEBVIEW_ISMODIFIED ) -{ - hb_retl( hbqt_par_QWebView( 1 )->isModified() ); -} - -/* - * void load ( const QUrl & url ) - */ -HB_FUNC( QT_QWEBVIEW_LOAD ) -{ - hbqt_par_QWebView( 1 )->load( *hbqt_par_QUrl( 2 ) ); -} - -/* - * void load ( const QNetworkRequest & request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray & body = QByteArray() ) - */ -HB_FUNC( QT_QWEBVIEW_LOAD_1 ) -{ - hbqt_par_QWebView( 1 )->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() ) ); -} - -/* - * QWebPage * page () const - */ -HB_FUNC( QT_QWEBVIEW_PAGE ) -{ - hb_retptr( ( QWebPage* ) hbqt_par_QWebView( 1 )->page() ); -} - -/* - * QAction * pageAction ( QWebPage::WebAction action ) const - */ -HB_FUNC( QT_QWEBVIEW_PAGEACTION ) -{ - hb_retptr( ( QAction* ) hbqt_par_QWebView( 1 )->pageAction( ( QWebPage::WebAction ) hb_parni( 2 ) ) ); -} - -/* - * QString selectedText () const - */ -HB_FUNC( QT_QWEBVIEW_SELECTEDTEXT ) -{ - hb_retc( hbqt_par_QWebView( 1 )->selectedText().toAscii().data() ); -} - -/* - * void setContent ( const QByteArray & data, const QString & mimeType = QString(), const QUrl & baseUrl = QUrl() ) - */ -HB_FUNC( QT_QWEBVIEW_SETCONTENT ) -{ - hbqt_par_QWebView( 1 )->setContent( *hbqt_par_QByteArray( 2 ), hbqt_par_QString( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QUrl( 4 ) : QUrl() ) ); -} - -/* - * void setHtml ( const QString & html, const QUrl & baseUrl = QUrl() ) - */ -HB_FUNC( QT_QWEBVIEW_SETHTML ) -{ - hbqt_par_QWebView( 1 )->setHtml( hbqt_par_QString( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QUrl( 3 ) : QUrl() ) ); -} - -/* - * void setPage ( QWebPage * page ) - */ -HB_FUNC( QT_QWEBVIEW_SETPAGE ) -{ - hbqt_par_QWebView( 1 )->setPage( hbqt_par_QWebPage( 2 ) ); -} - -/* - * void setTextSizeMultiplier ( qreal factor ) - */ -HB_FUNC( QT_QWEBVIEW_SETTEXTSIZEMULTIPLIER ) -{ - hbqt_par_QWebView( 1 )->setTextSizeMultiplier( hb_parnd( 2 ) ); -} - -/* - * void setUrl ( const QUrl & url ) - */ -HB_FUNC( QT_QWEBVIEW_SETURL ) -{ - hbqt_par_QWebView( 1 )->setUrl( *hbqt_par_QUrl( 2 ) ); -} - -/* - * void setZoomFactor ( qreal factor ) - */ -HB_FUNC( QT_QWEBVIEW_SETZOOMFACTOR ) -{ - hbqt_par_QWebView( 1 )->setZoomFactor( hb_parnd( 2 ) ); -} - -/* - * QWebSettings * settings () const - */ -HB_FUNC( QT_QWEBVIEW_SETTINGS ) -{ - hb_retptr( ( QWebSettings* ) hbqt_par_QWebView( 1 )->settings() ); -} - -/* - * qreal textSizeMultiplier () const - */ -HB_FUNC( QT_QWEBVIEW_TEXTSIZEMULTIPLIER ) -{ - hb_retnd( hbqt_par_QWebView( 1 )->textSizeMultiplier() ); -} - -/* - * QString title () const - */ -HB_FUNC( QT_QWEBVIEW_TITLE ) -{ - hb_retc( hbqt_par_QWebView( 1 )->title().toAscii().data() ); -} - -/* - * void triggerPageAction ( QWebPage::WebAction action, bool checked = false ) - */ -HB_FUNC( QT_QWEBVIEW_TRIGGERPAGEACTION ) -{ - hbqt_par_QWebView( 1 )->triggerPageAction( ( QWebPage::WebAction ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * QUrl url () const - */ -HB_FUNC( QT_QWEBVIEW_URL ) -{ - hb_retptrGC( gcAllocate_QUrl( new QUrl( hbqt_par_QWebView( 1 )->url() ) ) ); -} - -/* - * qreal zoomFactor () const - */ -HB_FUNC( QT_QWEBVIEW_ZOOMFACTOR ) -{ - hb_retnd( hbqt_par_QWebView( 1 )->zoomFactor() ); -} - -/* - * void back () - */ -HB_FUNC( QT_QWEBVIEW_BACK ) -{ - hbqt_par_QWebView( 1 )->back(); -} - -/* - * void forward () - */ -HB_FUNC( QT_QWEBVIEW_FORWARD ) -{ - hbqt_par_QWebView( 1 )->forward(); -} - -/* - * void print ( QPrinter * printer ) const - */ -HB_FUNC( QT_QWEBVIEW_PRINT ) -{ - hbqt_par_QWebView( 1 )->print( hbqt_par_QPrinter( 2 ) ); -} - -/* - * void reload () - */ -HB_FUNC( QT_QWEBVIEW_RELOAD ) -{ - hbqt_par_QWebView( 1 )->reload(); -} - -/* - * void stop () - */ -HB_FUNC( QT_QWEBVIEW_STOP ) -{ - hbqt_par_QWebView( 1 )->stop(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtwebkit/TQWebFrame.prg b/harbour/contrib/hbqt/qtwebkit/TQWebFrame.prg deleted file mode 100644 index 06b730de4f..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/TQWebFrame.prg +++ /dev/null @@ -1,275 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 QObject - - VAR pPtr - - METHOD new() - METHOD configure( xObject ) - - 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( pParent ) - ::pPtr := Qt_QWebFrame( pParent ) - RETURN Self - - -METHOD QWebFrame:configure( xObject ) - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - RETURN Self - - -METHOD QWebFrame:addToJavaScriptWindowObject( cName, pObject ) - RETURN Qt_QWebFrame_addToJavaScriptWindowObject( ::pPtr, cName, pObject ) - - -METHOD QWebFrame:addToJavaScriptWindowObject_1( cName, pObject, nOwn ) - RETURN Qt_QWebFrame_addToJavaScriptWindowObject_1( ::pPtr, cName, 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, pPos ) - - -METHOD QWebFrame:icon() - RETURN Qt_QWebFrame_icon( ::pPtr ) - - -METHOD QWebFrame:load( pUrl ) - RETURN Qt_QWebFrame_load( ::pPtr, 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, pPainter, pClip ) - - -METHOD QWebFrame:render_1( pPainter ) - RETURN Qt_QWebFrame_render_1( ::pPtr, 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, pData, cMimeType, pBaseUrl ) - - -METHOD QWebFrame:setHtml( cHtml, pBaseUrl ) - RETURN Qt_QWebFrame_setHtml( ::pPtr, cHtml, 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, pPos ) - - -METHOD QWebFrame:setTextSizeMultiplier( nFactor ) - RETURN Qt_QWebFrame_setTextSizeMultiplier( ::pPtr, nFactor ) - - -METHOD QWebFrame:setUrl( pUrl ) - RETURN Qt_QWebFrame_setUrl( ::pPtr, 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, pPrinter ) - diff --git a/harbour/contrib/hbqt/qtwebkit/TQWebHistory.prg b/harbour/contrib/hbqt/qtwebkit/TQWebHistory.prg deleted file mode 100644 index 8fe661e1bd..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/TQWebHistory.prg +++ /dev/null @@ -1,160 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 - - VAR pPtr - - METHOD new() - METHOD configure( xObject ) - - 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( pParent ) - ::pPtr := Qt_QWebHistory( pParent ) - RETURN Self - - -METHOD QWebHistory:configure( xObject ) - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - 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, 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 ) - diff --git a/harbour/contrib/hbqt/qtwebkit/TQWebHistoryInterface.prg b/harbour/contrib/hbqt/qtwebkit/TQWebHistoryInterface.prg deleted file mode 100644 index e09450d558..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/TQWebHistoryInterface.prg +++ /dev/null @@ -1,110 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 QObject - - VAR pPtr - - METHOD new() - METHOD configure( xObject ) - - METHOD addHistoryEntry( cUrl ) - METHOD historyContains( cUrl ) - METHOD defaultInterface() - METHOD setDefaultInterface( pDefaultInterface ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD QWebHistoryInterface:new( pParent ) - ::pPtr := Qt_QWebHistoryInterface( pParent ) - RETURN Self - - -METHOD QWebHistoryInterface:configure( xObject ) - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - 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, pDefaultInterface ) - diff --git a/harbour/contrib/hbqt/qtwebkit/TQWebHistoryItem.prg b/harbour/contrib/hbqt/qtwebkit/TQWebHistoryItem.prg deleted file mode 100644 index bc64ba46c7..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/TQWebHistoryItem.prg +++ /dev/null @@ -1,130 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 - - VAR pPtr - - METHOD new() - METHOD configure( xObject ) - - METHOD icon() - METHOD isValid() - METHOD lastVisited() - METHOD originalUrl() - METHOD setUserData( pUserData ) - METHOD title() - METHOD url() - METHOD userData() - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD QWebHistoryItem:new( pParent ) - ::pPtr := Qt_QWebHistoryItem( pParent ) - RETURN Self - - -METHOD QWebHistoryItem:configure( xObject ) - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - 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, 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 ) - diff --git a/harbour/contrib/hbqt/qtwebkit/TQWebHitTestResult.prg b/harbour/contrib/hbqt/qtwebkit/TQWebHitTestResult.prg deleted file mode 100644 index 8537fc187b..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/TQWebHitTestResult.prg +++ /dev/null @@ -1,160 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 - - VAR pPtr - - METHOD new() - METHOD configure( xObject ) - - 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( pParent ) - ::pPtr := Qt_QWebHitTestResult( pParent ) - RETURN Self - - -METHOD QWebHitTestResult:configure( xObject ) - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - 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 ) - diff --git a/harbour/contrib/hbqt/qtwebkit/TQWebPage.prg b/harbour/contrib/hbqt/qtwebkit/TQWebPage.prg deleted file mode 100644 index 015adbdd00..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/TQWebPage.prg +++ /dev/null @@ -1,250 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 QObject - - VAR pPtr - - METHOD new() - METHOD configure( xObject ) - - 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 undoStack() - METHOD updatePositionDependentActions( pPos ) - METHOD view() - METHOD viewportSize() - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD QWebPage:new( pParent ) - ::pPtr := Qt_QWebPage( pParent ) - RETURN Self - - -METHOD QWebPage:configure( xObject ) - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - 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, pPalette ) - - -METHOD QWebPage:setPluginFactory( pFactory ) - RETURN Qt_QWebPage_setPluginFactory( ::pPtr, pFactory ) - - -METHOD QWebPage:setView( pView ) - RETURN Qt_QWebPage_setView( ::pPtr, pView ) - - -METHOD QWebPage:setViewportSize( pSize ) - RETURN Qt_QWebPage_setViewportSize( ::pPtr, 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, pEvent ) - - -METHOD QWebPage:totalBytes() - RETURN Qt_QWebPage_totalBytes( ::pPtr ) - - -METHOD QWebPage:triggerAction( nAction, lChecked ) - RETURN Qt_QWebPage_triggerAction( ::pPtr, nAction, lChecked ) - - -METHOD QWebPage:undoStack() - RETURN Qt_QWebPage_undoStack( ::pPtr ) - - -METHOD QWebPage:updatePositionDependentActions( pPos ) - RETURN Qt_QWebPage_updatePositionDependentActions( ::pPtr, pPos ) - - -METHOD QWebPage:view() - RETURN Qt_QWebPage_view( ::pPtr ) - - -METHOD QWebPage:viewportSize() - RETURN Qt_QWebPage_viewportSize( ::pPtr ) - diff --git a/harbour/contrib/hbqt/qtwebkit/TQWebPluginFactory.prg b/harbour/contrib/hbqt/qtwebkit/TQWebPluginFactory.prg deleted file mode 100644 index a925dc01a3..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/TQWebPluginFactory.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 QObject - - VAR pPtr - - METHOD new() - METHOD configure( xObject ) - - METHOD create( cMimeType, pUrl, pArgumentNames, pArgumentValues ) - METHOD refreshPlugins() - METHOD supportsExtension( nExtension ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD QWebPluginFactory:new( pParent ) - ::pPtr := Qt_QWebPluginFactory( pParent ) - RETURN Self - - -METHOD QWebPluginFactory:configure( xObject ) - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - RETURN Self - - -METHOD QWebPluginFactory:create( cMimeType, pUrl, pArgumentNames, pArgumentValues ) - RETURN Qt_QWebPluginFactory_create( ::pPtr, cMimeType, pUrl, pArgumentNames, pArgumentValues ) - - -METHOD QWebPluginFactory:refreshPlugins() - RETURN Qt_QWebPluginFactory_refreshPlugins( ::pPtr ) - - -METHOD QWebPluginFactory:supportsExtension( nExtension ) - RETURN Qt_QWebPluginFactory_supportsExtension( ::pPtr, nExtension ) - diff --git a/harbour/contrib/hbqt/qtwebkit/TQWebSecurityOrigin.prg b/harbour/contrib/hbqt/qtwebkit/TQWebSecurityOrigin.prg deleted file mode 100644 index 8b757125de..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/TQWebSecurityOrigin.prg +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 - - VAR pPtr - - METHOD new() - METHOD configure( xObject ) - - METHOD databaseQuota() - METHOD databaseUsage() - METHOD host() - METHOD port() - METHOD scheme() - METHOD setDatabaseQuota( nQuota ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD QWebSecurityOrigin:new( pParent ) - ::pPtr := Qt_QWebSecurityOrigin( pParent ) - RETURN Self - - -METHOD QWebSecurityOrigin:configure( xObject ) - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - 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 ) - diff --git a/harbour/contrib/hbqt/qtwebkit/TQWebSettings.prg b/harbour/contrib/hbqt/qtwebkit/TQWebSettings.prg deleted file mode 100644 index dd54a4df55..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/TQWebSettings.prg +++ /dev/null @@ -1,215 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 - - VAR pPtr - - METHOD new() - METHOD configure( xObject ) - - 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( pParent ) - ::pPtr := Qt_QWebSettings( pParent ) - RETURN Self - - -METHOD QWebSettings:configure( xObject ) - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - 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, 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, 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, pGraphic ) - - -METHOD QWebSettings:webGraphic( nType ) - RETURN Qt_QWebSettings_webGraphic( ::pPtr, nType ) - diff --git a/harbour/contrib/hbqt/qtwebkit/TQWebView.prg b/harbour/contrib/hbqt/qtwebkit/TQWebView.prg deleted file mode 100644 index ee76811146..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/TQWebView.prg +++ /dev/null @@ -1,220 +0,0 @@ -/* - * $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 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.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 QWidget - - VAR pPtr - - METHOD new() - METHOD configure( xObject ) - - 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( pParent ) - ::pPtr := Qt_QWebView( pParent ) - RETURN Self - - -METHOD QWebView:configure( xObject ) - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - 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, pUrl ) - - -METHOD QWebView:load_1( pRequest, nOperation, pBody ) - RETURN Qt_QWebView_load_1( ::pPtr, pRequest, nOperation, 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, pData, cMimeType, pBaseUrl ) - - -METHOD QWebView:setHtml( cHtml, pBaseUrl ) - RETURN Qt_QWebView_setHtml( ::pPtr, cHtml, pBaseUrl ) - - -METHOD QWebView:setPage( pPage ) - RETURN Qt_QWebView_setPage( ::pPtr, pPage ) - - -METHOD QWebView:setTextSizeMultiplier( nFactor ) - RETURN Qt_QWebView_setTextSizeMultiplier( ::pPtr, nFactor ) - - -METHOD QWebView:setUrl( pUrl ) - RETURN Qt_QWebView_setUrl( ::pPtr, 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, pPrinter ) - - -METHOD QWebView:reload() - RETURN Qt_QWebView_reload( ::pPtr ) - - -METHOD QWebView:stop() - RETURN Qt_QWebView_stop( ::pPtr ) - diff --git a/harbour/contrib/hbqt/qtwebkit/filelist.mk b/harbour/contrib/hbqt/qtwebkit/filelist.mk deleted file mode 100644 index 93bd178294..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/filelist.mk +++ /dev/null @@ -1,38 +0,0 @@ -# -# $Id$ -# - -# -------------------------------------------------------------------- -# WARNING: Automatically generated source file. DO NOT EDIT! -# Instead, edit corresponding .qth file, -# or the generator tool itself, and run regenarate. -# -------------------------------------------------------------------- - -CPP_SOURCES := \ - QWebFrame.cpp \ - QWebHistory.cpp \ - QWebHistoryInterface.cpp \ - QWebHistoryItem.cpp \ - QWebHitTestResult.cpp \ - QWebPage.cpp \ - QWebPluginFactory.cpp \ - QWebSecurityOrigin.cpp \ - QWebSettings.cpp \ - QWebView.cpp \ - - - -PRG_SOURCES := \ - TQWebFrame.prg \ - TQWebHistory.prg \ - TQWebHistoryInterface.prg \ - TQWebHistoryItem.prg \ - TQWebHitTestResult.prg \ - TQWebPage.prg \ - TQWebPluginFactory.prg \ - TQWebSecurityOrigin.prg \ - TQWebSettings.prg \ - TQWebView.prg \ - -# Don't delete this comment, it's here to ensure empty -# line above is kept intact. diff --git a/harbour/contrib/hbqt/qtwebkit/qtwebkits/Makefile b/harbour/contrib/hbqt/qtwebkit/qtwebkits/Makefile deleted file mode 100644 index 89f95cfe13..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/qtwebkits/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# -# $Id$ -# - -ROOT := ../../../../ - -include $(TOP)$(ROOT)config/global.mk - -vpath %.cpp ../ -vpath %.prg ../ - -LIBNAME := hbqtwebkits - -include $(TOP)$(ROOT)contrib/hbqt/detect.mk - -ifneq ($(HB_HAS_QT),) - - HB_CFLAGS += -DQT_NODLL - - include $(TOP)$(ROOT)contrib/hbqt/qtwebkit/filelist.mk - - include $(TOP)$(ROOT)config/header.mk - include $(TOP)$(ROOT)config/lib.mk -else - HB_SKIP_REASON := $(_DET_RES_TEXT) - include $(TOP)$(ROOT)config/none.mk -endif diff --git a/harbour/contrib/hbwin/hbwin.ch b/harbour/contrib/hbwin/hbwin.ch index 2cce37fcb1..242d1bb846 100644 --- a/harbour/contrib/hbwin/hbwin.ch +++ b/harbour/contrib/hbwin/hbwin.ch @@ -55,7 +55,7 @@ #ifndef HBWIN_CH_ #define HBWIN_CH_ -/* Positions for GETPRINTERS() array */ +/* Positions for WIN_PRINTERLIST() array */ #define HB_WINPRN_NAME 1 #define HB_WINPRN_PORT 2 diff --git a/harbour/contrib/hbwin/win_prn2.c b/harbour/contrib/hbwin/win_prn2.c index 030bc77952..630dfea832 100644 --- a/harbour/contrib/hbwin/win_prn2.c +++ b/harbour/contrib/hbwin/win_prn2.c @@ -79,15 +79,15 @@ static HB_BOOL hb_IsLegacyDevice( const char * pszPrinterName ) for( i = 0; s_pszPrnDev[ i ]; ++i ) { if( hb_strnicmp( pszPrinterName, s_pszPrnDev[ i ], ( HB_SIZE ) strlen( s_pszPrnDev[ i ] ) ) == 0 ) - return TRUE; + return HB_TRUE; } - return FALSE; + return HB_FALSE; } HB_FUNC( WIN_PRINTEREXISTS ) { - HB_BOOL bResult = FALSE; + HB_BOOL bResult = HB_FALSE; if( HB_ISCHAR( 1 ) ) { @@ -125,7 +125,7 @@ HB_FUNC( WIN_PRINTEREXISTS ) static HB_BOOL hb_GetDefaultPrinter( char * pszPrinterName, HB_SIZE * pnBufferSize ) { - HB_BOOL bResult = FALSE; + HB_BOOL bResult = HB_FALSE; if( pszPrinterName && pnBufferSize ) { @@ -184,7 +184,7 @@ static HB_BOOL hb_GetDefaultPrinter( char * pszPrinterName, HB_SIZE * pnBufferSi pszPrinterName[ dwSize ] = '\0'; *pnBufferSize = dwSize + 1; - bResult = TRUE; + bResult = HB_TRUE; } else *pnBufferSize = dwSize + 1; @@ -221,7 +221,7 @@ static HB_BOOL hb_GetDefaultPrinter( char * pszPrinterName, HB_SIZE * pnBufferSi { HB_TCHAR_GETFROM( pszPrinterName, pPrinterInfo->pPrinterName, lstrlen( pPrinterInfo->pPrinterName ) ); *pnBufferSize = dwSize + 1; - bResult = TRUE; + bResult = HB_TRUE; } } hb_xfree( pPrinterInfo ); @@ -246,7 +246,7 @@ HB_FUNC( WIN_PRINTERGETDEFAULT ) static HB_BOOL hb_GetJobs( HANDLE hPrinter, JOB_INFO_2 ** ppJobInfo, long * plJobs ) { - HB_BOOL bResult = FALSE; + HB_BOOL bResult = HB_FALSE; DWORD dwByteNeeded = 0; GetPrinter( hPrinter, 2, NULL, 0, &dwByteNeeded ); @@ -269,7 +269,7 @@ static HB_BOOL hb_GetJobs( HANDLE hPrinter, JOB_INFO_2 ** ppJobInfo, long * plJo { *plJobs = ( long ) dwReturned; *ppJobInfo = pJobStorage; - bResult = TRUE; + bResult = HB_TRUE; } else hb_xfree( pJobStorage ); @@ -366,7 +366,7 @@ HB_FUNC( WIN_PRINTERPORTTONAME ) if( EnumPrinters( _ENUMPRN_FLAGS_, NULL, 5, ( LPBYTE ) pPrinterEnum, dwNeeded, &dwNeeded, &dwReturned ) ) { - HB_BOOL bFound = FALSE; + HB_BOOL bFound = HB_FALSE; DWORD i; for( i = 0; i < dwReturned && ! bFound; ++i, ++pPrinterEnum ) @@ -465,7 +465,7 @@ HB_FUNC( WIN_PRINTFILERAW ) hb_retni( iResult ); } -/* Positions for GETPRINTERS() array */ +/* Positions for WIN_PRINTERLIST() array */ #define HB_WINPRN_NAME 1 #define HB_WINPRN_PORT 2 @@ -477,7 +477,7 @@ HB_FUNC( WIN_PRINTFILERAW ) HB_FUNC( WIN_PRINTERLIST ) { - HB_BOOL bPrinterNamesOnly = HB_ISLOG( 1 ) ? ! hb_parl( 1 ) : TRUE; + HB_BOOL bPrinterNamesOnly = HB_ISLOG( 1 ) ? ! hb_parl( 1 ) : HB_TRUE; HB_BOOL bLocalPrintersOnly = hb_parl( 2 ); DWORD dwNeeded = 0, dwReturned = 0, i; PHB_ITEM pTempItem = hb_itemNew( NULL );