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

ChatView Class Reference

#include <chatview.h>

Inheritance diagram for ChatView:


List of all members.

Detailed Description

The view widget of a chat with a contact with message display and entry.

Mike K. Bennett

Definition at line 46 of file chatview.h.

Public Slots

bool saveChatToFile (const QString &path, Account::ChatExportFormat format, bool overwriteContents, bool allowUserInteraction=true)
void setEnabled (bool isEnabled)
void showMessage (const ChatMessage &message)
void showSaveChatDialog ()
void slotClearChat ()
void slotFindChatText ()


void addContact (QString handle)
void addEmoticon (QString handle, QString shortcut)
void appCommand (QString cookie, QString contact, QString method)
void sendFiles (QList< QUrl > urls)
void updateApplicationMessage (const QString &messageId, const QString &newMessage)

Public Member Functions

 ChatView (QWidget *parent=0)
void editCopy ()
ContactsWidgetgetContactsWidget () const
Isf::DrawinggetInkDrawing () const
QTextDocument * getMessageEditContents () const
int getZoomFactor ()
bool initialize ()
bool isEmpty () const
void scrollTo (bool forward, bool fast)
void scrollToBottom ()
void setZoomFactor (int percentage)
void updateCustomEmoticon (const QString &handle, const QString &code)

Protected Attributes


Private Slots

void slotAddContact ()
void slotAddNewEmoticon ()
void slotCopyAddress ()
void slotIgnoreEmoticon ()
void slotOpenURLRequest (const KUrl &url)
void slotSendAppCommand ()
void slotShowContextMenu (const QString &url, const QPoint &point)
void slotVisitAddress ()

Private Member Functions

bool eventFilter (QObject *obj, QEvent *event)
bool initializeContactsWidget ()
bool initializeCurrentAccount ()
virtual void inviteContacts (const QStringList &contacts)=0
virtual void startFileTransfer (QList< QUrl > fileList=QList< QUrl >())=0

Private Attributes

KUrl chatViewClickedUrl_
bool initialized_
QTextDocument * messageEditContents_


class KMessTest

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

Generated by  Doxygen 1.6.0   Back to index