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

ChatMessageView Class Reference

#include <chatmessageview.h>

List of all members.

Detailed Description

This class is used to display chat messages. A KHTMLPart is used for this because unlike QTextBrowser, KHTML has support for CSS.

Diederik van der Boor

Definition at line 33 of file chatmessageview.h.

Public Slots

void addedEmoticon (QString shortcut)
void scrollChatToBottom ()


void appCommand (QString cookie, QString contact, QString method)
void openURLRequest (const KURL &url, const KParts::URLArgs &urlArgs)

Public Member Functions

void addHtmlMessage (const QString &text)
 ChatMessageView (QWidget *parent, const char *name)
QString getHtml () const
bool isEmpty () const
void replaceLastMessage (const QString &text)
void setHtml (const QString &htmlRoot, const QString &htmlBody)
void setStandardHtml (const QString &htmlBody, const QString &cssFile=QString::null, const QString &baseFolder=QString::null)
void updateCustomEmoticon (const QString &code, const QString &replacement, const QString &handle, const QStringList &pendingEmoticonTagIds)

Private Member Functions

void initialize ()

Private Attributes

bool isEmpty_
int lastMessageId_

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

Generated by  Doxygen 1.6.0   Back to index