`qApp` when it's a normal method of the `QApplication` object, `QApplication::` when it's a static method. `QCoreApplication::instance()` is a longer way of writing `qApp` so is not necessary.