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

kopete/kopete

Public Slots | Signals | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
KopeteChatWindow Class Reference

#include <kopetechatwindow.h>

Inheritance diagram for KopeteChatWindow:
Inheritance graph
[legend]

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

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

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)
 

Detailed Description

Definition at line 61 of file kopetechatwindow.h.

Constructor & Destructor Documentation

KopeteChatWindow::~KopeteChatWindow ( )

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

void KopeteChatWindow::attachChatView ( ChatView *  chat)

Attach an unattached chatview to this window.

Parameters
chatThe chat view to attach

Definition at line 757 of file kopetechatwindow.cpp.

void KopeteChatWindow::changeEvent ( QEvent *  e)
protectedvirtual

Definition at line 1197 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 93 of file kopetechatwindow.h.

void KopeteChatWindow::closeEvent ( QCloseEvent *  e)
protectedvirtual

Definition at line 1275 of file kopetechatwindow.cpp.

void KopeteChatWindow::closing ( KopeteChatWindow *  )
signal
void KopeteChatWindow::detachChatView ( ChatView *  chat)

Detach a chat view from this window.

Parameters
chatThe chat view to detach

Definition at line 804 of file kopetechatwindow.cpp.

bool KopeteChatWindow::eventFilter ( QObject *  obj,
QEvent *  event 
)
protectedvirtual

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

bool KopeteChatWindow::queryExit ( )
virtual

Definition at line 1259 of file kopetechatwindow.cpp.

void KopeteChatWindow::resizeEvent ( QResizeEvent *  e)
protectedvirtual

Definition at line 1349 of file kopetechatwindow.cpp.

void KopeteChatWindow::setActiveView ( QWidget *  active)
slot

Definition at line 946 of file kopetechatwindow.cpp.

void KopeteChatWindow::setStatus ( const QString &  text)

Definition at line 629 of file kopetechatwindow.cpp.

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

Definition at line 1209 of file kopetechatwindow.cpp.

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

Definition at line 931 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
protocolThe 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 105 of file kopetechatwindow.cpp.

Member Data Documentation

KTemporaryFile* KopeteChatWindow::backgroundFile

Definition at line 110 of file kopetechatwindow.h.

ChatViewList KopeteChatWindow::chatViewList

Definition at line 111 of file kopetechatwindow.h.


The documentation for this class was generated from the following files:
  • kopetechatwindow.h
  • kopetechatwindow.cpp
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.

kopete/kopete

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal