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

kopete/libkopete

  • Kopete
  • SimpleMessageHandler
Signals | Public Member Functions | List of all members
Kopete::SimpleMessageHandler Class Reference

#include <kopetesimplemessagehandler.h>

Inheritance diagram for Kopete::SimpleMessageHandler:
Inheritance graph
[legend]

Signals

void handle (Kopete::Message &message)
 

Public Member Functions

 SimpleMessageHandler ()
 
 ~SimpleMessageHandler ()
 
void handleMessage (MessageEvent *event)
 
- Public Member Functions inherited from Kopete::MessageHandler
 MessageHandler ()
 
virtual ~MessageHandler ()=0
 
virtual int capabilities ()
 
void handleMessageInternal (MessageEvent *event)
 
MessageHandler * next ()
 
void setNext (MessageHandler *next)
 

Detailed Description

This class is used to implement SimpleMessageHandlerFactory.

Definition at line 69 of file kopetesimplemessagehandler.h.

Constructor & Destructor Documentation

Kopete::SimpleMessageHandler::SimpleMessageHandler ( )

Definition at line 77 of file kopetesimplemessagehandler.cpp.

Kopete::SimpleMessageHandler::~SimpleMessageHandler ( )

Definition at line 82 of file kopetesimplemessagehandler.cpp.

Member Function Documentation

void Kopete::SimpleMessageHandler::handle ( Kopete::Message &  message)
signal
void Kopete::SimpleMessageHandler::handleMessage ( MessageEvent *  event)
virtual

Performs any processing necessary on the message.

Parameters
eventThe message event to process. Should not be null.

Overriders of this handler must cause (possibly asynchronously) one of the following to happen:

  • event->discard() to be called
  • event->continue() to be called
  • this base class implementation to be called (equivalent to event->continue() but faster)

The base class implementation passes the event on to the next handler in the chain.

Note
If you store event, be aware that it could be deleted at any time, and either connect to the discarded(Kopete::MessageEvent*) signal or store it in a QPointer.

Reimplemented from Kopete::MessageHandler.

Definition at line 87 of file kopetesimplemessagehandler.cpp.


The documentation for this class was generated from the following files:
  • kopetesimplemessagehandler.h
  • kopetesimplemessagehandler.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/libkopete

Skip menu "kopete/libkopete"
  • 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