[Qt-interest] QLineEdit - textChanged signal - determine old value

Ender EREL erelender at yahoo.com
Mon Sep 14 16:44:39 CEST 2009


Yeah, that seems right if you want to discard the old value when setText 
is called. This way you won't be able to retrieve the old value when 
setText is called, but i assume this is what you intended to do anyway.

You might wanna add a getOldText() method, just in case you need it later.

Other than these, i think the code is right.

Best Regards.

-- 
Ender EREL



More information about the Qt-interest-old mailing list