Sentence:  The rector kept open house on that day, but by degrees <WSD>the “quality”</WSD> gave up going, and the fair, of course, became disreputable, till at last it was put down as a nuisance. 
Meaning of the word marked with <WSD> tags:  The upper class, the high society, the gentry; the people of quality.