QTfrontend/ui/widget/chatwidget.h
changeset 6929 c305d31642ac
parent 6928 9562ace15141
child 6952 7f70f37bbf08
equal deleted inserted replaced
6928:9562ace15141 6929:c305d31642ac
    70 
    70 
    71     public:
    71     public:
    72         HWChatWidget(QWidget* parent, QSettings * gameSettings, bool notify);
    72         HWChatWidget(QWidget* parent, QSettings * gameSettings, bool notify);
    73         void loadLists(const QString & nick);
    73         void loadLists(const QString & nick);
    74         void saveLists(const QString & nick);
    74         void saveLists(const QString & nick);
       
    75         void setIgnoreListKick(bool enabled); ///< automatically kick people on ignore list (if possible)
    75         void setShowReady(bool s);
    76         void setShowReady(bool s);
    76         void setShowFollow(bool enabled);
    77         void setShowFollow(bool enabled);
    77         QStringList ignoreList, friendsList;
    78         QStringList ignoreList, friendsList;
    78         static const QString & styleSheet();
    79         static const QString & styleSheet();
    79         void displayError(const QString & message);
    80         void displayError(const QString & message);
   141         QString m_userNick;
   142         QString m_userNick;
   142         QString m_clickedNick;
   143         QString m_clickedNick;
   143         QList<QRegExp> m_highlights; ///< regular expressions used for highlighting
   144         QList<QRegExp> m_highlights; ///< regular expressions used for highlighting
   144         bool notify;
   145         bool notify;
   145         bool showReady;
   146         bool showReady;
       
   147         bool m_autoKickEnabled;
   146 
   148 
   147     private slots:
   149     private slots:
   148         void returnPressed();
   150         void returnPressed();
   149         void onBan();
   151         void onBan();
   150         void onKick();
   152         void onKick();