Thanks, please forget all that has gone before, QTextStreams, QTextEdit widgets, Undos, redos, my rantings and ravings etc.
All I need is the code to put in my program for a user to be able to change the word "sunny" to "raining" in the QString k. "It is sunny today".
In Qt3 where "myTextEdit" is an instance of the QTextEdit widget.
"myTextEdit->setText( k );"
"k = myTextEdit->text();".
Please, what is the code to do that in Qt4? (Text in, text out.)
Bookmarks