Re: Re: We should not use leading underscores in identifiers….

Hi Peter

Yes in that case we can’t do much …. However, we should keep an eye for this in our code and weed out any such occurences, if any ;-) ( I haven’t come across any though ;-)
— cheers atul

Peter Dimov wrote:

Hi Atul, this piece of code comes from a moc_ file. These are generated by Qt’s moc (Meta Object Compiler) and make signals and slots work. So we don’t really have control over what is generated.

atul wrote:

As these are reserved for the library writers ;-)

int
Gnutella::Bootstrapping::PongHandler::qt_metacall( QMetaObject::Call _c,
int _id, void **_a )
{
_id = QObject::qt_metacall( _c, _id, _a );
if ( _id c instead of _c )

—- cheers atul

Would you like to post a relpy?


This post is a reply to:
Re: We should not use leading underscores in identifiers….
Hi Atul, this piece of code comes from a moc_ file. These are generated by Qt's moc (Meta Object Compiler) and make signals and slots work. So we don't really (more...)

No follow-ups yet.