No, its just poeeible to do it the other way around im afraid. QT is a superset of what mel can dom so you cant move form more to less but the other way around is possible. To be honest you can do the same thing as QT editor does inside maya and turn that to mel tough, its just a bit aqua rd 2000 lines of more code that i dont have the time to write.