From 2cc9a8942f417a8eea44765f52b0341c2b6c7a8f Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Thu, 15 Oct 2009 19:57:00 +0000 Subject: [PATCH] 2009-10-15 12:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qth/QIODevice.qth * contrib/hbqt/qth/QWidget.qth ! Commented out Windows specific function. --- harbour/ChangeLog | 5 +++++ harbour/contrib/hbqt/qth/QIODevice.qth | 8 +------- harbour/contrib/hbqt/qth/QWidget.qth | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index efa3a228db..56bf1ee547 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-10-15 12:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + * contrib/hbqt/qth/QIODevice.qth + * contrib/hbqt/qth/QWidget.qth + ! Commented out Windows specific function. + 2009-10-15 18:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/genc.c * harbour/src/compiler/compi18n.c diff --git a/harbour/contrib/hbqt/qth/QIODevice.qth b/harbour/contrib/hbqt/qth/QIODevice.qth index 9d05ee3774..3ef83c8aba 100644 --- a/harbour/contrib/hbqt/qth/QIODevice.qth +++ b/harbour/contrib/hbqt/qth/QIODevice.qth @@ -71,16 +71,10 @@ New = */ HB_FUNC( QT_QIODEVICE ) { - #if 0 if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) { - hb_retptr( ( QIODevice* ) new QIODevice( hbqt_par_QObject( 1 ) ) ); + // hb_retptr( new QIODevice( hbqt_par_QObject( 1 ) ) ); } - else - { - hb_retptr( ( QIODevice* ) new QIODevice() ); - } - #endif } diff --git a/harbour/contrib/hbqt/qth/QWidget.qth b/harbour/contrib/hbqt/qth/QWidget.qth index 9dc24671fd..b13e458f5d 100644 --- a/harbour/contrib/hbqt/qth/QWidget.qth +++ b/harbour/contrib/hbqt/qth/QWidget.qth @@ -297,7 +297,7 @@ bool updatesEnabled () const QRegion visibleRegion () const QString whatsThis () const int width () const -WId winId () const +//WId winId () const QWidget * window () const QString windowFilePath () const Qt::WindowFlags windowFlags () const