You can keep an internal QString storing the value whenever the text
changes. You can use that value to get the last text.
void textChanged(const QString& newText)
{
if(myOldText != newText)
{//Do Stuff
}
myOldText = newText;
return;
}
--
Ender EREL