Changes: moved all displayLabel generator code into separate files displaylabelgenera...
authorFriedrich W. H. Kossebau <friedrich@openismus.com>
Thu, 7 Oct 2010 15:02:40 +0000 (17:02 +0200)
committerFriedrich W. H. Kossebau <friedrich@openismus.com>
Thu, 7 Oct 2010 15:02:40 +0000 (17:02 +0200)
commit21bc5f5fa6f61895600c22c4a905c64d521f8223
treeab4ec49f6b0b25da1fc52a0e7841e75680b36303
parent4dd714a7149e4ac682c46e8d24d8fb19db42ffb8
Changes: moved all displayLabel generator code into separate files displaylabelgenerator.{h,cpp}

RevBy: people-review

Details:
turned "typedef QExplicitlySharedDataPointer<AbstractDisplayNameGenerator> DisplayNameGenerator" into
extra wrapper class with QExplicitlySharedDataPointer<AbstractDisplayNameGenerator> as data member.
Hide different specialisations behind static factory methods.

engine still has two separate generator lists for both nameorders,
but actual generators are explicitely shared, only those using the person name are different.
src/engine/displaylabelgenerator.cpp [new file with mode: 0644]
src/engine/displaylabelgenerator.h [new file with mode: 0644]
src/engine/engine.cpp
src/engine/engine.pro
src/engine/engine_p.h