kopete/kopete
KopeteChatWindow Class Reference
#include <kopetechatwindow.h>

Detailed Description
Definition at line 63 of file kopetechatwindow.h.
Public Slots | |
| void | slotSmileyActivated (const QString &) |
| void | setActiveView (QWidget *active) |
| void | updateBackground (const QPixmap &pm) |
Signals | |
| void | closing (KopeteChatWindow *) |
| void | chatSessionChanged (Kopete::ChatSession *newSession) |
Public Member Functions | |
| ~KopeteChatWindow () | |
| void | attachChatView (ChatView *chat) |
| void | detachChatView (ChatView *chat) |
| const int | chatViewCount () |
| ChatView * | activeView () |
| void | setStatus (const QString &) |
| virtual bool | queryClose () |
| virtual bool | queryExit () |
Static Public Member Functions | |
| static KopeteChatWindow * | window (Kopete::ChatSession *manager) |
Public Attributes | |
| KTemporaryFile * | backgroundFile |
| ChatViewList | chatViewList |
Protected Member Functions | |
| virtual void | closeEvent (QCloseEvent *e) |
| virtual void | changeEvent (QEvent *e) |
Constructor & Destructor Documentation
| KopeteChatWindow::~KopeteChatWindow | ( | ) |
Definition at line 283 of file kopetechatwindow.cpp.
Member Function Documentation
| KopeteChatWindow * KopeteChatWindow::window | ( | Kopete::ChatSession * | manager | ) | [static] |
Find the appropriate window for a ChatView of the given protocol to dock into.
If no such window exists, create one.
- Parameters:
-
protocol The protocol we are creating a view for
- Returns:
- A KopeteChatWindow suitable for docking a ChatView into. Guaranteed to be a valid pointer.
Definition at line 108 of file kopetechatwindow.cpp.
| void KopeteChatWindow::attachChatView | ( | ChatView * | chat | ) |
Attach an unattached chatview to this window.
- Parameters:
-
chat The chat view to attach
Definition at line 736 of file kopetechatwindow.cpp.
| void KopeteChatWindow::detachChatView | ( | ChatView * | chat | ) |
Detach a chat view from this window.
- Parameters:
-
chat The chat view to detach
Definition at line 780 of file kopetechatwindow.cpp.
| const int KopeteChatWindow::chatViewCount | ( | ) | [inline] |
Returns the number of chat views attached to this window.
Definition at line 95 of file kopetechatwindow.h.
| ChatView * KopeteChatWindow::activeView | ( | ) |
Returns the chatview in the currently active tab, or the only chat view if chatViewCount() == 1.
Definition at line 355 of file kopetechatwindow.cpp.
| void KopeteChatWindow::setStatus | ( | const QString & | text | ) |
Definition at line 631 of file kopetechatwindow.cpp.
| bool KopeteChatWindow::queryClose | ( | ) | [virtual] |
Reimplemented from KXmlGuiWindow - asks each ChatView in the window if it is ok to close the window.
- Returns:
- true if no ChatView objects to closing.
Definition at line 1170 of file kopetechatwindow.cpp.
| bool KopeteChatWindow::queryExit | ( | ) | [virtual] |
Definition at line 1204 of file kopetechatwindow.cpp.
| void KopeteChatWindow::closing | ( | KopeteChatWindow * | ) | [signal] |
| void KopeteChatWindow::chatSessionChanged | ( | Kopete::ChatSession * | newSession | ) | [signal] |
| void KopeteChatWindow::slotSmileyActivated | ( | const QString & | sm | ) | [slot] |
Definition at line 1144 of file kopetechatwindow.cpp.
| void KopeteChatWindow::setActiveView | ( | QWidget * | active | ) | [slot] |
Definition at line 896 of file kopetechatwindow.cpp.
| void KopeteChatWindow::updateBackground | ( | const QPixmap & | pm | ) | [slot] |
Definition at line 878 of file kopetechatwindow.cpp.
| void KopeteChatWindow::closeEvent | ( | QCloseEvent * | e | ) | [protected, virtual] |
Definition at line 1220 of file kopetechatwindow.cpp.
| void KopeteChatWindow::changeEvent | ( | QEvent * | e | ) | [protected, virtual] |
Definition at line 1132 of file kopetechatwindow.cpp.
Member Data Documentation
| KTemporaryFile* KopeteChatWindow::backgroundFile |
Definition at line 112 of file kopetechatwindow.h.
Definition at line 113 of file kopetechatwindow.h.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference