<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_to_url(self, text):

 """Convert text address into QUrl object"""

        if text.startswith('/'):
            text = text[1:]
        return QUrl(self.home_url.toString()+text+'.html')