Qualification for city elections ends