When you have created a server query login from this tutorial: Create Serverquery Login then you can follow now this instruction:
Click on "Settings" -> "Teamspeak Server Settings".
Now you can enter the data.
In "Query Port" give the TeamSpeak Query port in, if you do not know which port it is, please ask your provider for this.
In "Query Login"
and "Query password"
please type the query user name and password what you have created by yourself on this tutorial: Create Serverquery Login
If you sure all things are right press on "Save all settings"
Now the Query and the Client should connect to your Teamspeak and your done.