The edit box was using the lines changed signal to notify the program model instance when lines changed in the document that included the starting line number, the number of lines deleted and the number of lines inserted and the text of the lines. The program model update slot routine was connected to and processed this signal. Since the edit box can access the program model directly, this signal is not needed. The tester class is already accessing this routine directly.
The lines changed signal was removed and the two emits of this signal were changed to calling the update routine directly. The update routine was changed from a public slot to a normal public member function in the program model class. A few comments were added and word 'slot' was added to the comments of all the slot functions so that these would be easier to identify.
[commit c864bdde07]
Saturday, December 14, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
All comments and feedback welcomed, whether positive or negative.
(Anonymous comments are allowed, but comments with URL links or unrelated comments will be removed.)