diff -r 62aa418ed214 -r 6fe3e922246e QTfrontend/ui/widget/chatwidget.h --- a/QTfrontend/ui/widget/chatwidget.h Fri Oct 21 04:11:26 2011 +0200 +++ b/QTfrontend/ui/widget/chatwidget.h Fri Oct 21 07:00:49 2011 +0200 @@ -26,7 +26,7 @@ #include #include -#include "SDLs.h" +#include "SDLInteraction.h" #include "SmartLineEdit.h" @@ -35,9 +35,8 @@ class QLineEdit; class QListWidget; class QSettings; -class SDLInteraction; -// this class is for custom nick sorting +/// This class is for custom nickname sorting class ListWidgetNickItem : public QListWidgetItem { public: @@ -58,7 +57,7 @@ Q_OBJECT public: - HWChatWidget(QWidget* parent, QSettings * gameSettings, SDLInteraction * sdli, bool notify); + HWChatWidget(QWidget* parent, QSettings * gameSettings, bool notify); void loadLists(const QString & nick); void saveLists(const QString & nick); void setShowReady(bool s); @@ -105,8 +104,7 @@ QAction * acIgnore; QAction * acFriend; QSettings * gameSettings; - SDLInteraction * sdli; - Mix_Chunk *sound[4]; + QString helloSound; bool notify; bool showReady;