added createPrimitive() signals and slots