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

IRCHistoryLineEdit Class Reference

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

Collaboration diagram for IRCHistoryLineEdit:

Collaboration graph
[legend]
List of all members.

Public Types

enum  KeyMode { KeyNextTab, KeyPrevTab, KeyCloseTab }

Public Slots

void setEditFocus ()

Signals

void nextTab ()
void prevTab ()
void closeTab ()

Public Member Functions

 IRCHistoryLineEdit (QWidget *parent=0, const char *name=0)
virtual bool eventFilter (QObject *object, QEvent *event)

Static Public Member Functions

static Opie::Core::OKeyConfigManagerkeyConfigInstance ()

Protected Member Functions

void keyPressEvent (QKeyEvent *)

Protected Attributes

QStringList m_history
int m_index

Member Enumeration Documentation

enum IRCHistoryLineEdit::KeyMode
 

Enumeration values:
KeyNextTab 
KeyPrevTab 
KeyCloseTab 

Definition at line 69 of file ircmisc.h.


Constructor & Destructor Documentation

IRCHistoryLineEdit::IRCHistoryLineEdit QWidget *  parent = 0,
const char *  name = 0
 

Definition at line 80 of file ircmisc.cpp.

References m_index.


Member Function Documentation

void IRCHistoryLineEdit::closeTab  )  [signal]
 

Referenced by keyPressEvent().

bool IRCHistoryLineEdit::eventFilter QObject *  object,
QEvent *  event
[virtual]
 

Definition at line 122 of file ircmisc.cpp.

References KeyPress, nextTab(), and TRUE.

OKeyConfigManager * IRCHistoryLineEdit::keyConfigInstance  )  [static]
 

Definition at line 50 of file ircmisc.cpp.

References Opie::Core::OKeyConfigManager::addKeyConfig(), QValueList< T >::append(), Qt::ControlButton, Opie::Core::OKeyPair::downArrowKey(), Opie::Core::OKeyPair::hardwareKeys(), Qt::Key_C, Qt::Key_N, Qt::Key_P, KeyCloseTab, KeyNextTab, KeyPrevTab, Opie::Core::OKeyPair::leftArrowKey(), Opie::Core::OKeyConfigManager::load(), Opie::Core::OKeyPair::returnKey(), tr, and Opie::Core::OKeyPair::upArrowKey().

Referenced by IRCSettings::accept(), IRCSettings::IRCSettings(), and keyPressEvent().

void IRCHistoryLineEdit::keyPressEvent QKeyEvent *   )  [protected]
 

Definition at line 85 of file ircmisc.cpp.

References closeTab(), QValueList< T >::count(), KeyCloseTab, keyConfigInstance(), KeyNextTab, KeyPrevTab, m_history, m_index, nextTab(), QValueList< T >::prepend(), prevTab(), and text.

void IRCHistoryLineEdit::nextTab  )  [signal]
 

Referenced by eventFilter(), and keyPressEvent().

void IRCHistoryLineEdit::prevTab  )  [signal]
 

Referenced by keyPressEvent().

void IRCHistoryLineEdit::setEditFocus  )  [slot]
 

Definition at line 135 of file ircmisc.cpp.


Member Data Documentation

QStringList IRCHistoryLineEdit::m_history [protected]
 

Definition at line 90 of file ircmisc.h.

Referenced by keyPressEvent().

int IRCHistoryLineEdit::m_index [protected]
 

Definition at line 91 of file ircmisc.h.

Referenced by IRCHistoryLineEdit(), and keyPressEvent().


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