Re: pyqtProperty type error

Sietse <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
I typed this message in nabble and used raw to get the code in, but it is not
showing!?
Here the snippets directly:

    devicesList = pyqtProperty(QVariant, getDevices, notify=devicesUpdated)
    servicesList = pyqtProperty(QVariant, getServices,
notify=servicesUpdated)

    def getDevices(self):
	return self.devices

    def getServices(self):
	return self.m_services

class DeviceInfo(QObject):
    deviceChanged = pyqtSignal()

class ServiceInfo(QObject):
    serviceChanged = pyqtSignal()





--
Sent from: http://python.6.x6.nabble.com/PyQt-f1792048.html
_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.