VA 770 then QF 2806 at Brisbane
Cairns → Brisbane → Moranbah
Timetable, Brisbane time
08:20VA 770 from Cairns at the gate
05:10QF 2806 to Moranbah leaves the gate
20 h 50 apart on the timetable, overnight
QF 2806 leaves 20 h 50 after VA 770 arrives on the timetable: more than half a day, so not a connection we count.