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

void NetworkWindow::addLogEntry ( int  priority,
const QString &  msg 
) [slot]

Adds an entry to the log. This is a text message, formatted like QTextEdit expects in LogText mode. The log will add date/time info to it, the rest is up to you. Lines will not be broken unless you do so explicitly.

priority An integer representing the importance of a message. any integer is valid, but I recommend -10 to +10, where 0 is the 'standard' log setting, and 10 are messages that you shouldn't be able to hide ever.
msg The message. Please i18n it before giving it to us.

Definition at line 92 of file networkwindow.cpp.


Generated by  Doxygen 1.6.0   Back to index