diff -r 2a37a0e0892d -r 813ef4e8e385 QTfrontend/chatwidget.h --- a/QTfrontend/chatwidget.h Fri Jan 28 03:30:14 2011 +0100 +++ b/QTfrontend/chatwidget.h Sat Jan 29 01:08:39 2011 +0100 @@ -26,12 +26,21 @@ #include "SDLs.h" +class ListWidgetNickItem; class QTextBrowser; class QLineEdit; class QListWidget; class QSettings; class SDLInteraction; +// this class is for custom nick sorting +class ListWidgetNickItem : public QListWidgetItem +{ +public: + ListWidgetNickItem(const QString& nick); + bool operator<(const QListWidgetItem & other) const; +}; + class HWChatWidget : public QWidget { Q_OBJECT