[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] specifying method arguments in _ui.h files
From:       "Miller, Douglas" <dmiller () jfti ! com>
Date:       2002-10-01 23:02:27
[Download RAW message or body]

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


_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic