finally i have done it, putting up for someone else's help:
what i did is i overridden operator= and created costructor _File(const _File&) and this solved my problem now i can assign other class's values to my _File class
i can do
_File f=_File("qtforum.txt");
thanks for replies guys
Bookmarks