![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <QEvent>#include <QLineEdit>#include <QTextBrowser>#include "listener.h"#include "widgets/decorations.h"
Include dependency graph for chatline.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | chat_listener |
| class | chat_input |
| class | text_browser_dblclck |
| class | chat_widget |
Functions | |
| void | set_chat_colors (const QHash< QString, QString > &colors) |
| Sets color substitution map. More... | |
| QString | apply_tags (QString str, const struct text_tag_list *tags, QColor bg_color) |
| Applies tags to text. More... | |
| void | real_output_window_append (const QString &astring, const text_tag_list *tags) |
| Appends the string to the chat output window. More... | |
| void | version_message (const QString &vertext) |
| Got version message from metaserver. More... | |
| QString apply_tags | ( | QString | str, |
| const struct text_tag_list * | tags, | ||
| QColor | bg_color | ||
| ) |
Applies tags to text.
Definition at line 710 of file chatline.cpp.
Referenced by chat_widget::chat_message_received(), and page_pregame::chat_message_received().
| void real_output_window_append | ( | const QString & | astring, |
| const text_tag_list * | tags | ||
| ) |
Appends the string to the chat output window.
The string should be inserted on its own line, although it will have no newline.
Definition at line 881 of file chatline.cpp.
Referenced by fc_client::fc_main(), output_window_append(), output_window_event(), and real_luaconsole_append().
| void set_chat_colors | ( | const QHash< QString, QString > & | colors | ) |
Sets color substitution map.
Definition at line 61 of file chatline.cpp.
| void version_message | ( | const QString & | vertext | ) |
Got version message from metaserver.
Definition at line 897 of file chatline.cpp.
Referenced by parse_metaserver_data(), and server_scan_error().