Replymessage unavailable
@Slot(str, str, str, result=None)
result parameter is the return type
other positional arguments are the data types of the arguments that will be used to typecast the data from qml when the slot is called
Suppose you want to call this slot from qml :
// lets say myFunc returns an integer
x = myFunc("testStr", 123);
The respective slot annotation(or decorator if you wish to call it that) should be like this
@Slot(str, int, result=int)
def myFunc(self, arg1, arg2):
# Here arg1 is "testStr"
# And arg2 is 123
return 3.141