I completely understood what you mean but what i am trying to do is: later on somewhere in code,
i try doing this:

QVector<_File> vecFile;

...
...

vecFile=_File("sample.txt");
...
...


this is exactly where problem is, it says copy constructor is private and also can't use = operator because it is private as well. How would i write my copy constructor in way so it can be initiated as mentioned above?

Thanks for reply