Add missing lineedit method for ancient Qt versions