[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] QValidator's return values
From:       Pete Ware <ware () cis ! ohio-state ! edu>
Date:       2000-04-07 22:25:46
[Download RAW message or body]

In PyQt, QValidator.validate used to return a tuple:

        (state, text, length)

but with PyQt-0.11 it now seems to return:

        (state, length)

The old behaviour corresponds more to what Qt is expecting:

        State QValidator::validate ( QString &, int & )

--pete


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic