From 32dafbe8a2aaf2230b55dfd0840f70ff7909b5e1 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Thu, 21 Apr 2011 09:30:16 +0200 Subject: Add qt/container usage to Qt example --- qt/README | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'qt/README') diff --git a/qt/README b/qt/README index 111a39b..978e8aa 100644 --- a/qt/README +++ b/qt/README @@ -8,10 +8,12 @@ employee.hxx Header file defining the 'employee' and 'employer' persistent classes. We use QSharedPointer/QWeakPointer smart pointers provided by Qt (as well as their lazy versions provided by the Qt profile library) to - establish a bidirectional employee-employer relationship. We also use - the QDateTime type to store the employee's date of birth and QString - to store the employee's first and last name. Finally we use QByteArray - to store the person's public key. + establish a bidirectional employee-employer relationship. The QList + type is used to store the collection of employees employed by the + employer. We also use the QDateTime type to store the employee's date + of birth and QString to store the employee's first and last name. A + QSet instance keeps track of the employee's email addresses. Finally + we use QByteArray to store the person's public key. employee-odb.hxx employee-odb.ixx -- cgit v1.1