Hi, does somebody know why QVariant.to* returns tuples when asking for simple datatypes, like int and double?
AFAICS it returns the value and wether the conversion was successful, is this intended behaviour? Documented somewhere? Should I always use variant.toInt()[0] to get to the int? To me it seems a bit inconsistent, some of the to* functions return only the data, some return a tuple and it's definitely not like Qt itself handles the to* functions. Andreas -- You will be winged by an anti-aircraft battery. _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
