2009-03-19 08:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)

* harbour/contrib/hbqt/hbqt.h
  * harbour/contrib/hbqt/hbqt_qdialog.cpp
  * harbour/contrib/hbqt/hbqt_qabstractbutton.cpp
  + harbour/contrib/hbqt/hbqt_qabstractitemview.cpp
  + harbour/contrib/hbqt/hbqt_qabstractprintdialog.cpp
  + harbour/contrib/hbqt/hbqt_qwidget.cpp
    ! Formatting and new additions.
This commit is contained in:
Pritpal Bedi
2009-03-19 15:18:05 +00:00
parent 04e0670135
commit e43d315d4f
8 changed files with 1810 additions and 15 deletions

View File

@@ -8,6 +8,15 @@
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2009-03-19 08:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt.h
* harbour/contrib/hbqt/hbqt_qdialog.cpp
* harbour/contrib/hbqt/hbqt_qabstractbutton.cpp
+ harbour/contrib/hbqt/hbqt_qabstractitemview.cpp
+ harbour/contrib/hbqt/hbqt_qabstractprintdialog.cpp
+ harbour/contrib/hbqt/hbqt_qwidget.cpp
! Formatting and new additions.
2009-03-19 15:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
* contrib/Makefile

View File

@@ -25,6 +25,9 @@ CPP_SOURCES=\
hbqt_base.cpp \
hbqt_qdialog.cpp \
hbqt_qabstractbutton.cpp \
hbqt_qabstractitemview.cpp \
hbqt_qabstractprintdialog.cpp \
hbqt_qwidget.cpp \
C_HEADERS=\
hbqt.h \

View File

@@ -6,7 +6,7 @@
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 {list of individual authors and e-mail addresses}
* 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
@@ -53,17 +53,33 @@
#ifndef __HBQT_H
#define __HBQT_H
#include <Qt/qglobal.h>
/* #define QT_VERSION 0x040500 */
#if QT_VERSION >= 0x040500
#include <QtGui/QDialog>
#include <Qt/qglobal.h>
#define hbqt_par_QWidget( n ) ( ( QWidget* ) hb_parptr( n ) )
#define hbqt_par_QDialog( n ) ( ( QDialog* ) hb_parptr( n ) )
#define hbqt_par_QAbstractButton( n ) ( ( QAbstractButton* ) hb_parptr( n ) )
#define hbqt_par_QString( n ) ( ( QString ) hb_parc( n ) )
#define hbqt_par_WindowFlags( n ) ( ( Qt::WindowFlags ) hb_parni( n ) )
#define hbqt_par_QWidget( n ) ( ( QWidget* ) hb_parptr( n ) )
#define hbqt_par_QDialog( n ) ( ( QDialog* ) hb_parptr( n ) )
#define hbqt_par_QAbstractButton( n ) ( ( QAbstractButton* ) hb_parptr( n ) )
#define hbqt_par_QAbstractItemView( n ) ( ( QAbstractItemView* ) hb_parptr( n ) )
#define hbqt_par_QAbstractItemDelegate( n ) ( ( QAbstractItemDelegate* ) hb_parptr( n ) )
#define hbqt_par_QAbstractPrintDialog( n ) ( ( QAbstractPrintDialog* ) hb_parptr( n ) )
#define hbqt_par_QAction( n ) ( ( QAction* ) hb_parptr( n ) )
#define hbqt_par_QWindowSurface( n ) ( ( QWindowSurface* ) hb_parptr( n ) )
#define hbqt_par_QStyle( n ) ( ( QStyle* ) hb_parptr( n ) )
#define hbqt_par_QLayout( n ) ( ( QLayout* ) hb_parptr( n ) )
#define hbqt_par_QInputContext( n ) ( ( QInputContext* ) hb_parptr( n ) )
#define hbqt_par_QString( n ) ( ( QString ) hb_parc( n ) )
#define hbqt_par_Bool( n ) ( hb_parl( n ) )
#define hbqt_par_WindowFlags( n ) ( ( Qt::WindowFlags ) hb_parni( n ) )
#define hbqt_ret_QWidget( p ) ( hb_retptr( ( QWidget* ) p ) )
#define hbqt_ret_QAbstractItemDelegate( p ) ( hb_retptr( ( QAbstractItemDelegate* ) p ) )
#define hbqt_ret_QAbstractItemModel( p ) ( hb_retptr( ( QAbstractItemModel* ) p ) )
#define hbqt_ret_QPrinter( p ) ( hb_retptr( ( QPrinter* ) p ) )
#endif

View File

@@ -6,7 +6,8 @@
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 {list of individual authors and e-mail addresses}
* 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
@@ -49,15 +50,16 @@
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbapi.h"
#include "hbqt.h"
#if QT_VERSION >= 0x040500
#include <QtGui/QAbstractButton>
/*----------------------------------------------------------------------*/
/*
bool autoExclusive () const
*/
@@ -230,5 +232,4 @@ HB_FUNC( QT_QABSTRACTBUTTON_TOGGLE )
}
/*----------------------------------------------------------------------*/
#endif

View File

@@ -0,0 +1,378 @@
/*
* $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\QAbstractItemView>
/*----------------------------------------------------------------------*/
/*
bool alternatingRowColors () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_ALTERNATINGROWCOLORS )
{
hb_retl( hbqt_par_QAbstractItemView( 1 )->alternatingRowColors() );
}
/*
int autoScrollMargin () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_AUTOSCROLLMARGIN )
{
hb_retni( hbqt_par_QAbstractItemView( 1 )->autoScrollMargin() );
}
/*
DragDropMode dragDropMode () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_DRAGDROPMODE )
{
hb_retni( hbqt_par_QAbstractItemView( 1 )->dragDropMode() );
}
/*
bool dragDropOverwriteMode () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_DRAGDROPOVERWRITEMODE )
{
hb_retl( hbqt_par_QAbstractItemView( 1 )->dragDropOverwriteMode() );
}
/*
bool dragEnabled () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_DRAGENABLED )
{
hb_retl( hbqt_par_QAbstractItemView( 1 )->dragEnabled() );
}
/*
EditTriggers editTriggers () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_EDITTRIGGERS )
{
hb_retni( hbqt_par_QAbstractItemView( 1 )->editTriggers() );
}
/*
bool hasAutoScroll () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_HASAUTOSCROLL )
{
hb_retl( hbqt_par_QAbstractItemView( 1 )->hasAutoScroll() );
}
/*
ScrollMode horizontalScrollMode () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_HORIZONTALSCROLLMODE )
{
hb_retni( hbqt_par_QAbstractItemView( 1 )->horizontalScrollMode() );
}
/*
QAbstractItemDelegate * itemDelegate () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_ITEMDELEGATE )
{
hbqt_ret_QAbstractItemDelegate( hbqt_par_QAbstractItemView( 1 )->itemDelegate() );
}
/*
QAbstractItemDelegate * itemDelegateForColumn ( int column ) const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_ITEMDELEGATEFORCOLUMN )
{
hbqt_ret_QAbstractItemDelegate( hbqt_par_QAbstractItemView( 1 )->itemDelegateForColumn( hb_parni( 2 ) ) );
}
/*
QAbstractItemDelegate * itemDelegateForRow ( int row ) const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_ITEMDELEGATEFORROW )
{
hbqt_ret_QAbstractItemDelegate( hbqt_par_QAbstractItemView( 1 )->itemDelegateForRow( hb_parni( 2 ) ) );
}
/*
QAbstractItemModel * model () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_MODEL )
{
hbqt_ret_QAbstractItemModel( hbqt_par_QAbstractItemView( 1 )->model() );
}
/*
QAbstractItemView::SelectionBehavior selectionBehavior () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SELECTIONBEHAVIOR )
{
hb_retni( hbqt_par_QAbstractItemView( 1 )->selectionBehavior() );
}
/*
QAbstractItemView::SelectionMode selectionMode () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SELECTIONMODE )
{
hb_retni( hbqt_par_QAbstractItemView( 1 )->selectionMode() );
}
/*
QItemSelectionModel * selectionModel () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SELECTIONMODEL )
{
hb_retptr( ( QItemSelectionModel* ) hbqt_par_QAbstractItemView( 1 )->selectionModel() );
}
/*
void setAlternatingRowColors ( bool enable )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETALTERNATINGROWCOLORS )
{
hbqt_par_QAbstractItemView( 1 )->setAlternatingRowColors( hb_parl( 2 ) );
}
/*
void setAutoScroll ( bool enable )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETAUTOSCROLL )
{
hbqt_par_QAbstractItemView( 1 )->setAutoScroll( hb_parl( 2 ) );
}
/*
void setAutoScrollMargin ( int margin )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETAUTOSCROLLMARGIN )
{
hbqt_par_QAbstractItemView( 1 )->setAutoScrollMargin( hb_parni( 2 ) );
}
/*
void setDragDropMode ( DragDropMode behavior )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETDRAGDROPMODE )
{
hbqt_par_QAbstractItemView( 1 )->setDragDropMode( ( QAbstractItemView::DragDropMode ) hb_parni( 2 ) );
}
/*
void setDragDropOverwriteMode ( bool overwrite )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETDRAGDROPOVERWRITEMODE )
{
hbqt_par_QAbstractItemView( 1 )->setDragDropOverwriteMode( hb_parl( 2 ) );
}
/*
void setDragEnabled ( bool enable )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETDRAGENABLED )
{
hbqt_par_QAbstractItemView( 1 )->setDragEnabled( hb_parl( 2 ) );
}
/*
void setDropIndicatorShown ( bool enable )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETDROPINDICATORSHOWN )
{
hbqt_par_QAbstractItemView( 1 )->setDropIndicatorShown( hb_parl( 2 ) );
}
/*
void setEditTriggers ( EditTriggers triggers )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETEDITTRIGGERS )
{
hbqt_par_QAbstractItemView( 1 )->setEditTriggers( ( QAbstractItemView::EditTrigger ) hb_parni( 2 ) );
}
/*
void setHorizontalScrollMode ( ScrollMode mode )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETHORIZONTALSCROLLMODE )
{
hbqt_par_QAbstractItemView( 1 )->setHorizontalScrollMode( ( QAbstractItemView::ScrollMode ) hb_parni( 2 ) );
}
/*
void setItemDelegate ( QAbstractItemDelegate * delegate )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETITEMDELEGATE )
{
hbqt_par_QAbstractItemView( 1 )->setItemDelegate( hbqt_par_QAbstractItemDelegate( 2 ) );
}
/*
void setItemDelegateForColumn ( int column, QAbstractItemDelegate * delegate )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETITEMDELEGATEFORCOLUMN )
{
hbqt_par_QAbstractItemView( 1 )->setItemDelegateForColumn( hb_parni( 2 ), hbqt_par_QAbstractItemDelegate( 3 ) );
}
/*
void setItemDelegateForRow ( int row, QAbstractItemDelegate * delegate )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETITEMDELEGATEFORROW )
{
hbqt_par_QAbstractItemView( 1 )->setItemDelegateForRow( hb_parni(2), hbqt_par_QAbstractItemDelegate( 3 ) );
}
/*
void setSelectionBehavior ( QAbstractItemView::SelectionBehavior behavior )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETSELECTIONBEHAVIOR )
{
hbqt_par_QAbstractItemView( 1 )->setSelectionBehavior( ( QAbstractItemView::SelectionBehavior ) hb_parni( 2 ) );
}
/*
void setSelectionMode ( QAbstractItemView::SelectionMode mode )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETSELECTIONMODE )
{
hbqt_par_QAbstractItemView( 1 )->setSelectionMode( ( QAbstractItemView::SelectionMode ) hb_parni( 2 ) );
}
/*
void setTabKeyNavigation ( bool enable )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETTABKEYNAVIGATION )
{
hbqt_par_QAbstractItemView( 1 )->setTabKeyNavigation( hb_parl( 2 ) );
}
/*
void setTextElideMode ( Qt::TextElideMode mode )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETTEXTELIDEMODE )
{
hbqt_par_QAbstractItemView( 1 )->setTextElideMode( ( Qt::TextElideMode ) hb_parni( 2 ) );
}
/*
void setVerticalScrollMode ( ScrollMode mode )
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SETVERTICALSCROLLMODE )
{
hbqt_par_QAbstractItemView( 1 )->setVerticalScrollMode( ( QAbstractItemView::ScrollMode ) hb_parni( 2 ) );
}
/*
bool showDropIndicator () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SHOWDROPINDICATOR )
{
hb_retl( hbqt_par_QAbstractItemView( 1 )->showDropIndicator() );
}
/*
bool tabKeyNavigation () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_TABKEYNAVIGATION )
{
hb_retl( hbqt_par_QAbstractItemView( 1 )->tabKeyNavigation() );
}
/*
Qt::TextElideMode textElideMode () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_TEXTELIDEMODE )
{
hb_retni( hbqt_par_QAbstractItemView( 1 )->textElideMode() );
}
/*
ScrollMode verticalScrollMode () const
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_VERTICALSCROLLMODE )
{
hb_retni( hbqt_par_QAbstractItemView( 1 )->verticalScrollMode() );
}
/*
void clearSelection ()
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_CLEARSELECTION )
{
hbqt_par_QAbstractItemView( 1 )->clearSelection();
}
/*
void scrollToBottom ()
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SCROLLTOBOTTOM )
{
hbqt_par_QAbstractItemView( 1 )->scrollToBottom();
}
/*
void scrollToTop ()
*/
HB_FUNC( QT_QABSTRACTITEMVIEW_SCROLLTOTOP )
{
hbqt_par_QAbstractItemView( 1 )->scrollToTop();
}
/*----------------------------------------------------------------------*/
#endif

View File

@@ -0,0 +1,136 @@
/*
* $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/QAbstractPrintDialog>
/*----------------------------------------------------------------------*/
/*
int fromPage () const
*/
HB_FUNC( QT_QABSTRACTPRINTDIALOG_FROMPAGE )
{
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->fromPage() );
}
/*
int maxPage () const
*/
HB_FUNC( QT_QABSTRACTPRINTDIALOG_MAXPAGE )
{
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->maxPage() );
}
/*
int minPage () const
*/
HB_FUNC( QT_QABSTRACTPRINTDIALOG_MINPAGE )
{
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->minPage() );
}
/*
PrintRange printRange () const
*/
HB_FUNC( QT_QABSTRACTPRINTDIALOG_PRINTRANGE )
{
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->printRange() );
}
/*
QPrinter * printer () const
*/
HB_FUNC( QT_QABSTRACTPRINTDIALOG_PRINTER )
{
hbqt_ret_QPrinter( hbqt_par_QAbstractPrintDialog( 1 )->printer() );
}
/*
void setFromTo ( int from, int to )
*/
HB_FUNC( QT_QABSTRACTPRINTDIALOG_SETFROMTO )
{
hbqt_par_QAbstractPrintDialog( 1 )->setFromTo( hb_parni( 2 ), hb_parni( 3 ) );
}
/*
void setMinMax ( int min, int max )
*/
HB_FUNC( QT_QABSTRACTPRINTDIALOG_SETMINMAX )
{
hbqt_par_QAbstractPrintDialog( 1 )->setMinMax( hb_parni( 2 ), hb_parni( 3 ) );
}
/*
void setPrintRange ( PrintRange range )
*/
HB_FUNC( QT_QABSTRACTPRINTDIALOG_SETPRINTRANGE )
{
hbqt_par_QAbstractPrintDialog( 1 )->setPrintRange( ( QAbstractPrintDialog::PrintRange ) hb_parni( 2 ) );
}
/*
int toPage () const
*/
HB_FUNC( QT_QABSTRACTPRINTDIALOG_TOPAGE )
{
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->toPage() );
}
/*----------------------------------------------------------------------*/
#endif

View File

@@ -49,13 +49,16 @@
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbapi.h"
#include "hbqt.h"
#if QT_VERSION >= 0x040500
#include <QtGui/QDialog>
/*----------------------------------------------------------------------*/
/*
QDialog ( QWidget * parent = 0, Qt::WindowFlags f = 0 )
*/
@@ -66,13 +69,15 @@ HB_FUNC( QT_QDIALOG )
/*
bool isModal () const
void setModal ( bool modal )
*/
HB_FUNC( QT_QDIALOG_ISMODAL )
{
hb_retl( hbqt_par_QDialog( 1 )->isModal() );
}
/*
void setModal ( bool modal )
*/
HB_FUNC( QT_QDIALOG_SETMODAL )
{
hbqt_par_QDialog( 1 )->setModal( hb_parl( 2 ) );
@@ -80,13 +85,15 @@ HB_FUNC( QT_QDIALOG_SETMODAL )
/*
bool isSizeGripEnabled () const
void setSizeGripEnabled ( bool )
*/
HB_FUNC( QT_QDIALOG_ISSIZEGRIPENABLED )
{
hb_retl( hbqt_par_QDialog( 1 )->isSizeGripEnabled() );
}
/*
void setSizeGripEnabled ( bool )
*/
HB_FUNC( QT_QDIALOG_SETSIZEGRIPENABLED )
{
hbqt_par_QDialog( 1 )->setSizeGripEnabled( hb_parl( 2 ) );
@@ -134,16 +141,19 @@ HB_FUNC( QT_QDIALOG_REJECT )
/*
int QDialog::result () const
void QDialog::setResult ( int i )
*/
HB_FUNC( QT_QDIALOG_RESULT )
{
hb_retni( hbqt_par_QDialog( 1 )->result() );
}
/*
void QDialog::setResult ( int i )
*/
HB_FUNC( QT_QDIALOG_SETRESULT )
{
hbqt_par_QDialog( 1 )->setResult( hb_parni( 2 ) );
}
/*----------------------------------------------------------------------*/
#endif

File diff suppressed because it is too large Load Diff