My understanding is that for Qtopia to associate a file type with an application, the application MUST have a .desktop file and have the correct MimeType entry in the desktop file. (have a look at the opera.desktop file for and example).
Don't know if this will allow you to do what you want to do however. You might try something like opie-sh
Stu