Revert "Let QNMac extends QObject."

This reverts commit fdb5e7b24e6b2a100db7dab6e7695a9c25e0f2bf.