diff --git a/harbour/ChangeLog b/harbour/ChangeLog index e97f422ab2..6bee20ce1b 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,13 @@ The license applies to all entries newer than 2009-04-28. */ +2012-05-13 12:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h + * contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth + + Added: method hbSetEditor( QPlainTextEdit edit ). + This fixes issues where some of the components of hbIDE were + not working properly due to strict object inheritance checking. + 2012-05-13 00:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp diff --git a/harbour/contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h b/harbour/contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h index 7730cc92ad..8fb887c7dd 100644 --- a/harbour/contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h +++ b/harbour/contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h @@ -99,6 +99,7 @@ public: void hbSetFormatColumnSelection( int start, int count, const QColor & color ); void hbSetRuleWithRegExp( QString name, const QRegExp & reg, const QTextCharFormat & format ); void hbSetEditor( HBQPlainTextEdit * edit ){ editor = edit; }; + void hbSetEditor( QPlainTextEdit * edit ){ editor = ( HBQPlainTextEdit * ) edit; }; void hbSetInitialized( bool bInit ){ initialized = bInit; }; void hbSetType( int ty ){ type = ty; }; diff --git a/harbour/contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth b/harbour/contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth index c0f15f0b06..29264659cc 100644 --- a/harbour/contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth +++ b/harbour/contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth @@ -52,6 +52,7 @@ void hbSetFormat( QString name, const QTextCharFormat & format ) void hbSetFormatColumnSelection( int start, int count, const QColor & color ) void hbSetRuleWithRegExp( QString name, const QRegExp & reg, const QTextCharFormat & format ) void hbSetEditor( HBQPlainTextEdit * edit ) +void hbSetEditor( QPlainTextEdit * edit ) void hbSetInitialized( bool init ) void hbSetType( int ty )