Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

IRCQueryTab Class Reference

#include </home/clem/local/src/opie/noncore/net/opieirc/ircquerytab.h>

Inheritance diagram for IRCQueryTab:

Inheritance graph
[legend]
Collaboration diagram for IRCQueryTab:

Collaboration graph
[legend]
List of all members.

Public Slots

void scrolling ()
void remove ()
void processCommand ()
void display (IRCOutput output)
void settingsChanged ()

Public Member Functions

 IRCQueryTab (IRCPerson *person, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent=0, const char *name=0, WFlags f=0)
 ~IRCQueryTab ()
QString title ()
IRCSessionsession ()
IRCPersonperson ()
void appendText (QString text)

Protected Attributes

bool m_close
MainWindowm_mainWindow
IRCServerTabm_parentTab
IRCPersonm_person
QTextView * m_textview
IRCHistoryLineEditm_field
int m_lines

Constructor & Destructor Documentation

IRCQueryTab::IRCQueryTab IRCPerson person,
IRCServerTab parentTab,
MainWindow mainWindow,
QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0
 

Definition at line 6 of file ircquerytab.cpp.

References add, IRCTab::closeTab(), IRCTab::editFocus(), IRCTab::m_description, m_field, IRCTab::m_layout, m_lines, m_mainWindow, m_parentTab, m_person, m_textview, IRCTab::nextTab(), IRCPerson::nick(), IRCTab::prevTab(), processCommand(), remove(), scrolling(), settingsChanged(), and tr.

IRCQueryTab::~IRCQueryTab  ) 
 

Definition at line 62 of file ircquerytab.cpp.

References m_parentTab, m_person, and IRCServerTab::removeQueryTab().


Member Function Documentation

void IRCQueryTab::appendText QString  text  )  [virtual]
 

Implements IRCTab.

Definition at line 42 of file ircquerytab.cpp.

References IRCTab::changed(), IRCServerTab::containsPing(), QString::find(), QString::length(), IRCTab::m_backgroundColor, m_lines, IRCTab::m_maxLines, m_parentTab, m_textview, IRCTab::ping(), QString::right(), and title().

Referenced by display(), and processCommand().

void IRCQueryTab::display IRCOutput  output  )  [slot]
 

Definition at line 87 of file ircquerytab.cpp.

References appendText(), IRCOutput::htmlMessage(), IRCTab::m_otherColor, m_person, IRCTab::m_textColor, IRCPerson::nick(), OUTPUT_QUERYACTION, OUTPUT_QUERYPRIVMSG, and IRCOutput::type().

Referenced by IRCServerTab::display().

IRCPerson * IRCQueryTab::person  ) 
 

Definition at line 112 of file ircquerytab.cpp.

References m_person.

void IRCQueryTab::processCommand  )  [slot]
 

Definition at line 67 of file ircquerytab.cpp.

References appendText(), IRCServerTab::executeCommand(), QString::length(), IRCTab::m_errorColor, m_field, m_parentTab, m_person, IRCTab::m_selfColor, IRCTab::m_textColor, QString::right(), IRCServerTab::server(), session(), QString::startsWith(), text, IRCOutput::toHTML(), and tr.

Referenced by IRCQueryTab().

void IRCQueryTab::remove  )  [virtual, slot]
 

Implements IRCTab.

Definition at line 108 of file ircquerytab.cpp.

References MainWindow::killTab(), and m_mainWindow.

Referenced by IRCQueryTab().

void IRCQueryTab::scrolling  )  [slot]
 

Definition at line 37 of file ircquerytab.cpp.

References m_textview.

Referenced by IRCQueryTab().

IRCSession * IRCQueryTab::session  )  [virtual]
 

Implements IRCTab.

Definition at line 104 of file ircquerytab.cpp.

References m_parentTab, and IRCServerTab::session().

Referenced by processCommand().

void IRCQueryTab::settingsChanged  )  [virtual, slot]
 

Implements IRCTab.

Definition at line 95 of file ircquerytab.cpp.

References IRCTab::m_backgroundColor, m_lines, and m_textview.

Referenced by IRCQueryTab().

QString IRCQueryTab::title  )  [virtual]
 

Implements IRCTab.

Definition at line 100 of file ircquerytab.cpp.

References m_person, and IRCPerson::nick().

Referenced by appendText().


Member Data Documentation

bool IRCQueryTab::m_close [protected]
 

Definition at line 46 of file ircquerytab.h.

IRCHistoryLineEdit* IRCQueryTab::m_field [protected]
 

Definition at line 51 of file ircquerytab.h.

Referenced by IRCQueryTab(), and processCommand().

int IRCQueryTab::m_lines [protected]
 

Definition at line 52 of file ircquerytab.h.

Referenced by appendText(), IRCQueryTab(), and settingsChanged().

MainWindow* IRCQueryTab::m_mainWindow [protected]
 

Definition at line 47 of file ircquerytab.h.

Referenced by IRCQueryTab(), and remove().

IRCServerTab* IRCQueryTab::m_parentTab [protected]
 

Definition at line 48 of file ircquerytab.h.

Referenced by appendText(), IRCQueryTab(), processCommand(), session(), and ~IRCQueryTab().

IRCPerson* IRCQueryTab::m_person [protected]
 

Definition at line 49 of file ircquerytab.h.

Referenced by display(), IRCQueryTab(), person(), processCommand(), title(), and ~IRCQueryTab().

QTextView* IRCQueryTab::m_textview [protected]
 

Definition at line 50 of file ircquerytab.h.

Referenced by appendText(), IRCQueryTab(), scrolling(), and settingsChanged().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:36:43 2005 for OPIE by  doxygen 1.4.2