QString methodname = QString(method.signature()).section("(", 0, 0);
// determine where we have to chop:
QString methodname = QString(method.signature()).section("(", 0, 0);
// determine where we have to chop:
if(method.methodType() == QMetaMethod::Slot) {
// we take evertyhing from the first uppercase char if it's slot
if(method.methodType() == QMetaMethod::Slot) {
// we take evertyhing from the first uppercase char if it's slot