Translations:Development/Tutorials/Saving and loading/24/en

From KDE TechBase
Warning
This simple example simply clears the text area without checking if the file has been saved first. It's only meant as a demonstration of file I/O and not as an example of best programming practices.