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.
This commit is contained in:
Pritpal Bedi
2012-05-13 19:30:33 +00:00
parent 3c3bab9788
commit fb248a5e2b
3 changed files with 9 additions and 0 deletions

View File

@@ -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

View File

@@ -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; };

View File

@@ -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 )