#include <ChatSession.h>
Inheritance diagram for ChatSession:
Public Slots | |
void | returnPressed () |
void | closeSession () |
void | slotLinkClicked (const QString &) |
void | slotHistoryUp () |
void | slotHistoryDown () |
void | slotNewLine () |
void | slotComplete () |
void | slotReconnect () |
void | setDomDocument (QDomDocument *dom) |
void | kill (Page *) |
void | send (const QString &) |
Signals | |
void | textDisplayed (QWidget *) |
void | outputMessage (const QString &) |
Public Member Functions | |
ChatSession (const QString &session_name, QMtp *mtp, QWidget *parent, const char *name, QDomDocument *dom) | |
~ChatSession () | |
void | displayStderr (const QString &) |
void | displayStdout (const QString &) |
const QString & | sessionName () const |
QMtp * | topLevel () const |
void | updateFilters () |
Private Slots | |
void | deleteProcess () |
Private Member Functions | |
void | escape (QString *msg) |
bool | filter (QString *msg) |
void | getInfo () |
QString | caseUnsensitive (const QString &msg) |
void | removeUser (const QString &) |
void | addUser (const QString &) |
void | executeShellCommand (const QString &) |
void | createTelnetManager () |
Private Attributes | |
QProcess * | proc |
QMtp * | mtp |
TelnetManager * | mng |
QString | login |
bool | login_set |
bool | enable_stdout |
bool | who_demanded |
bool | receiving_who |
int | position |
QString | doc_source |
QStyleSheetItem * | item |
QAction * | history_up |
QAction * | history_down |
QAction * | new_line |
QAction * | complete |
QAction * | reconnect |
QStringList | history |
QStringList::Iterator | history_iterator |
QString | host |
QString | port |
QString | session_name |
QDomDocument * | m_dom |
MtpFilter * | m_filter |
std::vector< Page * > | brothers |
|
Definition at line 35 of file ChatSession.cpp. References ChatPage::chat_edit, ChatPage::chat_view, closeSession(), complete, Master::context(), createTelnetManager(), displayStderr(), doc_source, enable_stdout, history_down, history_iterator, history_up, host, item, login_set, m_dom, m_filter, mng, new_line, port, position, DomUtil::readEntry(), receiving_who, reconnect, returnPressed(), slotComplete(), slotHistoryDown(), slotHistoryUp(), slotLinkClicked(), slotNewLine(), and slotReconnect(). |
|
Definition at line 113 of file ChatSession.cpp. |
|
Definition at line 419 of file ChatSession.cpp. References ChatPage::users_box. Referenced by filter(). |
|
Definition at line 410 of file ChatSession.cpp. Referenced by displayStdout(). |
|
Definition at line 265 of file ChatSession.cpp. References host. Referenced by ChatSession(). |
|
Definition at line 448 of file ChatSession.cpp. References host, m_dom, mng, port, DomUtil::readEntry(), session_name, TelnetManager::setArgs(), TelnetManager::setLogin(), TelnetManager::setPassword(), and TelnetManager::start(). Referenced by ChatSession(), and slotReconnect(). |
|
Definition at line 444 of file ChatSession.cpp. Referenced by executeShellCommand(). |
|
Implements Master. Definition at line 120 of file ChatSession.cpp. References host, mtp, port, and QMtp_base::system_view. Referenced by ChatSession(), displayStdout(), and filter(). |
|
Implements Master. Definition at line 124 of file ChatSession.cpp. References Page::append(), brothers, caseUnsensitive(), ChatPage::chat_view, CLIENT, Master::context(), displayStderr(), escape(), filter(), MtpFilter::filterOut(), getInfo(), QMtp::getNewPage(), login, login_set, m_filter, mng, mtp, outputMessage(), position, MtpContext::setVar(), textDisplayed(), and TelnetManager::writeStdin(). Referenced by TelnetManager::readStdout(). |
|
Definition at line 338 of file ChatSession.cpp. Referenced by displayStdout(). |
|
Definition at line 429 of file ChatSession.cpp. References deleteProcess(), and proc. Referenced by slotLinkClicked(). |
|
Definition at line 345 of file ChatSession.cpp. References addUser(), displayStderr(), enable_stdout, login, receiving_who, removeUser(), ChatPage::users_box, and who_demanded. Referenced by displayStdout(). |
|
Definition at line 405 of file ChatSession.cpp. References mng, who_demanded, and TelnetManager::writeStdin(). Referenced by displayStdout(). |
|
Definition at line 203 of file ChatSession.cpp. References brothers. |
|
Referenced by displayStdout(). |
|
Definition at line 424 of file ChatSession.cpp. References item, and ChatPage::users_box. Referenced by filter(). |
|
Reimplemented from ChatPage. Definition at line 211 of file ChatSession.cpp. References ChatPage::chat_edit, history, history_iterator, login_set, and send(). Referenced by ChatSession(). |
|
Implements Master. Definition at line 230 of file ChatSession.cpp. References CHAT_BUFFER_LENGTH, MtpFilter::filterIn(), m_dom, m_filter, mng, DomUtil::readListEntry(), and TelnetManager::writeStdin(). Referenced by returnPressed(). |
|
Definition at line 199 of file ChatSession.cpp. References session_name. Referenced by RemoteControlServerInfo::display(). |
|
Definition at line 440 of file ChatSession.cpp. References m_dom. |
|
Definition at line 302 of file ChatSession.cpp. References ChatPage::chat_edit, position, and ChatPage::users_box. Referenced by ChatSession(). |
|
Definition at line 286 of file ChatSession.cpp. References ChatPage::chat_edit, history, and history_iterator. Referenced by ChatSession(). |
|
Definition at line 277 of file ChatSession.cpp. References ChatPage::chat_edit, history, and history_iterator. Referenced by ChatSession(). |
|
Reimplemented from Master. Definition at line 269 of file ChatSession.cpp. References executeShellCommand(), m_dom, DomUtil::readEntry(), and DomUtil::readListEntry(). Referenced by ChatSession(). |
|
Definition at line 298 of file ChatSession.cpp. References ChatPage::chat_edit. Referenced by ChatSession(). |
|
Definition at line 333 of file ChatSession.cpp. References createTelnetManager(), and mng. Referenced by ChatSession(). |
|
Referenced by displayStdout(). |
|
Definition at line 457 of file ChatSession.cpp. References mtp. |
|
Definition at line 461 of file ChatSession.cpp. References Master::context(), m_dom, m_filter, and MtpFilter::setObsolete(). |
|
Definition at line 100 of file ChatSession.h. Referenced by displayStdout(), kill(), and ~ChatSession(). |
|
Definition at line 92 of file ChatSession.h. Referenced by ChatSession(). |
|
Definition at line 89 of file ChatSession.h. Referenced by ChatSession(). |
|
Definition at line 84 of file ChatSession.h. Referenced by ChatSession(), and filter(). |
|
Definition at line 93 of file ChatSession.h. Referenced by returnPressed(), slotHistoryDown(), and slotHistoryUp(). |
|
Definition at line 92 of file ChatSession.h. Referenced by ChatSession(). |
|
Definition at line 94 of file ChatSession.h. Referenced by ChatSession(), returnPressed(), slotHistoryDown(), and slotHistoryUp(). |
|
Definition at line 92 of file ChatSession.h. Referenced by ChatSession(). |
|
Definition at line 95 of file ChatSession.h. Referenced by ChatSession(), closeSession(), createTelnetManager(), and displayStderr(). |
|
Definition at line 91 of file ChatSession.h. Referenced by ChatSession(), and removeUser(). |
|
Definition at line 82 of file ChatSession.h. Referenced by displayStdout(), and filter(). |
|
Definition at line 83 of file ChatSession.h. Referenced by ChatSession(), displayStdout(), and returnPressed(). |
|
Definition at line 97 of file ChatSession.h. Referenced by ChatSession(), createTelnetManager(), send(), setDomDocument(), slotLinkClicked(), and updateFilters(). |
|
Definition at line 98 of file ChatSession.h. Referenced by ChatSession(), displayStdout(), send(), updateFilters(), and ~ChatSession(). |
|
Definition at line 81 of file ChatSession.h. Referenced by ChatSession(), createTelnetManager(), displayStdout(), getInfo(), send(), and slotReconnect(). |
|
Definition at line 80 of file ChatSession.h. Referenced by displayStderr(), displayStdout(), and topLevel(). |
|
Definition at line 92 of file ChatSession.h. Referenced by ChatSession(). |
|
Definition at line 95 of file ChatSession.h. Referenced by ChatSession(), createTelnetManager(), and displayStderr(). |
|
Definition at line 87 of file ChatSession.h. Referenced by ChatSession(), displayStdout(), and slotComplete(). |
|
Definition at line 78 of file ChatSession.h. Referenced by executeShellCommand(). |
|
Definition at line 86 of file ChatSession.h. Referenced by ChatSession(), and filter(). |
|
Definition at line 92 of file ChatSession.h. Referenced by ChatSession(). |
|
Definition at line 95 of file ChatSession.h. Referenced by createTelnetManager(), and sessionName(). |
|
Definition at line 85 of file ChatSession.h. |