Buildgraph: Factor out rule application.
authorChristian Kandeler <christian.kandeler@digia.com>
Wed, 24 Oct 2012 14:27:08 +0000 (16:27 +0200)
committerJoerg Bornemann <joerg.bornemann@digia.com>
Thu, 25 Oct 2012 10:37:34 +0000 (12:37 +0200)
commit828fdc818e4277040ab58668c9248e0367d55965
tree690b3b86f038be86900f2e089c7c4870f1af9c31
parentb30c0f6e47450b958cc810bbcf9851d5ab31aadf
Buildgraph: Factor out rule application.

Applying a rule involves calling a number of functions
in the build graph that are not used for any other purpose,
so make these member functions of a dedicated class.
Reduce the number of arguments of these functions by making
the common arguments members of that class.

Change-Id: Ic99a0127480366ce518246766b69c3c644d6ca9b
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
src/lib/buildgraph/automoc.cpp
src/lib/buildgraph/buildgraph.cpp
src/lib/buildgraph/buildgraph.h