find return type of method using typeid

closed account (j6v0pfjN)
Hi All,
I want to get the method return type.
I'm getting it through typeid .
typeid( method1( "sample" ) ).name();

But the argument for method1 is a QString.
But without passing argument as "sample" i want to get the return type is it possible?

Topic archived. No new replies allowed.