equal
deleted
inserted
replaced
21 |
21 |
22 #include <QWidget> |
22 #include <QWidget> |
23 #include <QListWidget> |
23 #include <QListWidget> |
24 #include <QString> |
24 #include <QString> |
25 #include <QGridLayout> |
25 #include <QGridLayout> |
|
26 #include <QRegExp> |
26 |
27 |
27 #include "SDLs.h" |
28 #include "SDLs.h" |
28 |
29 |
29 class ListWidgetNickItem; |
30 class ListWidgetNickItem; |
30 class QTextBrowser; |
31 class QTextBrowser; |
64 private: |
65 private: |
65 void loadList(QStringList & list, const QString & file); |
66 void loadList(QStringList & list, const QString & file); |
66 void saveList(QStringList & list, const QString & file); |
67 void saveList(QStringList & list, const QString & file); |
67 void updateNickItem(QListWidgetItem *item); |
68 void updateNickItem(QListWidgetItem *item); |
68 void updateNickItems(); |
69 void updateNickItems(); |
|
70 static const QRegExp URLREGEXP; |
69 |
71 |
70 public slots: |
72 public slots: |
71 void onChatString(const QString& str); |
73 void onChatString(const QString& str); |
72 void onChatString(const QString& nick, const QString& str); |
74 void onChatString(const QString& nick, const QString& str); |
73 void onServerMessage(const QString& str); |
75 void onServerMessage(const QString& str); |