| 942 | } |
| 943 | |
| 944 | void RPCConsole::message(int category, const QString &message, bool html) |
| 945 | { |
| 946 | QTime time = QTime::currentTime(); |
| 947 | QString timeString = time.toString(); |
| 948 | QString out; |
| 949 | out += "<table><tr><td class=\"time\" width=\"65\">" + timeString + "</td>"; |
| 950 | out += "<td class=\"icon\" width=\"32\"><img src=\"" + categoryClass(category) + "\"></td>"; |
| 951 | out += "<td class=\"message " + categoryClass(category) + "\" valign=\"middle\">"; |
| 952 | if(html) |
| 953 | out += message; |
| 954 | else |
| 955 | out += GUIUtil::HtmlEscape(message, false); |
| 956 | out += "</td></tr></table>"; |
| 957 | ui->messagesWidget->append(out); |
| 958 | } |
| 959 | |
| 960 | void RPCConsole::updateNetworkState() |
| 961 | { |
nothing calls this directly
no test coverage detected