Catalysis of the reaction: S-adenosyl-L-methionine + (histone H2A)-glutamine (position 104) = S-adenosyl-L-homocysteine + (histone H2A)-N5-methyl-glutamine (position 104). Note that this corresponds to Q105 in yeast.
histone-glutamine methyltransferase activity