2012-05-26 12:12 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbqt/qtcore/hbqt_pointer.cpp
    ! Changed: HB_FUNC( SIGNAL2SLOT ) => HB_FUNC( HBQT_CONNECT )
  * contrib/hbqt/tests/signalslots.prg
    * Applied above change.
This commit is contained in:
Pritpal Bedi
2012-05-26 19:13:57 +00:00
parent 37b043679c
commit 01efbcdafc
3 changed files with 8 additions and 2 deletions

View File

@@ -16,6 +16,12 @@
The license applies to all entries newer than 2009-04-28.
*/
2012-05-26 12:12 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
! Changed: HB_FUNC( SIGNAL2SLOT ) => HB_FUNC( HBQT_CONNECT )
* contrib/hbqt/tests/signalslots.prg
* Applied above change.
2012-05-25 18:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QObject.qth
+ Uncommented: method QList<QObject*> children() const.

View File

@@ -501,7 +501,7 @@ int hbqt_QtConnect( QObject *sender, const char * pszSignal, QObject *receiver,
return nResult;
}
HB_FUNC( SIGNAL2SLOT )
HB_FUNC( HBQT_CONNECT )
{
HB_BOOL ret = HB_FALSE;

View File

@@ -28,7 +28,7 @@ PROCEDURE main()
oLayout:addWidget( oScrollBar )
oLayout:addWidget( oLabel )
SIGNAL2SLOT( oScrollBar, "valueChanged(int)", oLabel, "setNum(int)" )
hbqt_Connect( oScrollBar, "valueChanged(int)", oLabel, "setNum(int)" )
oMain:show()