Replaced std::queue with QQueue in security manager.