I do not really understand what you mean but maybe the solution is QObject::sender ?