How encrypt text/textstream instead of file with KGpg?

I’m trying to use gpg to encrypt some text but so far I’ve only been able to find a way to encrypt files. How do I encrypt a textstream?