QMODEM didn't connect to the Internet. It had no IP stack.
It could connect you to a machine that had Internet access. Some ISPs offered that as a service (you'd get some kind of BBS-like interface or - if you were lucky - a UNIX shell), but that's not the same thing.
QMODEM was essentially just a terminal emulator that used a serial port and understood how to control a modem.