What you're looking at is incorporation under the 14th Amendment. This is not in effect, as yet, and was not addressed in Heller, as DC isn't a state. But it is coming, and sooner than you might think.
Today, on the steps of the US Supreme Court, after the reading of the Heller decision, the NRA announced it was going after the "copycat" DC ban in force in Chicago. This will put incorporaion to the fore, and *should* make the precedent in Heller binding on the states.
At that point, the laws you mentioned would be invalidated as un-Constitutional, and the clear language of Heller be the guidance...
the infowarrior
I downloaded the decision when it came out and just did a search. There's Eight References to the 14th Amendment. Page 46
Here's a link: DC v Heller (NOTE pdf)
And I just heard Mayor Daley of Chicago on the local radio. He was incoherent and his head almost exploded -- per the NRA his gun laws are next :-)