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

void Kconfigure::slotOutputMessages ( KProcess *  ,
char *  buffer,
int  buflen 
) [private, slot]

Output the exec output

Definition at line 390 of file kconfigure.cpp.

References logHtml, logOn, logString, streamLine, and view_main.

Referenced by init().

{

      for( int i = 0; i < buflen; i++ )
      {
            if( *buffer == '\n' )
            {
                  view_main->insertLine( streamLine );
                  if( logOn )
                  {
                        if( logHtml )
                              logString += streamLine + "<br>";
                        else
                              logString += streamLine + "\n";
                  }
                  view_main->setCursorPosition(view_main->numLines(),0);
                  streamLine = "";
            } else {
            streamLine += *buffer;
            }
            ++buffer;
      }

}


Generated by  Doxygen 1.6.0   Back to index