Changed Q_SLOTS with slots