[Qt-interest] Multiple Objects all having the Same name

Andre Somers andre at familiesomers.nl
Wed Feb 15 07:32:38 CET 2012


Op 14-2-2012 21:30, Michael Jackson schreef:
> Is it a "Bad Idea" to have multiple objects all have the same Object Name? I am writing some code and trying to solve a problem where the easiest solution would be to have some of my GUI widgets all have the same Object Name. But I am thinking this is a "really bad" idea.
>
>   Feedback/thoughts would be great.
>
AFAIK, QObject objectNames do not need to be unique. So, I don't see a 
real problem with this approach. There might be a nicer one, however. 
What do you want to achieve?

André




More information about the Qt-interest-old mailing list