UA has reciprocal interline with QF. QF can sell UA domestics in the US whilst UA can sell QF domestics. QF also provided UA with some ground services whilst they operated 747s but I'm not sure if they still do given they run 777's now.
AC is the same, QF sells AC LAX-Canada flights and vv. is also true.