src/eric7/Plugins/VcsPlugins/vcsGit/GitDiffGenerator.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10438
4cd7e5a8b3cf
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
6 """ 6 """
7 Module implementing a class to generate the output of the git diff command 7 Module implementing a class to generate the output of the git diff command
8 process. 8 process.
9 """ 9 """
10 10
11 from PyQt6.QtCore import QObject, QProcess, QTimer, pyqtSignal 11 from PyQt6.QtCore import QObject, QProcess, QTimer, pyqtSignal, pyqtSlot
12 12
13 from eric7 import Preferences 13 from eric7 import Preferences
14 from eric7.EricGui.EricOverrideCursor import EricOverrideCursorProcess 14 from eric7.EricGui.EricOverrideCursor import EricOverrideCursorProcess
15 15
16 16
159 if not procStarted: 159 if not procStarted:
160 return False 160 return False
161 161
162 return True 162 return True
163 163
164 @pyqtSlot(int, QProcess.ExitStatus)
164 def __procFinished(self, exitCode, exitStatus): 165 def __procFinished(self, exitCode, exitStatus):
165 """ 166 """
166 Private slot connected to the finished signal. 167 Private slot connected to the finished signal.
167 168
168 @param exitCode exit code of the process (integer) 169 @param exitCode exit code of the process (integer)

eric ide

mercurial