QTfrontend/chatwidget.h
changeset 4876 813ef4e8e385
parent 2847 cde320fd3122
child 4884 b2006a9f0fbc
equal deleted inserted replaced
4875:2a37a0e0892d 4876:813ef4e8e385
    24 #include <QString>
    24 #include <QString>
    25 #include <QGridLayout>
    25 #include <QGridLayout>
    26 
    26 
    27 #include "SDLs.h"
    27 #include "SDLs.h"
    28 
    28 
       
    29 class ListWidgetNickItem;
    29 class QTextBrowser;
    30 class QTextBrowser;
    30 class QLineEdit;
    31 class QLineEdit;
    31 class QListWidget;
    32 class QListWidget;
    32 class QSettings;
    33 class QSettings;
    33 class SDLInteraction;
    34 class SDLInteraction;
       
    35 
       
    36 // this class is for custom nick sorting
       
    37 class ListWidgetNickItem : public QListWidgetItem
       
    38 {
       
    39 public:
       
    40   ListWidgetNickItem(const QString& nick);
       
    41   bool operator<(const QListWidgetItem & other) const;
       
    42 };
    34 
    43 
    35 class HWChatWidget : public QWidget
    44 class HWChatWidget : public QWidget
    36 {
    45 {
    37   Q_OBJECT
    46   Q_OBJECT
    38 
    47