First try to change PsiEvent to QSharedPointers