QTfrontend/ui/widget/chatwidget.h
changeset 6182 d56d18802481
parent 6180 0992fc5a4ad9
child 6185 a6aa2d44f390
equal deleted inserted replaced
6181:c739b503ae31 6182:d56d18802481
    74 
    74 
    75   void loadList(QStringList & list, const QString & file);
    75   void loadList(QStringList & list, const QString & file);
    76   void saveList(QStringList & list, const QString & file);
    76   void saveList(QStringList & list, const QString & file);
    77   void updateNickItem(QListWidgetItem *item);
    77   void updateNickItem(QListWidgetItem *item);
    78   void updateNickItems();
    78   void updateNickItems();
    79   void addLine(const QString & cssClass, QString line);
    79   void addLine(const QString & cssClass, QString line, bool isHighlight = false);
    80   static const QRegExp URLREGEXP;
    80   static const QRegExp URLREGEXP;
    81 
    81 
    82  public slots:
    82  public slots:
    83   void onChatString(const QString& str);
    83   void onChatString(const QString& str);
    84   void onChatString(const QString& nick, const QString& str);
    84   void onChatString(const QString& nick, const QString& str);
   108   QAction * acBan;
   108   QAction * acBan;
   109   QAction * acFollow;
   109   QAction * acFollow;
   110   QAction * acIgnore;
   110   QAction * acIgnore;
   111   QAction * acFriend;
   111   QAction * acFriend;
   112   QSettings * gameSettings;
   112   QSettings * gameSettings;
   113   QString helloSound;
   113   QString m_helloSound;
       
   114   QString m_hilightSound;
       
   115   QString m_userNick;
   114   bool notify;
   116   bool notify;
   115   bool showReady;
   117   bool showReady;
   116 
   118 
   117  private slots:
   119  private slots:
   118   void returnPressed();
   120   void returnPressed();