summaryrefslogtreecommitdiffstats
path: root/.qmake.conf
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-02-10 12:14:11 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-13 14:28:04 +0100
commit1f17c9b3307b2ec409b3db22e8bd45fc623ae0cd (patch)
tree1201d8da14aee4f9868788ddfe0b5115dbf29fb8 /.qmake.conf
parent71edccabd4c359eb1ac9d6f6c3220b0d308f3a7b (diff)
Refactor the way callbacks are stored
With the upcoming addition of a new type of callback result, this patch allows storing multiple callback types in the same QHash instead or requiring a different hash table just to please the type system. This does so by managing the ref-counted callback pointers directly instead of relying on a templated QExplicitlySharedDataPointer that requires a different type for each different callback pointer type. The ref-counting, construction and destruction is managed through a run-time type enum. Change-Id: I90ab2e1efc0c9703fc5b6ef57b38204ac8eea828 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions