diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 7f677b1ec0..e4c472d60c 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,24 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-10-09 19:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + * contrib/hbqt/qth/QApplication.qth + * contrib/hbqt/qth/QBoxLayout.qth + * contrib/hbqt/qth/QBrush.qth + * contrib/hbqt/qth/QClipboard.qth + * contrib/hbqt/qth/QColorDialog.qth + * contrib/hbqt/qth/QCursor.qth + * contrib/hbqt/qth/QInputEvent.qth + * contrib/hbqt/qth/QList.qth + * contrib/hbqt/qth/QSizeF.qth + * contrib/hbqt/qth/QTextBlockGroup.qth + * contrib/hbqt/qth/QTextCodec.qth + * contrib/hbqt/qth/QTextObject.qth + * contrib/hbqt/qth/QWebFrame.qth + * contrib/hbqt/qth/QWebHistory.qth + * contrib/hbqt/qth/QWebSettings.qth + ! Preliminaries for next massive update, probably. + 2009-10-09 22:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * ChangeLog * Marked TODO/TOFIX items as DONE. diff --git a/harbour/contrib/hbqt/qth/QApplication.qth b/harbour/contrib/hbqt/qth/QApplication.qth index 91d1d99418..3620eb4a56 100644 --- a/harbour/contrib/hbqt/qth/QApplication.qth +++ b/harbour/contrib/hbqt/qth/QApplication.qth @@ -95,25 +95,8 @@ static char ** s_argv; * virtual ~QApplication () */ -#if 0 HB_FUNC( QT_QAPPLICATION ) { - int i_argc = 0; - char** c_argv = NULL; - app = new QApplication( i_argc, c_argv ); - hb_retptr( ( QApplication* ) app); -} -#endif - -HB_FUNC( QT_QAPPLICATION ) -{ -#if 0 - int i_argc; - char ** c_argv; - i_argc = hb_cmdargARGC(); - c_argv = hb_cmdargARGV(); - app = new QApplication( i_argc, c_argv ); -#endif hb_retptr( ( QApplication * ) app ); } @@ -168,23 +151,6 @@ HB_FUNC( QT_QAPPLICATION_QUIT ) { app->quit(); } - -#if 0 -HB_FUNC( QT_QAPPLICATION_EXECUTE ) -{ - hb_retni( app->exec() ); -} - -HB_FUNC( QT_QAPPLICATION_SETSTYLE ) -{ - app->setStyle( hb_parcx( 2 ) ); -} - -HB_FUNC( QT_QAPPLICATION_QUIT ) -{ - app->quit(); -} -#endif diff --git a/harbour/contrib/hbqt/qth/QBoxLayout.qth b/harbour/contrib/hbqt/qth/QBoxLayout.qth index e2f7b31a6b..d753c98821 100644 --- a/harbour/contrib/hbqt/qth/QBoxLayout.qth +++ b/harbour/contrib/hbqt/qth/QBoxLayout.qth @@ -69,8 +69,7 @@ New = nDirection, pParent */ HB_FUNC( QT_QBOXLAYOUT ) { - hb_retptr( ( QBoxLayout* ) new QBoxLayout( ( QBoxLayout::Direction ) hb_parni( 1 ), - hbqt_par_QWidget( 2 ) ) ); + hb_retptr( ( QBoxLayout* ) new QBoxLayout( ( QBoxLayout::Direction ) hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ); } diff --git a/harbour/contrib/hbqt/qth/QBrush.qth b/harbour/contrib/hbqt/qth/QBrush.qth index c6901cd360..6053177dea 100644 --- a/harbour/contrib/hbqt/qth/QBrush.qth +++ b/harbour/contrib/hbqt/qth/QBrush.qth @@ -135,8 +135,7 @@ HB_FUNC( QT_QBRUSH ) } else if( objName == ( QString ) "QColor" ) { - hb_retptr( ( QBrush* ) new QBrush( *hbqt_par_QColor( 2 ), - HB_ISNUM( 3 ) ? ( Qt::BrushStyle ) hb_parni( 3 ) : Qt::SolidPattern ) ); + hb_retptr( ( QBrush* ) new QBrush( *hbqt_par_QColor( 2 ), HB_ISNUM( 3 ) ? ( Qt::BrushStyle ) hb_parni( 3 ) : Qt::SolidPattern ) ); } else { diff --git a/harbour/contrib/hbqt/qth/QClipboard.qth b/harbour/contrib/hbqt/qth/QClipboard.qth index 32e85321d5..d376d29a63 100644 --- a/harbour/contrib/hbqt/qth/QClipboard.qth +++ b/harbour/contrib/hbqt/qth/QClipboard.qth @@ -58,6 +58,7 @@ Inherits = QObject Type = Core New = +Destructor = no diff --git a/harbour/contrib/hbqt/qth/QColorDialog.qth b/harbour/contrib/hbqt/qth/QColorDialog.qth index 122a232d67..a11a099342 100644 --- a/harbour/contrib/hbqt/qth/QColorDialog.qth +++ b/harbour/contrib/hbqt/qth/QColorDialog.qth @@ -74,8 +74,7 @@ HB_FUNC( QT_QCOLORDIALOG ) { if( hb_pcount() >= 1 && HB_ISNUM( 1 ) ) { - hb_retptr( ( QColorDialog* ) new QColorDialog( hb_parni( 1 ), - hbqt_par_QWidget( 2 ) ) ); + hb_retptr( ( QColorDialog* ) new QColorDialog( hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ); } else { diff --git a/harbour/contrib/hbqt/qth/QCursor.qth b/harbour/contrib/hbqt/qth/QCursor.qth index 35ddcf5f35..33e07f7843 100644 --- a/harbour/contrib/hbqt/qth/QCursor.qth +++ b/harbour/contrib/hbqt/qth/QCursor.qth @@ -98,9 +98,7 @@ HB_FUNC( QT_QCURSOR ) if( objName == ( QString ) "QPixmap" ) { - hb_retptr( ( QCursor* ) new QCursor( *hbqt_par_QPixmap( 2 ), - HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1, - HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ); + hb_retptr( ( QCursor* ) new QCursor( *hbqt_par_QPixmap( 2 ), HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1, HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ); } else { @@ -109,9 +107,7 @@ HB_FUNC( QT_QCURSOR ) } else if( hb_pcount() >= 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) { - hb_retptr( ( QCursor* ) new QCursor( *hbqt_par_QBitmap( 1 ), *hbqt_par_QBitmap( 2 ), - HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1, - HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ); + hb_retptr( ( QCursor* ) new QCursor( *hbqt_par_QBitmap( 1 ), *hbqt_par_QBitmap( 2 ), HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1, HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ); } else { diff --git a/harbour/contrib/hbqt/qth/QInputEvent.qth b/harbour/contrib/hbqt/qth/QInputEvent.qth index b6c039595e..98f1b8bbbc 100644 --- a/harbour/contrib/hbqt/qth/QInputEvent.qth +++ b/harbour/contrib/hbqt/qth/QInputEvent.qth @@ -70,8 +70,7 @@ New = */ HB_FUNC( QT_QINPUTEVENT ) { - hb_retptr( ( QInputEvent* ) new QInputEvent( ( QEvent::Type ) hb_parni( 1 ), - ( Qt::KeyboardModifiers ) hb_parni( 2 ) ) ); + hb_retptr( ( QInputEvent* ) new QInputEvent( ( QEvent::Type ) hb_parni( 1 ), ( Qt::KeyboardModifiers ) hb_parni( 2 ) ) ); } diff --git a/harbour/contrib/hbqt/qth/QList.qth b/harbour/contrib/hbqt/qth/QList.qth index 587ffd0bc2..a4f7c9526c 100644 --- a/harbour/contrib/hbqt/qth/QList.qth +++ b/harbour/contrib/hbqt/qth/QList.qth @@ -58,6 +58,7 @@ Inherits = Type = Core New = +List = yes diff --git a/harbour/contrib/hbqt/qth/QSizeF.qth b/harbour/contrib/hbqt/qth/QSizeF.qth index 47dc60cbc4..0d022f108c 100644 --- a/harbour/contrib/hbqt/qth/QSizeF.qth +++ b/harbour/contrib/hbqt/qth/QSizeF.qth @@ -84,7 +84,7 @@ HB_FUNC( QT_QSIZEF ) { hb_retptr( ( QSizeF* ) new QSizeF() ); } - } +} diff --git a/harbour/contrib/hbqt/qth/QTextBlockGroup.qth b/harbour/contrib/hbqt/qth/QTextBlockGroup.qth index a0755d29ee..7951ce17f3 100644 --- a/harbour/contrib/hbqt/qth/QTextBlockGroup.qth +++ b/harbour/contrib/hbqt/qth/QTextBlockGroup.qth @@ -58,6 +58,7 @@ Inherits = QTextObject Type = Core New = +Destructor = no diff --git a/harbour/contrib/hbqt/qth/QTextCodec.qth b/harbour/contrib/hbqt/qth/QTextCodec.qth index 316ab60ab3..984f9fa490 100644 --- a/harbour/contrib/hbqt/qth/QTextCodec.qth +++ b/harbour/contrib/hbqt/qth/QTextCodec.qth @@ -58,6 +58,7 @@ Inherits = Type = Core New = +Destructor = no diff --git a/harbour/contrib/hbqt/qth/QTextObject.qth b/harbour/contrib/hbqt/qth/QTextObject.qth index dff3f1b249..75aa622a49 100644 --- a/harbour/contrib/hbqt/qth/QTextObject.qth +++ b/harbour/contrib/hbqt/qth/QTextObject.qth @@ -58,6 +58,7 @@ Inherits = QObject Type = Core New = +Destructor = no diff --git a/harbour/contrib/hbqt/qth/QWebFrame.qth b/harbour/contrib/hbqt/qth/QWebFrame.qth index cd781d2f03..9f0fa64b76 100644 --- a/harbour/contrib/hbqt/qth/QWebFrame.qth +++ b/harbour/contrib/hbqt/qth/QWebFrame.qth @@ -58,6 +58,7 @@ Inherits = QObject Type = Core New = +Destructor = no diff --git a/harbour/contrib/hbqt/qth/QWebHistory.qth b/harbour/contrib/hbqt/qth/QWebHistory.qth index 1e9ae49cbf..d74a0a41f2 100644 --- a/harbour/contrib/hbqt/qth/QWebHistory.qth +++ b/harbour/contrib/hbqt/qth/QWebHistory.qth @@ -58,6 +58,7 @@ Inherits = Type = Core New = +Destructor = no diff --git a/harbour/contrib/hbqt/qth/QWebSettings.qth b/harbour/contrib/hbqt/qth/QWebSettings.qth index eee401fd83..76713ffc88 100644 --- a/harbour/contrib/hbqt/qth/QWebSettings.qth +++ b/harbour/contrib/hbqt/qth/QWebSettings.qth @@ -58,6 +58,7 @@ Inherits = Type = Core New = +Destructor = no