Nikolay Davydenko defeated the world's top two players en route to winning the Qatar Open title.