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

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

Output the messages error

Definition at line 365 of file kconfigure.cpp.

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

Referenced by init().

{
      for( int i = 0; i < buflen; i++ )
      {
            if( *buffer == '\n' )
            {
                  view_errors->insertLine( streamLine );
                  view_errors->setCursorPosition(view_errors->numLines(),0);
                  if( logOn )
                  {
                        if( logHtml )
                              logString += "<font color=#b84747>" + streamLine + "</font><br>";
                        else
                              logString += "|WW| " + streamLine + "\n";
                  }
                  streamLine = "";
            } else {
                  streamLine += *buffer;
            }
            ++buffer;
      }

}


Generated by  Doxygen 1.6.0   Back to index