Public Member Functions | |
| void | run () |
| implementation of the virutal run function in QThread | |
| void | addEditor (QTextEdit *editor) |
| add an text editor for highlightning | |
| void | removeEditor (QTextEdit *editor) |
| add text editor to remove queue | |
| bool | haveEditor (QTextEdit *editor) |
| check if text editor is in highlighter thread | |
| void | setStop (bool stop) |
| Set whether or not highlight should be stopped. | |
Static Public Member Functions | |
| static HighlighterThread * | instance (SyntaxHighlighter *highlighter=0, QObject *parent=0) |
| returns the instance of the object, if no instance exists the functions creates an new instance. | |
|
|
add an text editor for highlightning
|
|
|
check if text editor is in highlighter thread
|
|
||||||||||||
|
returns the instance of the object, if no instance exists the functions creates an new instance.
|
|
|
add text editor to remove queue
|
|
|
implementation of the virutal run function in QThread
|
|
|
Set whether or not highlight should be stopped.
|
1.4.6-NO