Logo Search packages:      
Sourcecode: kdegames version File versions

KGameIO * KPlayer::findRttiIO ( int  rtti  )  const

Finds the KGameIO devies with the given rtti code. E.g. find the mouse or network device

rtti the rtti code to be searched for
the KGameIO device

Definition at line 259 of file kplayer.cpp.

Referenced by hasRtti().

  QPtrListIterator<KGameIO> it(mInputList);
  while (it.current())
    if (it.current()->rtti() == rtti)
      return it.current();
  return 0;

Generated by  Doxygen 1.6.0   Back to index