Module implementing a class to generate the output of the hg diff command.
None |
HgDiffGenerator | Class implementing the generation of output of the hg diff command. |
None |
Class implementing the generation of output of the hg diff command.
None |
None |
HgDiffGenerator | Constructor |
__extractFileName | Private method to extract the file name out of a file separator line. |
__finish | Private slot called when the process finished or the user pressed the button. |
__getVersionArg | Private method to get a hg revision argument for the given revision. |
__processFileLine | Private slot to process a line giving the old/new file. |
__processOutputLine | Private method to process the lines of output. |
__readStderr | Private slot to handle the readyReadStandardError signal. |
__readStdout | Private slot to handle the readyReadStandardOutput signal. |
getResult | Public method to return the result data. |
start | Public slot to start the hg diff command. |
stopProcess | Public slot to stop the diff process. |
None |
Constructor
Private method to extract the file name out of a file separator line.
Private slot called when the process finished or the user pressed the button.
Private method to get a hg revision argument for the given revision.
Private slot to process a line giving the old/new file.
Private method to process the lines of output.
Private slot to handle the readyReadStandardError signal.
It reads the error output of the process and inserts it into the error pane.
Private slot to handle the readyReadStandardOutput signal.
It reads the output of the process, formats it and inserts it into the contents pane.
Public method to return the result data.
Public slot to start the hg diff command.
Public slot to stop the diff process.