Gainfully has 2 different meanings across 1 category:
Adverb
in a gainful way
"are you gainfully employed now?"
In a gainful manner; profitably.