First let me add some in formation for future setups:
- MBR can support more then four partitions. Just not four primary partitions. Instead you can use the empty MBR record to set up an extended partions and create logical partitions in that.
- I am pretty sure I have setup slackware in the past using logical partitions. (even for root and swap).
Thus if you manage to recover your windows installation than you can still trivially add a slackware installation.
Before converting to GPT alway make sure your have a system capable of booting from that. Usually this requires:
- an EFI firmware, or
- an advanced BIOS firmware which understands GPT
- And an EFI system partition (which is what actually gets booted)
With that background out of the way, lets continue to the rescue part.
If you do not have up to date backups then stop right now. You want to have backups before doing any more write actions to the disk. Which means making a copy of the disk. This is usually done by taking out the disk, adding it to another computer or external USB to SATA case and using something like dd. If you have a second system on the network you can also boot from a live CD and combine dd with gzip and netcat. How to do that is well described in several posts here on [SU].
If you do have a backup then just restore that. Safest, easiest way.
If you do have a backup and like to skip as much work as possible, with the risk of leaving something strange whioch might cause problems in the future: try some rescuing software while booted from a live CD or live USB.
(Leaving specific product recommendations out of the post since a search on recover mbr partition table
yields plenty of answers.)