diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-04-21 09:30:16 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-04-22 18:45:40 +0200 |
commit | 32dafbe8a2aaf2230b55dfd0840f70ff7909b5e1 (patch) | |
tree | ff6fe0d4ccbfedbddad4b8e4b5bc08c63c45d2cb /qt/README | |
parent | 25c332e53064af13c9f119df6bcc2c3847d93695 (diff) |
Add qt/container usage to Qt example
Diffstat (limited to 'qt/README')
-rw-r--r-- | qt/README | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 |