kopete/kopete
#include <chatview.h>
- Author
- Olivier Goffart
Definition at line 62 of file chatview.h.
the state of our chat
Enumerator |
---|
Normal |
|
Highlighted |
|
Changed |
|
Typing |
|
Message |
|
Undefined |
|
Definition at line 70 of file chatview.h.
void ChatView::addText |
( |
const QString & |
text | ) |
|
Adds text into the edit area.
Used when you select an emoticon
- Parameters
-
text | The text to be inserted |
Definition at line 244 of file chatview.cpp.
void ChatView::appendMessage |
( |
Kopete::Message & |
message | ) |
|
|
virtualslot |
Called when a message is received from someone.
- Parameters
-
message | The message received |
Definition at line 685 of file chatview.cpp.
void ChatView::autoSpellCheckEnabled |
( |
ChatView * |
, |
|
|
bool |
|
|
) |
| |
|
signal |
void ChatView::canAcceptFilesChanged |
( |
| ) |
|
|
signal |
bool ChatView::canSend |
( |
| ) |
const |
void ChatView::canSendChanged |
( |
bool |
| ) |
|
|
signal |
Our send-button-enabled flag has changed.
bool ChatView::canSendFile |
( |
| ) |
const |
QString & ChatView::caption |
( |
| ) |
const |
void ChatView::captionChanged |
( |
bool |
active | ) |
|
|
signal |
bool ChatView::closeView |
( |
bool |
force = false | ) |
|
|
virtualslot |
Initiates a copy action If there is text selected in the HTML view, that text is copied Otherwise, the entire edit area is copied.
Definition at line 226 of file chatview.cpp.
Kopete::Message ChatView::currentMessage |
( |
| ) |
|
|
virtual |
Returns the message currently in the edit area.
- Returns
- The Kopete::Message object for the message
Reimplemented from KopeteView
Definition at line 211 of file chatview.cpp.
Initiates a cut action on the edit area of the chat view.
Definition at line 221 of file chatview.cpp.
KTextEdit * ChatView::editWidget |
( |
| ) |
|
bool ChatView::isDragEventAccepted |
( |
const QDragMoveEvent * |
event | ) |
const |
|
slot |
bool ChatView::isVisible |
( |
| ) |
|
|
virtual |
void ChatView::loadChatSettings |
( |
| ) |
|
read the chat settings (rich text, auto spelling)
Definition at line 846 of file chatview.cpp.
Returns the chat window this view is in.
- Returns
- The chat window
Definition at line 139 of file chatview.h.
void ChatView::makeVisible |
( |
| ) |
|
|
virtual |
void ChatView::messageSent |
( |
Kopete::Message & |
| ) |
|
|
signal |
Emitted when a message is sent.
- Parameters
-
void ChatView::messageSentSuccessfully |
( |
| ) |
|
|
virtualslot |
void ChatView::messageSuccess |
( |
ChatView * |
| ) |
|
|
signal |
void ChatView::nickComplete |
( |
| ) |
|
|
slot |
Initiates a paste action into the edit area of the chat view.
Definition at line 234 of file chatview.cpp.
void ChatView::raise |
( |
bool |
activate = false | ) |
|
|
virtual |
void ChatView::registerContextMenuHandler |
( |
QObject * |
target, |
|
|
const char * |
slot |
|
) |
| |
|
virtual |
void ChatView::registerTooltipHandler |
( |
QObject * |
target, |
|
|
const char * |
slot |
|
) |
| |
|
virtual |
void ChatView::remoteTyping |
( |
const Kopete::Contact * |
contact, |
|
|
bool |
typing |
|
) |
| |
|
slot |
Called when a typing event is received from a contact Updates the typing map and outputs the typing message into the status area.
- Parameters
-
contact | The contact who is / isn't typing |
typing | If the contact is typing now |
Definition at line 432 of file chatview.cpp.
void ChatView::resetFontAndColor |
( |
| ) |
|
|
slot |
Reset font and color of the edit area and outgoing messages.
Definition at line 264 of file chatview.cpp.
void ChatView::rtfEnabled |
( |
ChatView * |
, |
|
|
bool |
|
|
) |
| |
|
signal |
Emitted when the state of RTF has changed.
void ChatView::saveChatSettings |
( |
| ) |
|
save the chat settings (rich text, auto spelling)
Definition at line 817 of file chatview.cpp.
void ChatView::saveOptions |
( |
| ) |
|
Saves window settings such as splitter positions.
Definition at line 808 of file chatview.cpp.
void ChatView::sendFile |
( |
| ) |
|
|
slot |
bool ChatView::sendInProgress |
( |
| ) |
const |
void ChatView::sendMessage |
( |
| ) |
|
|
virtualslot |
Sends the text currently entered into the edit area.
Definition at line 796 of file chatview.cpp.
void ChatView::setActive |
( |
bool |
value | ) |
|
Tells this view it is the active view.
Definition at line 873 of file chatview.cpp.
void ChatView::setCaption |
( |
const QString & |
text, |
|
|
bool |
modified |
|
) |
| |
Sets the text to be displayed on tab label and window caption.
Definition at line 659 of file chatview.cpp.
void ChatView::setCurrentMessage |
( |
const Kopete::Message & |
newMessage | ) |
|
|
virtual |
Sets the current message in the chat window.
- Parameters
-
parent | The new chat window |
Reimplemented from KopeteView
Definition at line 216 of file chatview.cpp.
Changes the pointer to the chat window.
Used to re-parent the view
- Parameters
-
parent | The new chat window |
Definition at line 417 of file chatview.cpp.
void ChatView::setStatusText |
( |
const QString & |
text | ) |
|
|
slot |
Sets the text to be displayed on the status label.
- Parameters
-
text | The text to be displayed |
Definition at line 478 of file chatview.cpp.
Emits when the chat view is shown.
void ChatView::slotRecalculateSize |
( |
int |
difference | ) |
|
|
slot |
Triggers text edit's size recalculation.
Used for auto-sizing.
Definition at line 485 of file chatview.cpp.
const QString & ChatView::statusText |
( |
| ) |
|
Emitted when a possible tab label needs updating.
void ChatView::updateChatState |
( |
ChatView * |
, |
|
|
int |
|
|
) |
| |
|
signal |
Emitted when the state of the chat changes.
Emitted when a possible tab tooltip needs updating.
void ChatView::updateStatusIcon |
( |
ChatView * |
| ) |
|
|
signal |
void ChatView::windowCreated |
( |
| ) |
|
|
signal |
Emitted when we re-parent ourselves with a new window.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:08 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.