Hello Jules,
I believe TextInputTarget::getKeyboardType() should be declared const.
Hello Jules,
I believe TextInputTarget::getKeyboardType() should be declared const.
No, it shouldn't.
It's a virtual method, so I don't know what people will need to do in that method in their subclasses. Maybe someone will need to use some non-const behaviour in there - it'd be wrong for me to prevent that by making the base class method const.
OK, you win! :)