Dragging and dropping the app to the Trash only removes the shortcut. If you've mistakenly uninstalled an app or deleted a crucial file and emptied it from Trash, don't despair, you still have a great chance to recover Mac deleted file from Trash.
Delete app or file by mistake? Look here! To completely uninstall a program, the necessary thing to do is emptying the trash can or Bin.