Programming with Qt, 2nd Edition by Matthias Kalle Dalheimer The following corrections were made to the 10/03 reprint: Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem {228} code example 10-1: The class declaration for the ISBNValidator class HAS BEEN CHANGED to the following: class ISBNValidator : public QValidator { public: ISBNValidator() : QValidator( 0 ) {}; virtual State validate( QString&, int& ) const; virtual void fixup( QString& ) const; }; {228} code example 10-1: Three instances of text[pos] HAVE BEEN CHANGED to text[pos-1] and pos >= text.length() HAS BEEN CHANGED to pos > text.length()