All pastes #423319 Raw Edit

Unnamed

public python v1 · immutable
·published 2007-04-04 01:53 UTC
rendered paste body
from PyQt4 import QtCorefrom PyQt4 import QtGui# This worksi = QtGui.QIcon()qi = QtCore.QVariant(i)# This throws TypeError: argument 1 of QVariant() has invalid typeclass C:	def __init__(self, v):		self.value = vx = C(100)qx = QtCore.QVariant(x)