On Sun, 26 Oct 2003 k_sapre@softhome.net wrote:
~ ~ char* file(char *a) ~ ~ The argument to this function , I want to be text of QLineEdit widget ~ ~ when i write ~ Table4->setText(rows,0, file(LineEdit1->text().latin1())); ~ ~ & compile it gives error ~ invalid conversion from `const char*' to `char*'
~ char* file(char *a)
to: char* file(const char *a) is one option. But why dont you stick with QFile. That way you get the benefit of other Qt classes[Networking/XML etc] too.