You can't. "Longhorn hasn't been released yet, hasn't been marketed yet, and hasn't been advertised as "Longhorn" yet. As long as it stays an internal code name there's no basis for a lawsuit.
What about Longhorn Beer?
Does Longhorn beer have a trademark on "Longhorn" when used as in software applications? Trademarks are specific to product categories. That's why Apple can sell computers, but not release songs under the Apple label as "Apple" is trademarked to Apple Corp (the old Beatles organization) when used in music applications.
Wasn't there a lawsuit over that as well?
Apple lost IIRC
Neither does Tiger Direct have a trademark on "Tiger" for operating systems.