##// END OF EJS Templates
added missing parenthesis...
added missing parenthesis git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@188 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r10:21d959e02207
r150:aaf00f610021
Show More
example.py
14 lines | 282 B | text/x-python | PythonLexer
florianlink
syncing with my current work, updating to 1.2, see changelog...
r10 from PythonQt import CustomObject
ezust
reorganized SVN tree into branches, tags and trunk...
r0
# create a new object
custom = CustomObject("John","Doe")
# print the methods available
print dir(custom)
# set a name
custom.setFirstName("Mike")
custom.setLastName("Michels")
# get the name
print custom.firstName() + " " + custom.lastName();