In addition to Rob's comments, we should eliminate the obvious lack of OO safety in KConfig and always explicitly set a group when accessing a key. My personal favorite way is a group(QString) function that returns a temporary KConfigGroup. In other words config->group("Some Group Name")->readEntry("Some Key");