Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void ChatWidget::appendText(const QString& from, const QString& text)
- {
- QString html = "<p style=\"color:#204a87\">" + formatTimeStamp(QDateTime::currentDateTime()) + " " + from + ":""</p>" + text;
- ui->browser->append(html);
- }
Add Comment
Please, Sign In to add comment