Load multiple files from directory in memory
Using QFileDialog how can i
a) open multiple files from a given directory on the local hard disk?
- open dir – in that dir search for the following files: Tables.sql , Indexes.sql , Views.sql,…etc. Anyway, these are hardcoded. – if they not found -> error msg, else: – load every file in memory.
b) save every file to memory for later processing. I thought of QByteArray?
While i parse for example: Tables.sql, i will need for some tables also their indexes,..etc. SO i thought the best way would be to load files to ByteArrays.
Thanks in advanced