PDA

View Full Version : How to store the lineedit contents in memory



grsandeep85
3rd August 2009, 12:21
Hi,

I will input some data into the lineedit then i need to store these data into memory and whenever i overwrite the data again it should store in same memory how to do this.

yogeshgokul
3rd August 2009, 12:24
Hi,
I will input some data into the lineedit then i need to store these data into memory and whenever i overwrite the data again it should store in same memory how to do this.
Use QSettings for this. I am assuming writing into memory implied writing on disk here.

grsandeep85
3rd August 2009, 13:10
Even if i switch off and switch on the cpu when i run my qt-application then also i need to read the same data in lineedits which i have entered last before the switch off, now Qsettings will be helpful or i need to go for file operations.

yogeshgokul
3rd August 2009, 13:11
Go ahead with QSettings:cool:

grsandeep85
3rd August 2009, 13:16
Thanks yogesh