2009-06-27 13:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)

* harbour/contrib/hbqt/generator/qt45.qtp

  * harbour/contrib/hbqt/Makefile_gen

  * harbour/contrib/hbqt/hbqt.ch
  * harbour/contrib/hbqt/hbqt.h

  + harbour/contrib/hbqt/hbqt_qdragenterevent.cpp
  + harbour/contrib/hbqt/hbqt_qdragleaveevent.cpp
  + harbour/contrib/hbqt/hbqt_qdragmoveevent.cpp
  + harbour/contrib/hbqt/hbqt_qdropevent.cpp
  + harbour/contrib/hbqt/hbqt_qmoveevent.cpp
  + harbour/contrib/hbqt/hbqt_qresizeevent.cpp
  + harbour/contrib/hbqt/hbqt_qwheelevent.cpp

  + harbour/contrib/hbqt/TQDragEnterEvent.prg
  + harbour/contrib/hbqt/TQDragLeaveEvent.prg
  + harbour/contrib/hbqt/TQDragMoveEvent.prg
  + harbour/contrib/hbqt/TQDropEvent.prg
  + harbour/contrib/hbqt/TQMoveEvent.prg
  + harbour/contrib/hbqt/TQResizeEvent.prg
  + harbour/contrib/hbqt/TQWheelEvent.prg

  + harbour/contrib/hbqt/qth/QDragEnterEvent.qth
  + harbour/contrib/hbqt/qth/QDragLeaveEvent.qth
  + harbour/contrib/hbqt/qth/QDragMoveEvent.qth
  + harbour/contrib/hbqt/qth/QDropEvent.qth
  + harbour/contrib/hbqt/qth/QMoveEvent.qth
  + harbour/contrib/hbqt/qth/QResizeEvent.qth
  + harbour/contrib/hbqt/qth/QWheelEvent.qth
    + Added few more classes.

  * harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/hbqt_qftp.cpp
  * harbour/contrib/hbqt/hbqt_qhttp.cpp
    ! Result of #define hbqt_par_char( n )  ( ( char* ) hb_parcx( n ) )
      NOTE: QT sources are generated dynamically so please do not make 
            changes to them directly. I do not know if above casting 
            will work or not but it is just to pacify the warnings.
            Alternatively we can comment out the relevant functions in 
            /qth/QHttp.qth and /qth/QFtp.qth. I kept it like this 
            as if someone could test if it works.
This commit is contained in:
Pritpal Bedi
2009-06-27 20:39:09 +00:00
parent a9197e7223
commit 926a6ccd18
29 changed files with 3275 additions and 165 deletions

View File

@@ -17,6 +17,50 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-06-27 13:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/qt45.qtp
* harbour/contrib/hbqt/Makefile_gen
* harbour/contrib/hbqt/hbqt.ch
* harbour/contrib/hbqt/hbqt.h
+ harbour/contrib/hbqt/hbqt_qdragenterevent.cpp
+ harbour/contrib/hbqt/hbqt_qdragleaveevent.cpp
+ harbour/contrib/hbqt/hbqt_qdragmoveevent.cpp
+ harbour/contrib/hbqt/hbqt_qdropevent.cpp
+ harbour/contrib/hbqt/hbqt_qmoveevent.cpp
+ harbour/contrib/hbqt/hbqt_qresizeevent.cpp
+ harbour/contrib/hbqt/hbqt_qwheelevent.cpp
+ harbour/contrib/hbqt/TQDragEnterEvent.prg
+ harbour/contrib/hbqt/TQDragLeaveEvent.prg
+ harbour/contrib/hbqt/TQDragMoveEvent.prg
+ harbour/contrib/hbqt/TQDropEvent.prg
+ harbour/contrib/hbqt/TQMoveEvent.prg
+ harbour/contrib/hbqt/TQResizeEvent.prg
+ harbour/contrib/hbqt/TQWheelEvent.prg
+ harbour/contrib/hbqt/qth/QDragEnterEvent.qth
+ harbour/contrib/hbqt/qth/QDragLeaveEvent.qth
+ harbour/contrib/hbqt/qth/QDragMoveEvent.qth
+ harbour/contrib/hbqt/qth/QDropEvent.qth
+ harbour/contrib/hbqt/qth/QMoveEvent.qth
+ harbour/contrib/hbqt/qth/QResizeEvent.qth
+ harbour/contrib/hbqt/qth/QWheelEvent.qth
+ Added few more classes.
* harbour/contrib/hbqt/hbqt_slots.cpp
* harbour/contrib/hbqt/hbqt_qftp.cpp
* harbour/contrib/hbqt/hbqt_qhttp.cpp
! Result of #define hbqt_par_char( n ) ( ( char* ) hb_parcx( n ) )
NOTE: QT sources are generated dynamically so please do not make
changes to them directly. I do not know if above casting
will work or not but it is just to pacify the warnings.
Alternatively we can comment out the relevant functions in
/qth/QHttp.qth and /qth/QFtp.qth. I kept it like this
as if someone could test if it works.
2009-06-27 09:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapifs.h
* source/rtl/filebuf.c

View File

@@ -38,6 +38,10 @@ CPP_SOURCES=\
hbqt_qdirmodel.cpp \
hbqt_qdockwidget.cpp \
hbqt_qdoublespinbox.cpp \
hbqt_qdropevent.cpp \
hbqt_qdragmoveevent.cpp \
hbqt_qdragenterevent.cpp \
hbqt_qdragleaveevent.cpp \
hbqt_qerrormessage.cpp \
hbqt_qevent.cpp \
hbqt_qeventloop.cpp \
@@ -86,6 +90,7 @@ CPP_SOURCES=\
hbqt_qmessagebox.cpp \
hbqt_qmodelindex.cpp \
hbqt_qmouseevent.cpp \
hbqt_qmoveevent.cpp \
hbqt_qobject.cpp \
hbqt_qpaintdevice.cpp \
hbqt_qpagesetupdialog.cpp \
@@ -103,10 +108,11 @@ CPP_SOURCES=\
hbqt_qprogressdialog.cpp \
hbqt_qpushbutton.cpp \
hbqt_qradialgradient.cpp \
hbqt_qradiobutton.cpp \
hbqt_qrect.cpp \
hbqt_qrectf.cpp \
hbqt_qradiobutton.cpp \
hbqt_qregion.cpp \
hbqt_qresizeevent.cpp \
hbqt_qresource.cpp \
hbqt_qscrollarea.cpp \
hbqt_qscrollbar.cpp \
@@ -196,10 +202,11 @@ CPP_SOURCES=\
hbqt_qvariant.cpp \
hbqt_qvboxlayout.cpp \
hbqt_qwebpage.cpp \
hbqt_qwebview.cpp \
hbqt_qwheelevent.cpp \
hbqt_qwidget.cpp \
hbqt_qwidgetaction.cpp \
hbqt_qwidgetitem.cpp \
hbqt_qwebview.cpp \
hbqt_qwindowsstyle.cpp \
hbqt_qwindowsxpstyle.cpp \
hbqt_qwizard.cpp \
@@ -252,6 +259,10 @@ PRG_SOURCES=\
TQDirModel.prg \
TQDockWidget.prg \
TQDoubleSpinBox.prg \
TQDropEvent.prg \
TQDragMoveEvent.prg \
TQDragEnterEvent.prg \
TQDragLeaveEvent.prg \
TQErrorMessage.prg \
TQEvent.prg \
TQEventLoop.prg \
@@ -300,6 +311,7 @@ PRG_SOURCES=\
TQMessageBox.prg \
TQModelIndex.prg \
TQMouseEvent.prg \
TQMoveEvent.prg \
TQObject.prg \
TQPaintDevice.prg \
TQPageSetupDialog.prg \
@@ -317,10 +329,11 @@ PRG_SOURCES=\
TQProgressDialog.prg \
TQPushButton.prg \
TQRadialGradient.prg \
TQRadioButton.prg \
TQRect.prg \
TQRectF.prg \
TQRadioButton.prg \
TQRegion.prg \
TQResizeEvent.prg \
TQResource.prg \
TQScrollArea.prg \
TQScrollBar.prg \
@@ -410,10 +423,11 @@ PRG_SOURCES=\
TQVariant.prg \
TQVBoxLayout.prg \
TQWebPage.prg \
TQWebView.prg \
TQWheelEvent.prg \
TQWidget.prg \
TQWidgetAction.prg \
TQWidgetItem.prg \
TQWebView.prg \
TQWindowsStyle.prg \
TQWindowsXPStyle.prg \
TQWizard.prg \

View File

@@ -0,0 +1,80 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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 QDragEnterEvent INHERIT QDragMoveEvent
VAR pParent
VAR pPtr
METHOD New()
ENDCLASS
/*----------------------------------------------------------------------*/
METHOD New( pParent ) CLASS QDragEnterEvent
::pParent := pParent
::pPtr := Qt_QDragEnterEvent( pParent )
RETURN Self
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,80 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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 QDragLeaveEvent INHERIT QEvent
VAR pParent
VAR pPtr
METHOD New()
ENDCLASS
/*----------------------------------------------------------------------*/
METHOD New( pParent ) CLASS QDragLeaveEvent
::pParent := pParent
::pPtr := Qt_QDragLeaveEvent( pParent )
RETURN Self
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,85 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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 QDragMoveEvent INHERIT QDropEvent
VAR pParent
VAR pPtr
METHOD New()
METHOD accept( pRectangle ) INLINE Qt_QDragMoveEvent_accept( ::pPtr, pRectangle )
METHOD accept_1() INLINE Qt_QDragMoveEvent_accept_1( ::pPtr )
METHOD answerRect() INLINE Qt_QDragMoveEvent_answerRect( ::pPtr )
METHOD ignore( pRectangle ) INLINE Qt_QDragMoveEvent_ignore( ::pPtr, pRectangle )
METHOD ignore_1() INLINE Qt_QDragMoveEvent_ignore_1( ::pPtr )
ENDCLASS
/*----------------------------------------------------------------------*/
METHOD New( pParent ) CLASS QDragMoveEvent
::pParent := pParent
::pPtr := Qt_QDragMoveEvent( pParent )
RETURN Self
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,90 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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 QDropEvent INHERIT QEvent
VAR pParent
VAR pPtr
METHOD New()
METHOD acceptProposedAction() INLINE Qt_QDropEvent_acceptProposedAction( ::pPtr )
METHOD dropAction() INLINE Qt_QDropEvent_dropAction( ::pPtr )
METHOD keyboardModifiers() INLINE Qt_QDropEvent_keyboardModifiers( ::pPtr )
METHOD mimeData() INLINE Qt_QDropEvent_mimeData( ::pPtr )
METHOD mouseButtons() INLINE Qt_QDropEvent_mouseButtons( ::pPtr )
METHOD pos() INLINE Qt_QDropEvent_pos( ::pPtr )
METHOD possibleActions() INLINE Qt_QDropEvent_possibleActions( ::pPtr )
METHOD proposedAction() INLINE Qt_QDropEvent_proposedAction( ::pPtr )
METHOD setDropAction( nAction ) INLINE Qt_QDropEvent_setDropAction( ::pPtr, nAction )
METHOD source() INLINE Qt_QDropEvent_source( ::pPtr )
ENDCLASS
/*----------------------------------------------------------------------*/
METHOD New( pParent ) CLASS QDropEvent
::pParent := pParent
::pPtr := Qt_QDropEvent( pParent )
RETURN Self
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,82 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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 QMoveEvent INHERIT QEvent
VAR pParent
VAR pPtr
METHOD New()
METHOD oldPos() INLINE Qt_QMoveEvent_oldPos( ::pPtr )
METHOD pos() INLINE Qt_QMoveEvent_pos( ::pPtr )
ENDCLASS
/*----------------------------------------------------------------------*/
METHOD New( pParent ) CLASS QMoveEvent
::pParent := pParent
::pPtr := Qt_QMoveEvent( pParent )
RETURN Self
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,82 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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 QResizeEvent INHERIT QEvent
VAR pParent
VAR pPtr
METHOD New()
METHOD oldSize() INLINE Qt_QResizeEvent_oldSize( ::pPtr )
METHOD size() INLINE Qt_QResizeEvent_size( ::pPtr )
ENDCLASS
/*----------------------------------------------------------------------*/
METHOD New( pParent ) CLASS QResizeEvent
::pParent := pParent
::pPtr := Qt_QResizeEvent( pParent )
RETURN Self
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,89 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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 QWheelEvent INHERIT QInputEvent
VAR pParent
VAR pPtr
METHOD New()
METHOD buttons() INLINE Qt_QWheelEvent_buttons( ::pPtr )
METHOD delta() INLINE Qt_QWheelEvent_delta( ::pPtr )
METHOD globalPos() INLINE Qt_QWheelEvent_globalPos( ::pPtr )
METHOD globalX() INLINE Qt_QWheelEvent_globalX( ::pPtr )
METHOD globalY() INLINE Qt_QWheelEvent_globalY( ::pPtr )
METHOD orientation() INLINE Qt_QWheelEvent_orientation( ::pPtr )
METHOD pos() INLINE Qt_QWheelEvent_pos( ::pPtr )
METHOD x() INLINE Qt_QWheelEvent_x( ::pPtr )
METHOD y() INLINE Qt_QWheelEvent_y( ::pPtr )
ENDCLASS
/*----------------------------------------------------------------------*/
METHOD New( pParent ) CLASS QWheelEvent
::pParent := pParent
::pPtr := Qt_QWheelEvent( pParent )
RETURN Self
/*----------------------------------------------------------------------*/

View File

@@ -45,6 +45,10 @@ QDir.qth
QDirModel.qth
QDockWidget.qth
QDoubleSpinBox.qth
QDropEvent.qth
QDragMoveEvent.qth
QDragEnterEvent.qth
QDragLeaveEvent.qth
QErrorMessage.qth
QEvent.qth
QEventLoop.qth
@@ -93,6 +97,7 @@ QMenuBar.qth
QMessageBox.qth
QModelIndex.qth
QMouseEvent.qth
QMoveEvent.qth
QObject.qth
QPaintDevice.qth
QPageSetupDialog.qth
@@ -110,10 +115,11 @@ QProgressBar.qth
QProgressDialog.qth
QPushButton.qth
QRadialGradient.qth
QRadioButton.qth
QRect.qth
QRectF.qth
QRadioButton.qth
QRegion.qth
QResizeEvent.qth
QResource.qth
QScrollArea.qth
QScrollBar.qth
@@ -209,10 +215,11 @@ QUrl.qth
QVariant.qth
QVBoxLayout.qth
QWebPage.qth
QWebView.qth
QWheelEvent.qth
QWidget.qth
QWidgetAction.qth
QWidgetItem.qth
QWebView.qth
QWindowsStyle.qth
QWindowsXPStyle.qth
QWizard.qth

File diff suppressed because it is too large Load Diff

View File

@@ -129,6 +129,7 @@
#define hbqt_par_QMenuBar( n ) ( ( QMenuBar* ) hb_parptr( n ) )
#define hbqt_par_QMessageBox( n ) ( ( QMessageBox* ) hb_parptr( n ) )
#define hbqt_par_QMovie( n ) ( ( QMovie* ) hb_parptr( n ) )
#define hbqt_par_QMoveEvent( n ) ( ( QMoveEvent* ) hb_parptr( n ) )
#define hbqt_par_QObject( n ) ( ( QObject* ) hb_parptr( n ) )
#define hbqt_par_QPageSetupDialog( n ) ( ( QPageSetupDialog* ) hb_parptr( n ) )
#define hbqt_par_QPainter( n ) ( ( QPainter* ) hb_parptr( n ) )
@@ -144,6 +145,7 @@
#define hbqt_par_QPushButton( n ) ( ( QPushButton* ) hb_parptr( n ) )
#define hbqt_par_QRect( n ) ( ( QRect* ) hb_parptr( n ) )
#define hbqt_par_QRectF( n ) ( ( QRectF* ) hb_parptr( n ) )
#define hbqt_par_QResizeEvent( n ) ( ( QResizeEvent* ) hb_parptr( n ) )
#define hbqt_par_QScrollArea( n ) ( ( QScrollArea* ) hb_parptr( n ) )
#define hbqt_par_QScrollBar( n ) ( ( QScrollBar* ) hb_parptr( n ) )
#define hbqt_par_QSpacerItem( n ) ( ( QSpacerItem* ) hb_parptr( n ) )
@@ -321,13 +323,19 @@
#define hbqt_par_QAbstractTableModel( n ) ( ( QAbstractTableModel* ) hb_parptr( n ) )
#define hbqt_par_QFileSystemModel( n ) ( ( QFileSystemModel* ) hb_parptr( n ) )
#define hbqt_par_QKeyEvent( n ) ( ( QKeyEvent* ) hb_parptr( n ) )
#define hbqt_par_QMouseEvent( n ) ( ( QMouseEvent* ) hb_parptr( n ) )
#define hbqt_par_QKeyEvent( n ) ( ( QKeyEvent* ) hb_parptr( n ) )
#define hbqt_par_QWheelEvent( n ) ( ( QWheelEvent* ) hb_parptr( n ) )
#define hbqt_par_QKeySequence( n ) ( ( QKeySequence* ) hb_parptr( n ) )
#define hbqt_par_QDropEvent( n ) ( ( QDropEvent* ) hb_parptr( n ) )
#define hbqt_par_QDragMoveEvent( n ) ( ( QDragMoveEvent* ) hb_parptr( n ) )
#define hbqt_par_QDragEnterEvent( n ) ( ( QDragEnterEvent* ) hb_parptr( n ) )
#define hbqt_par_QDragLeaveEvent( n ) ( ( QDragLeaveEvent* ) hb_parptr( n ) )
#define hbqt_par_QMouseEvent( n ) ( ( QMouseEvent* ) hb_parptr( n ) )
#define hbqt_par_QString( n ) ( ( QString ) hb_parcx( n ) )
#define hbqt_par_QRgb( n ) ( hb_parnint( n ) )
#define hbqt_par_Bool( n ) ( hb_parl( n ) )
#define hbqt_par_char( n ) ( hb_parcx( n ) )
#define hbqt_par_char( n ) ( ( char * ) hb_parcx( n ) )
#define hbqt_ret_QWidget( p ) ( hb_retptr( ( QWidget* ) p ) )
#define hbqt_ret_QAbstractItemDelegate( p ) ( hb_retptr( ( QAbstractItemDelegate* ) p ) )

View File

@@ -0,0 +1,78 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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 <QtGui/QDragEnterEvent>
/*
* QDragEnterEvent ( const QPoint & point, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers )
*/
HB_FUNC( QT_QDRAGENTEREVENT )
{
// hb_retptr( ( * ) new () );
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,78 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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 <QtGui/QDragLeaveEvent>
/*
* QDragLeaveEvent ()
*/
HB_FUNC( QT_QDRAGLEAVEEVENT )
{
// hb_retptr( ( * ) new () );
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,119 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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 <QtGui/QDragMoveEvent>
/*
* QDragMoveEvent ( const QPoint & pos, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type = DragMove )
* ~QDragMoveEvent ()
*/
HB_FUNC( QT_QDRAGMOVEEVENT )
{
// hb_retptr( ( * ) new () );
}
/*
* void accept ( const QRect & rectangle )
*/
HB_FUNC( QT_QDRAGMOVEEVENT_ACCEPT )
{
hbqt_par_QDragMoveEvent( 1 )->accept( *hbqt_par_QRect( 2 ) );
}
/*
* void accept ()
*/
HB_FUNC( QT_QDRAGMOVEEVENT_ACCEPT_1 )
{
hbqt_par_QDragMoveEvent( 1 )->accept();
}
/*
* QRect answerRect () const
*/
HB_FUNC( QT_QDRAGMOVEEVENT_ANSWERRECT )
{
hb_retptr( new QRect( hbqt_par_QDragMoveEvent( 1 )->answerRect() ) );
}
/*
* void ignore ( const QRect & rectangle )
*/
HB_FUNC( QT_QDRAGMOVEEVENT_IGNORE )
{
hbqt_par_QDragMoveEvent( 1 )->ignore( *hbqt_par_QRect( 2 ) );
}
/*
* void ignore ()
*/
HB_FUNC( QT_QDRAGMOVEEVENT_IGNORE_1 )
{
hbqt_par_QDragMoveEvent( 1 )->ignore();
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,158 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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 <QtGui/QDropEvent>
/*
* QDropEvent ( const QPoint & pos, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type = Drop )
*/
HB_FUNC( QT_QDROPEVENT )
{
// hb_retptr( ( QDropEvent* ) new QDropEvent() );
}
/*
* void acceptProposedAction ()
*/
HB_FUNC( QT_QDROPEVENT_ACCEPTPROPOSEDACTION )
{
hbqt_par_QDropEvent( 1 )->acceptProposedAction();
}
/*
* Qt::DropAction dropAction () const
*/
HB_FUNC( QT_QDROPEVENT_DROPACTION )
{
hb_retni( ( Qt::DropAction ) hbqt_par_QDropEvent( 1 )->dropAction() );
}
/*
* Qt::KeyboardModifiers keyboardModifiers () const
*/
HB_FUNC( QT_QDROPEVENT_KEYBOARDMODIFIERS )
{
hb_retni( ( Qt::KeyboardModifiers ) hbqt_par_QDropEvent( 1 )->keyboardModifiers() );
}
/*
* const QMimeData * mimeData () const
*/
HB_FUNC( QT_QDROPEVENT_MIMEDATA )
{
hb_retptr( ( QMimeData* ) hbqt_par_QDropEvent( 1 )->mimeData() );
}
/*
* Qt::MouseButtons mouseButtons () const
*/
HB_FUNC( QT_QDROPEVENT_MOUSEBUTTONS )
{
hb_retni( ( Qt::MouseButtons ) hbqt_par_QDropEvent( 1 )->mouseButtons() );
}
/*
* const QPoint & pos () const
*/
HB_FUNC( QT_QDROPEVENT_POS )
{
hb_retptr( new QPoint( hbqt_par_QDropEvent( 1 )->pos() ) );
}
/*
* Qt::DropActions possibleActions () const
*/
HB_FUNC( QT_QDROPEVENT_POSSIBLEACTIONS )
{
hb_retni( ( Qt::DropActions ) hbqt_par_QDropEvent( 1 )->possibleActions() );
}
/*
* Qt::DropAction proposedAction () const
*/
HB_FUNC( QT_QDROPEVENT_PROPOSEDACTION )
{
hb_retni( ( Qt::DropAction ) hbqt_par_QDropEvent( 1 )->proposedAction() );
}
/*
* void setDropAction ( Qt::DropAction action )
*/
HB_FUNC( QT_QDROPEVENT_SETDROPACTION )
{
hbqt_par_QDropEvent( 1 )->setDropAction( ( Qt::DropAction ) hb_parni( 2 ) );
}
/*
* QWidget * source () const
*/
HB_FUNC( QT_QDROPEVENT_SOURCE )
{
hb_retptr( ( QWidget* ) hbqt_par_QDropEvent( 1 )->source() );
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -221,9 +221,7 @@ HB_FUNC( QT_QFTP_RAWCOMMAND )
*/
HB_FUNC( QT_QFTP_READ )
{
/* TOFIX:
hb_retnint( hbqt_par_QFtp( 1 )->read( hbqt_par_char( 2 ), hb_parnint( 3 ) ) );
*/
}
/*
@@ -294,3 +292,4 @@ HB_FUNC( QT_QFTP_ABORT )
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -199,9 +199,7 @@ HB_FUNC( QT_QHTTP_POST_1 )
*/
HB_FUNC( QT_QHTTP_READ )
{
/* TOFIX:
hb_retnint( hbqt_par_QHttp( 1 )->read( hbqt_par_char( 2 ), hb_parnint( 3 ) ) );
*/
}
/*
@@ -296,3 +294,4 @@ HB_FUNC( QT_QHTTP_ABORT )
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,94 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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 <QtGui/QMoveEvent>
/*
* QMoveEvent ( const QPoint & pos, const QPoint & oldPos )
*/
HB_FUNC( QT_QMOVEEVENT )
{
// hb_retptr( ( QMoveEvent* ) new QMoveEvent() );
}
/*
* const QPoint & oldPos () const
*/
HB_FUNC( QT_QMOVEEVENT_OLDPOS )
{
hb_retptr( new QPoint( hbqt_par_QMoveEvent( 1 )->oldPos() ) );
}
/*
* const QPoint & pos () const
*/
HB_FUNC( QT_QMOVEEVENT_POS )
{
hb_retptr( new QPoint( hbqt_par_QMoveEvent( 1 )->pos() ) );
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,94 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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 <QtGui/QResizeEvent>
/*
* QResizeEvent ( const QSize & size, const QSize & oldSize )
*/
HB_FUNC( QT_QRESIZEEVENT )
{
// hb_retptr( ( QResizeEvent* ) new QResizeEvent() );
}
/*
* const QSize & oldSize () const
*/
HB_FUNC( QT_QRESIZEEVENT_OLDSIZE )
{
hb_retptr( new QSize( hbqt_par_QResizeEvent( 1 )->oldSize() ) );
}
/*
* const QSize & size () const
*/
HB_FUNC( QT_QRESIZEEVENT_SIZE )
{
hb_retptr( new QSize( hbqt_par_QResizeEvent( 1 )->size() ) );
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,151 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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 <QtGui/QWheelEvent>
/*
* QWheelEvent ( const QPoint & pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical )
* QWheelEvent ( const QPoint & pos, const QPoint & globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical )
*/
HB_FUNC( QT_QWHEELEVENT )
{
// hb_retptr( ( QWheelEvent* ) new QWheelEvent() );
}
/*
* Qt::MouseButtons buttons () const
*/
HB_FUNC( QT_QWHEELEVENT_BUTTONS )
{
hb_retni( ( Qt::MouseButtons ) hbqt_par_QWheelEvent( 1 )->buttons() );
}
/*
* int delta () const
*/
HB_FUNC( QT_QWHEELEVENT_DELTA )
{
hb_retni( hbqt_par_QWheelEvent( 1 )->delta() );
}
/*
* const QPoint & globalPos () const
*/
HB_FUNC( QT_QWHEELEVENT_GLOBALPOS )
{
hb_retptr( new QPoint( hbqt_par_QWheelEvent( 1 )->globalPos() ) );
}
/*
* int globalX () const
*/
HB_FUNC( QT_QWHEELEVENT_GLOBALX )
{
hb_retni( hbqt_par_QWheelEvent( 1 )->globalX() );
}
/*
* int globalY () const
*/
HB_FUNC( QT_QWHEELEVENT_GLOBALY )
{
hb_retni( hbqt_par_QWheelEvent( 1 )->globalY() );
}
/*
* Qt::Orientation orientation () const
*/
HB_FUNC( QT_QWHEELEVENT_ORIENTATION )
{
hb_retni( ( Qt::Orientation ) hbqt_par_QWheelEvent( 1 )->orientation() );
}
/*
* const QPoint & pos () const
*/
HB_FUNC( QT_QWHEELEVENT_POS )
{
hb_retptr( new QPoint( hbqt_par_QWheelEvent( 1 )->pos() ) );
}
/*
* int x () const
*/
HB_FUNC( QT_QWHEELEVENT_X )
{
hb_retni( hbqt_par_QWheelEvent( 1 )->x() );
}
/*
* int y () const
*/
HB_FUNC( QT_QWHEELEVENT_Y )
{
hb_retni( hbqt_par_QWheelEvent( 1 )->y() );
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -894,7 +894,7 @@ bool Events::eventFilter( QObject * obj, QEvent * event )
else
event->ignore();
}
return true;
return ret; //true;
}
HB_FUNC( QT_QEVENTFILTER )

View File

@@ -0,0 +1,92 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
Inherits = QDragMoveEvent
Type = Core
New =
</CLASS>
<CODE>
#include <QtGui/QDragEnterEvent>
/*
* QDragEnterEvent ( const QPoint & point, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers )
*/
HB_FUNC( QT_QDRAGENTEREVENT )
{
// hb_retptr( ( * ) new () );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,92 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
Inherits = QEvent
Type = Core
New =
</CLASS>
<CODE>
#include <QtGui/QDragLeaveEvent>
/*
* QDragLeaveEvent ()
*/
HB_FUNC( QT_QDRAGLEAVEEVENT )
{
// hb_retptr( ( * ) new () );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,98 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
Inherits = QDropEvent
Type = Core
New =
</CLASS>
<CODE>
#include <QtGui/QDragMoveEvent>
/*
* QDragMoveEvent ( const QPoint & pos, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type = DragMove )
* ~QDragMoveEvent ()
*/
HB_FUNC( QT_QDRAGMOVEEVENT )
{
// hb_retptr( ( * ) new () );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
void accept ( const QRect & rectangle )
void accept ()
QRect answerRect () const
void ignore ( const QRect & rectangle )
void ignore ()
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,102 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
Inherits = QEvent
Type = Core
New =
</CLASS>
<CODE>
#include <QtGui/QDropEvent>
/*
* QDropEvent ( const QPoint & pos, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type = Drop )
*/
HB_FUNC( QT_QDROPEVENT )
{
// hb_retptr( ( QDropEvent* ) new QDropEvent() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
void acceptProposedAction ()
Qt::DropAction dropAction () const
Qt::KeyboardModifiers keyboardModifiers () const
const QMimeData * mimeData () const
Qt::MouseButtons mouseButtons () const
const QPoint & pos () const
Qt::DropActions possibleActions () const
Qt::DropAction proposedAction () const
void setDropAction ( Qt::DropAction action )
QWidget * source () const
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,94 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
Inherits = QEvent
Type = Core
New =
</CLASS>
<CODE>
#include <QtGui/QMoveEvent>
/*
* QMoveEvent ( const QPoint & pos, const QPoint & oldPos )
*/
HB_FUNC( QT_QMOVEEVENT )
{
// hb_retptr( ( QMoveEvent* ) new QMoveEvent() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
const QPoint & oldPos () const
const QPoint & pos () const
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,94 @@
/*
* $Id: QBrush.qth 10780 2009-04-05 09:32:56Z vouchcac $
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
Inherits = QEvent
Type = Core
New =
</CLASS>
<CODE>
#include <QtGui/QResizeEvent>
/*
* QResizeEvent ( const QSize & size, const QSize & oldSize )
*/
HB_FUNC( QT_QRESIZEEVENT )
{
// hb_retptr( ( QResizeEvent* ) new QResizeEvent() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
const QSize & oldSize () const
const QSize & size () const
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,102 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
* 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.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
Inherits = QInputEvent
Type = Core
New =
</CLASS>
<CODE>
#include <QtGui/QWheelEvent>
/*
* QWheelEvent ( const QPoint & pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical )
* QWheelEvent ( const QPoint & pos, const QPoint & globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical )
*/
HB_FUNC( QT_QWHEELEVENT )
{
// hb_retptr( ( QWheelEvent* ) new QWheelEvent() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
Qt::MouseButtons buttons () const
int delta () const
const QPoint & globalPos () const
int globalX () const
int globalY () const
Qt::Orientation orientation () const
const QPoint & pos () const
int x () const
int y () const
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>