QTfrontend/ui/widget/chatwidget.h
changeset 6200 6a4ace88d85a
parent 6197 4ce7c29799b9
child 6201 d88e7f6cf499
equal deleted inserted replaced
6199:582e85254110 6200:6a4ace88d85a
    35 class QTextBrowser;
    35 class QTextBrowser;
    36 class QLineEdit;
    36 class QLineEdit;
    37 class QListWidget;
    37 class QListWidget;
    38 class QSettings;
    38 class QSettings;
    39 
    39 
    40 /// This class is for custom nickname sorting
    40 /// Class for custom nickname sorting
    41 class ListWidgetNickItem : public QListWidgetItem
    41 class ListWidgetNickItem : public QListWidgetItem
    42 {
    42 {
    43 public:
    43 public:
    44   ListWidgetNickItem(const QString& nick, bool isFriend, bool isIgnored);
    44   ListWidgetNickItem(const QString& nick, bool isFriend, bool isIgnored);
    45   bool operator<(const QListWidgetItem & other) const;
    45   bool operator<(const QListWidgetItem & other) const;
    53   bool isIgnored;
    53   bool isIgnored;
    54 };
    54 };
    55 
    55 
    56 
    56 
    57 /**
    57 /**
    58  * @brief A chat widget.
    58  * @brief Chat widget.
    59  *
    59  *
    60  * By default uses :res/css/chat.css as style sheet for chat.
    60  * By default uses :res/css/chat.css as style sheet for chat.
    61  * See \repo{res/css/chat.css} for a more detailed description.
    61  * See \repo{res/css/chat.css} for a more detailed description.
    62  *
    62  *
    63  * @see http://doc.qt.nokia.com/4.5/richtext-html-subset.html#css-properties
    63  * @see http://doc.qt.nokia.com/4.5/richtext-html-subset.html#css-properties