QtOrganizer: reduce code duplication
authorMichael Krasnyk <michael.krasnyk@gmail.com>
Fri, 10 Jan 2014 13:00:55 +0000 (15:00 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 21 Jan 2014 11:30:56 +0000 (12:30 +0100)
commit0426096186590aee2e2620393f3a0b7fc09ec0e8
treec693db36234dcb2c41143f745c76e4cfcc888bb7
parente4f712372eb70d0ca4c6eb0eebfbdab4ed74f84e
QtOrganizer: reduce code duplication

inline modifier without static implies external linkage,
so an arbitrary realization of functions may be used
without a warning or error message (tested with gcc).
According to DRY principle, it is better to keep one realization.

Change-Id: Id67a71af0998603707c8c8608e7a9dcd881670f3
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
src/organizer/organizer.pro
src/organizer/qorganizercollectionid.cpp
src/organizer/qorganizeritemid.cpp
src/organizer/qorganizeritemid_p.h [new file with mode: 0644]