A new quinoline-based fluorescent probe for Cd(2+) and Hg(2+) with an opposite response in a 100% aqueous environment and live cell imaging.