View Single Post
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#23
Originally Posted by attila77 View Post
self.connect(self.myButton, QtCore.SIGNAL("clicked()"), self.clickFoo)

(obviously the exact object names will differ, but you get the idea)
meh ok maybe i needed more, as that doesnt explain where the function name is that i am calling..... which is where i am getting confused....

That starts a signal...?!(i think?)
I then need to figure out how to catch that and run a function?! lol

or is that the self.clickFoo part? (if the function is not part of the same class is it just clickFoo? )

(Or is it just me being confuzzled?)
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -