<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def text_has_changed(self, text):

 """Line edit's text has changed"""

        text = to_text_string(text)
        if text:
            self.lineno = int(text)
        else:
            self.lineno = None