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 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:
We should not use leading underscores in identifiers….
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 (more...)

Follow-ups:
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 ;-) (more...)