Logo Search packages:      
Sourcecode: kconfigure version File versions  Download package

void ConfigureWizard::addItem (  )  [private]

Add item from configure --help

Definition at line 110 of file configurewizard.cpp.

References mainOptions, and streamLine.

Referenced by slotOutputMessages().

{
      int start_pos;
      int finish_opt;

      if( streamLine.right(1) == ":" ) return;
      if( (start_pos = streamLine.find("--")) > -1 )
            {
            finish_opt = streamLine.find(" ", start_pos);

            (void) new QListViewItem( mainOptions, streamLine.mid( start_pos+2, finish_opt-2-start_pos ), "", ( streamLine.mid(finish_opt, streamLine.length()-finish_opt).stripWhiteSpace() ) );
            }
}


Generated by  Doxygen 1.6.0   Back to index