vlc_linux/vlc-3.0.16/modules/gui/qt/input_manager.cpp
/* Ensure arbitratry (not dynamically allocated) event IDs are not in use */
Ensure arbitratry (not dynamically allocated) event IDs are not in use
Ensure arbitratry ( not dynamically allocated ) event IDs are not in use
static inline void registerAndCheckEventIds( int start, int end )
{
    for ( int i=start ; i<=end ; i++ )
        Q_ASSERT( QEvent::registerEventType( i ) == i ); 
}
static inline void registerAndCheckEventIds ( int start , int end ) { for ( int i = start ; i <= end ; i ++ ) Q_ASSERT ( QEvent :: registerEventType ( i ) == i ) ; }
Ensure arbitratry (not dynamically allocated) event IDs are not in use
Ensure arbitratry ( not dynamically allocated ) event IDs are not in use
/* event ID collision ! */