Renamed a variable called "slots" to avoid confusion in Qt creator.