Logo Search packages:      
Sourcecode: kmess version File versions  Download package

ChatView Class Reference

#include <chatview.h>

List of all members.


Detailed Description

The view widget of a chat with a contact with message display and entry.
Author:
Mike K. Bennett

Definition at line 37 of file chatview.h.


Public Slots

void showAppMessage (QString html)
void showMessage (QString handle, QString name, QString text, QFont font, QString color, QString nameColor)
void showSystemMessage (QString message)

Signals

void appCommand (QString cookie, QString method)
void sendMessageToContact (QString text)
void userIsTyping ()

Public Member Functions

 ChatView (QWidget *parent=0, const char *name=0)
bool initialize ()
bool isEmpty () const
void scrollChatToBottom ()
void showEmoticonChooser (QPoint point)

Private Slots

void editorColorChanged (const QColor &color)
void enterPressed ()
void insertEmoticon (QString emoticonText)
void messageTextChanged ()
void newLineClicked ()
void sendClicked ()
void updateEditorFont ()
void urlClicked (const QString &url)

Private Member Functions

void addTextToBrowser (QString text)
void deleteNewlineAtCursor ()
bool initializeCurrentAccount ()
bool initializeEmoticonChooser ()
bool initializeEmoticons ()
void parseEffects (QString &text) const
void parseUrls (QString &text) const
void parseUrlsForTag (QString &text, QString tag) const
void sendMessage ()

Private Attributes

CurrentAccountcurrentAccount_
bool doSendTypingMessages_
EmoticonChooseremoticonChooser_
EmoticonCollection * emoticons_
bool initialized_
bool isEmpty_
QTimer userTypingTimer_

Friends

class KMessTest

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index