To a function I want to pass a parameter to be used with QTextDocument.find, either QTextDocument.FindCaseSensitively or zero.
When I literally pass QTextDocument.FindCaseSensitively the function receives an object of type PyQt4.QtGui FindFlags. When I pass zero, it gets, no surprise, an int 0. I would like to pass a flag value of 0 and have it come in as the same type, but I can't find any appropriate class name to use. The class QFlags is mentioned frequently in the QtAssistant writeups but QFlags is not listed at riverbank's PyQt4 class reference. (Well, actually, QFlags does appear under e.g. the QDateTimeEdit class writeup but clicking it gets a 404 error.) How can I create a null FindFlag value? Thanks, Dave Cortesi _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt