On Sun, 18 Oct 2009 11:32:11 -0500 Anthony Liguori <anth...@codemonkey.ws> wrote:
> Luiz Capitulino wrote: > > Okay, I just took a quick look at them and am looking at Anthony's > > right now. > > > > Anyway, my brainstorm on this would be to have to_string() and have > > default methods on all types to return a simple string representation. > > > > What's the value of integrating into the objects verses having a > separate function that can apply it to the objects? Right now it doesn't have any real value, besides being a different style which seems to fit well with the QObject design. In the future it might be needed though, common code might want to change certain methods' behavior before passing QObjects down a call stack.