Generalized connected domination in graphs