Logo Search packages:      
Sourcecode: kadu version File versions

Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes | Private Slots | Private Member Functions | Private Attributes | Friends

ChatWidget Class Reference

Inheritance diagram for ChatWidget:
Inheritance graph
[legend]
Collaboration diagram for ChatWidget:
Collaboration graph
[legend]

List of all members.

Public Slots

void appendMessage (MessageRenderInfo *, bool pending=false)
void appendMessages (const QList< MessageRenderInfo * > &, bool pending=false)
void clearChatWindow ()
void colorSelectorAboutToClose ()
void leaveConference ()
void makeActive ()
void markAllMessagesRead ()
void refreshTitle ()
 Updates chat title.
void sendMessage ()

Signals

void closed ()
void fileDropped (Chat chat, const QString &fileName)
void iconChanged ()
void messageReceived (Chat chat)
void messageSendRequested (ChatWidget *chat)
void messageSent (ChatWidget *chat)
void messageSentAndConfirmed (Chat chat, const QString &message)
void titleChanged (ChatWidget *chatWidget, const QString &newTitle)

Public Member Functions

void appendSystemMessage (const QString &rawContent, const QString &backgroundColor, const QString &fontColor)
Chat chat () const
ChatMessagesViewchatMessagesView () const
 ChatWidget (const Chat &chat, QWidget *parent=0)
BuddiesListViewcontactsListWidget () const
unsigned int countMessages () const
ProtocolcurrentProtocol () const
virtual void dragEnterEvent (QDragEnterEvent *e)
virtual void dragMoveEvent (QDragMoveEvent *e)
virtual void dropEvent (QDropEvent *e)
CustomInputedit () const
ChatEditBoxgetChatEditBox () const
QIcon icon ()
 Icon of chat.
void kaduRestoreGeometry ()
void kaduStoreGeometry ()
const QDateTime & lastMessageTime () const
void newMessage (MessageRenderInfo *message)
unsigned int newMessagesCount () const
void repaintMessages ()
void setTitle (const QString &title)
const QString & title ()

Static Public Member Functions

static void notifyAll ()

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *e)
bool keyPressEventHandled (QKeyEvent *)
virtual void resizeEvent (QResizeEvent *e)
virtual void showEvent (QShowEvent *e)

Static Protected Attributes

static QList
< ConfigurationAwareObject * > 
Objects

Private Slots

void checkComposing ()
void commonHeightChanged (int height)
void configurationUpdated ()
void contactActivityChanged (ChatStateService::ContactActivity state, const Contact &contact)
void keyPressedSlot (QKeyEvent *e, CustomInput *input, bool &handled)
void setUpVerticalSizes ()
void updateComposing ()
void verticalSplitterMoved (int pos, int index)

Private Member Functions

void composingStopped ()
void createContactsList ()
void createGui ()
bool decodeLocalFiles (QDropEvent *event, QStringList &files)
void resetEditBox ()

Private Attributes

BuddiesListWidgetBuddiesWidget
QTimer ComposingTimer
Chat CurrentChat
ChatStateService::ContactActivity CurrentContactActivity
QSplitter * HorizontalSplitter
ChatEditBoxInputBox
bool IsComposing
QDateTime LastMessageTime
ChatMessagesViewMessagesView
unsigned int NewMessagesCount
bool SplittersInitialized
QString Title
QSplitter * VerticalSplitter

Friends

class ChatWidgetManager

Detailed Description

Definition at line 51 of file chat-widget.h.


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

Generated by  Doxygen 1.6.0   Back to index