Lars Gullik BjÃnnes wrote: > | What about >> > | void QContentPane::doNotTrackScrollbar(bool no) > | { > | track_scrollbar_ = !no; > | } >> > | ;-) >> > | Seriously, what do you suggest? >> > | trackScrollbar(bool track)? > > track_on > > isTrack > > doTrack > > something that does not make a preference to the ... > ...what!?!... why is the function named doNotTrackScrollbar and in > addition to this take a arg?
that was a joke (there was a ";-)" and a "Seriously" after it). ... Summarizing: I need to set a bool with an accessor function. The bool means that we track or we don't track the scrollbar signals (thus it's name track_scrollbar_). As you are not ok with void trackScrollbar(bool) suggest a better naming (for the function and/or the argument). Alfredo