equal
deleted
inserted
replaced
35 |
35 |
36 #include "DataManager.h" |
36 #include "DataManager.h" |
37 #include "hwconsts.h" |
37 #include "hwconsts.h" |
38 #include "gameuiconfig.h" |
38 #include "gameuiconfig.h" |
39 #include "playerslistmodel.h" |
39 #include "playerslistmodel.h" |
40 |
40 #include "HWApplication.h" |
41 #include "chatwidget.h" |
41 #include "chatwidget.h" |
42 |
42 |
43 |
43 |
44 QString * HWChatWidget::s_styleSheet = NULL; |
44 QString * HWChatWidget::s_styleSheet = NULL; |
45 QStringList * HWChatWidget::s_displayNone = NULL; |
45 QStringList * HWChatWidget::s_displayNone = NULL; |
447 |
447 |
448 if (isHighlight) |
448 if (isHighlight) |
449 { |
449 { |
450 line = QString("<span class=\"highlight\">%1</span>").arg(line); |
450 line = QString("<span class=\"highlight\">%1</span>").arg(line); |
451 SDLInteraction::instance().playSoundFile(m_hilightSound); |
451 SDLInteraction::instance().playSoundFile(m_hilightSound); |
|
452 HWApplication::alert(this, 800); |
452 } |
453 } |
453 |
454 |
454 chatStrings.append(line); |
455 chatStrings.append(line); |
455 |
456 |
456 chatText->setHtml("<html><body>"+chatStrings.join("<br>")+"</body></html>"); |
457 chatText->setHtml("<html><body>"+chatStrings.join("<br>")+"</body></html>"); |