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; |
462 |
462 |
463 if (isHighlight) |
463 if (isHighlight) |
464 { |
464 { |
465 line = QString("<span class=\"highlight\">%1</span>").arg(line); |
465 line = QString("<span class=\"highlight\">%1</span>").arg(line); |
466 SDLInteraction::instance().playSoundFile(m_hilightSound); |
466 SDLInteraction::instance().playSoundFile(m_hilightSound); |
|
467 HWApplication::alert(this, 800); |
467 } |
468 } |
468 |
469 |
469 chatStrings.append(line); |
470 chatStrings.append(line); |
470 |
471 |
471 chatText->setHtml("<html><body>"+chatStrings.join("<br>")+"</body></html>"); |
472 chatText->setHtml("<html><body>"+chatStrings.join("<br>")+"</body></html>"); |