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

        if self._multiline: return str(self._widget.toPlainText())
        else:               return str(self._widget.text())