[PATCH] Add dive list view to main window

Lubomir I. Ivanov neolit123 at gmail.com
Thu Apr 11 09:50:37 PDT 2013


On 11 April 2013 19:43, Henrik Brautaset Aronsen <henrik at synth.no> wrote:
>
> Den 11. apr. 2013 18:27 skrev "Lubomir I. Ivanov" <neolit123 at gmail.com>
> følgende:
>
>
>> > +DiveItem::DiveItem(int num, QString dt, float dur, float dep, QString
>> > loc, DiveItem *p):
>> > +    m_number(num), m_dateTime(dt), m_duration(dur), m_depth(dep),
>> > m_location(loc), m_parent(p)
>> in another thread i pointed out that m_name or m_Name for members is
>> not preferable over mName. perhaps others could comment here as well.
>
> Just out of curiosity: what's that m prefix for?
>

some C++ programmers prefix their class members with 'm' or '_'.
this thread gives some more examples:
http://stackoverflow.com/questions/1228161/why-use-prefixes-on-member-variables-in-c-classes

lubomir
--


More information about the subsurface mailing list