2012-08-14 16:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QTextCursor.qth
! Fixed: a nasty overlook.
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2012-08-14 16:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbqt/qtgui/qth/QTextCursor.qth
|
||||
! Fixed: a nasty overlook.
|
||||
|
||||
2012-08-14 12:44 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* harbour/src/rtl/valtype.c
|
||||
* modified HB_ISEVALITEM() to use HB_IS_EVALITEM() macro
|
||||
|
||||
@@ -40,11 +40,11 @@ HB_FUNC( QT_QTEXTCURSOR )
|
||||
if( hbqt_par_isDerivedFrom( 1, "QTEXTCURSOR" ) )
|
||||
__HB_RETPTRGC__( new QTextCursor( *hbqt_par_QTextCursor( 1 ) ) );
|
||||
else if( hbqt_par_isDerivedFrom( 1, "QTEXTDOCUMENT" ) )
|
||||
__HB_RETPTRGC__( new QTextCursor( hbqt_par_QTextDocument( 2 ) ) );
|
||||
__HB_RETPTRGC__( new QTextCursor( hbqt_par_QTextDocument( 1 ) ) );
|
||||
else if( hbqt_par_isDerivedFrom( 1, "QTEXTBLOCK" ) )
|
||||
__HB_RETPTRGC__( new QTextCursor( *hbqt_par_QTextBlock( 2 ) ) );
|
||||
__HB_RETPTRGC__( new QTextCursor( *hbqt_par_QTextBlock( 1 ) ) );
|
||||
else if( hbqt_par_isDerivedFrom( 1, "QTEXTFRAME" ) )
|
||||
__HB_RETPTRGC__( new QTextCursor( hbqt_par_QTextFrame( 2 ) ) );
|
||||
__HB_RETPTRGC__( new QTextCursor( hbqt_par_QTextFrame( 1 ) ) );
|
||||
else
|
||||
__HB_RETPTRGC__( new QTextCursor() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user