It is my understanding that file association takes precedence. If you have, say for example, associated PDF with Qpdfview, opening a .pdf file either from your /home folder, any removable disk, anywhere on the Internet would be viewed on Qpdfview unless a specific setting overrides the file association.