[PyKDE] specifying method arguments in _ui.h files

Miller, Douglas dmiller at JFTI.com
Wed Oct 2 01:05:01 BST 2002


What is the proper way to specify method arguments in _ui.h files so pyuic
can extract it?

example _ui.h method:

void DialogCalc::add(int,int,int) //is this what should be done or is it
even possible to specify parameters there?
{
.....
}

when I tried this pyuic discards it and it never ends up in the .py file

when I have a method with one argument such as:

void DialogCalc::print(int)
{
...
}

it appears this way in the .py file

def print(self, a0): #a0 is the int passed in
.....



Thanks

Douglas K. Miller





More information about the PyQt mailing list