• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/kopete

KopeteChatWindow Class Reference

#include <kopetechatwindow.h>

Inheritance diagram for KopeteChatWindow:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 63 of file kopetechatwindow.h.


Public Slots

void setActiveView (QWidget *active)
void slotSmileyActivated (const QString &)
void updateBackground (const QPixmap &pm)

Signals

void chatSessionChanged (Kopete::ChatSession *newSession)
void closing (KopeteChatWindow *)

Public Member Functions

ChatView * activeView ()
void attachChatView (ChatView *chat)
int chatViewCount ()
void detachChatView (ChatView *chat)
virtual bool queryClose ()
virtual bool queryExit ()
void setStatus (const QString &)
 ~KopeteChatWindow ()

Static Public Member Functions

static KopeteChatWindow * window (Kopete::ChatSession *manager)

Public Attributes

KTemporaryFile * backgroundFile
ChatViewList chatViewList

Protected Member Functions

virtual void changeEvent (QEvent *e)
virtual void closeEvent (QCloseEvent *e)
virtual bool eventFilter (QObject *obj, QEvent *event)
virtual void resizeEvent (QResizeEvent *e)

Constructor & Destructor Documentation

KopeteChatWindow::~KopeteChatWindow (  ) 

Definition at line 283 of file kopetechatwindow.cpp.


Member Function Documentation

ChatView * KopeteChatWindow::activeView (  ) 

Returns the chatview in the currently active tab, or the only chat view if chatViewCount() == 1.

Definition at line 350 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 721 of file kopetechatwindow.cpp.

void KopeteChatWindow::changeEvent ( QEvent *  e  )  [protected, virtual]

Definition at line 1131 of file kopetechatwindow.cpp.

void KopeteChatWindow::chatSessionChanged ( Kopete::ChatSession *  newSession  )  [signal]

int KopeteChatWindow::chatViewCount (  )  [inline]

Returns the number of chat views attached to this window.

Definition at line 95 of file kopetechatwindow.h.

void KopeteChatWindow::closeEvent ( QCloseEvent *  e  )  [protected, virtual]

Definition at line 1209 of file kopetechatwindow.cpp.

void KopeteChatWindow::closing ( KopeteChatWindow *   )  [signal]

void KopeteChatWindow::detachChatView ( ChatView *  chat  ) 

Detach a chat view from this window.

Parameters:
chat The chat view to detach

Definition at line 765 of file kopetechatwindow.cpp.

bool KopeteChatWindow::eventFilter ( QObject *  obj,
QEvent *  event 
) [protected, virtual]

Definition at line 1288 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 1159 of file kopetechatwindow.cpp.

bool KopeteChatWindow::queryExit (  )  [virtual]

Definition at line 1193 of file kopetechatwindow.cpp.

void KopeteChatWindow::resizeEvent ( QResizeEvent *  e  )  [protected, virtual]

Definition at line 1281 of file kopetechatwindow.cpp.

void KopeteChatWindow::setActiveView ( QWidget *  active  )  [slot]

Definition at line 895 of file kopetechatwindow.cpp.

void KopeteChatWindow::setStatus ( const QString &  text  ) 

Definition at line 614 of file kopetechatwindow.cpp.

void KopeteChatWindow::slotSmileyActivated ( const QString &  sm  )  [slot]

Definition at line 1143 of file kopetechatwindow.cpp.

void KopeteChatWindow::updateBackground ( const QPixmap &  pm  )  [slot]

Definition at line 877 of file kopetechatwindow.cpp.

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 107 of file kopetechatwindow.cpp.


Member Data Documentation

KTemporaryFile* KopeteChatWindow::backgroundFile

Definition at line 112 of file kopetechatwindow.h.

ChatViewList KopeteChatWindow::chatViewList

Definition at line 113 of file kopetechatwindow.h.


The documentation for this class was generated from the following files:
  • kopetechatwindow.h
  • kopetechatwindow.cpp

kopete/kopete

Skip menu "kopete/kopete"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal