[PyKDE] Question on passing Arguments while using Signals and Slots

Jacob Abraham jakieabraham at yahoo.com
Tue Feb 17 11:37:01 GMT 2004


Dear Tutors,
QObject.connect(self.table,SIGNAL("clicked(int,int,int,QPoint)"),self.tableclick)

This is the clicked Signal from the QTable module. 

I am trying to access their arguments using one of my
own funtions. How do I recieve these arguments
especially when one of the arguments is a class
instance.

These were some of my attempts.

def tableclick(self,a,b,c,d):
def tableclick(self,*args):
def tableclick(self,a,b,c,d,*args):
def tableclick(self,*args,**argv):

none of them works.

Thanks,
Jacob Abraham

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html




More information about the PyQt mailing list