//! [0] QCache cache; //! [0] //! [1] Employee *employee = new Employee; employee->setId(37); employee->setName("Richard Schmit"); ... cache.insert(employee->id(), employee); //! [1] //! [2] QCache cache(5000); //! [2]