Hi Oliver,

the indentation of "slotFile" looks incorrect to me. You define that function inside 
the __init__ function, not in the class block.
Or, if you want it defined there, do not use "self" with slotFile (because it is not a 
class member function then).

- Soeren


> class MyWidget(QWidget):
>      def __init__(self,parent=None,name=None):
>                def slotFile(self):
>                     #do something



_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to