1 2 3 4 5 6 7 8 9 10 11 12 13
#include "a/classa.h" #include "b/classb.h" int main(int argc, char** argv) { ClassA a; a.slotDoSomething(); ClassB b; b.slotDoSomething(); return 0; }