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

kopete/libkopete

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

#include <kopeteinfoevent.h>

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

Public Slots

virtual void activate (uint actionId)
 
void close ()
 
virtual void sendEvent ()
 

Signals

void actionActivated (uint actionId)
 
void changed ()
 
void eventClosed (Kopete::InfoEvent *event)
 

Public Member Functions

 InfoEvent (QObject *parent=0)
 
 ~InfoEvent ()
 
QMap< uint, QString > actions () const
 
void addAction (uint actionId, const QString &actionText)
 
QString additionalText () const
 
bool isClosed () const
 
void setAdditionalText (const QString &text)
 
void setShowOnSend (bool showOnSend)
 
void setText (const QString &text)
 
void setTitle (const QString &title)
 
bool showOnSend () const
 
QString text () const
 
QString title () const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

Detailed Description

Base class for all Info Events.

The info event will be shown in non-intrusive way to user in Kopete Main Window.

You have to use sendEvent to show the event.

The pointer is automatically deleted when the event is closed.

Author
Roman Jarosz kedge.nosp@m.dev@.nosp@m.centr.nosp@m.um.c.nosp@m.z

Definition at line 39 of file kopeteinfoevent.h.

Constructor & Destructor Documentation

Kopete::InfoEvent::InfoEvent ( QObject *  parent = 0)

Definition at line 36 of file kopeteinfoevent.cpp.

Kopete::InfoEvent::~InfoEvent ( )

Definition at line 43 of file kopeteinfoevent.cpp.

Member Function Documentation

void Kopete::InfoEvent::actionActivated ( uint  actionId)
signal

A action has been activated.

This signal is only emitted if activate( uint ) is not replaced.

Parameters
actionIdis the id of the activated action.
QMap< uint, QString > Kopete::InfoEvent::actions ( ) const
Returns
the list of actions

Definition at line 89 of file kopeteinfoevent.cpp.

void Kopete::InfoEvent::activate ( uint  actionId)
virtualslot

Activate the action specified action.

Definition at line 110 of file kopeteinfoevent.cpp.

void Kopete::InfoEvent::addAction ( uint  actionId,
const QString &  actionText 
)

Set the list of actions link.

Parameters
actionsthe list of actions

Definition at line 94 of file kopeteinfoevent.cpp.

QString Kopete::InfoEvent::additionalText ( ) const
Returns
the additional text

Definition at line 78 of file kopeteinfoevent.cpp.

void Kopete::InfoEvent::changed ( )
signal

User visible data has been changed.

void Kopete::InfoEvent::close ( )
slot

Close the info event.

This will delete the info event.

Definition at line 120 of file kopeteinfoevent.cpp.

void Kopete::InfoEvent::eventClosed ( Kopete::InfoEvent *  event)
signal

Emitted when the info event is closed.

bool Kopete::InfoEvent::isClosed ( ) const
Returns
true if event has been closed and is scheduled for deletion.

Definition at line 115 of file kopeteinfoevent.cpp.

void Kopete::InfoEvent::sendEvent ( )
virtualslot

Emit the event.

Definition at line 51 of file kopeteinfoevent.cpp.

void Kopete::InfoEvent::setAdditionalText ( const QString &  text)

Set the additional text.

This is only shown in InfoEditWidget

Parameters
textthe additional text

Definition at line 83 of file kopeteinfoevent.cpp.

void Kopete::InfoEvent::setShowOnSend ( bool  showOnSend)

Set if event should automatically be shown in contact list window.

Parameters
showOnSendthe show flag

Definition at line 105 of file kopeteinfoevent.cpp.

void Kopete::InfoEvent::setText ( const QString &  text)

Set the Info Event text.

The text is shown in a QLabel, you should make sure to escape any html that is needed. You can use some of the qt basic html tags.

This text will also be shown in KNotification popup

Parameters
textthe text

Definition at line 72 of file kopeteinfoevent.cpp.

void Kopete::InfoEvent::setTitle ( const QString &  title)

Set the Info Event title.

Parameters
titlethe title

Definition at line 61 of file kopeteinfoevent.cpp.

bool Kopete::InfoEvent::showOnSend ( ) const
Returns
true if event should automatically be shown in contact list window

Definition at line 100 of file kopeteinfoevent.cpp.

QString Kopete::InfoEvent::text ( ) const
Returns
the Info Event text

Definition at line 67 of file kopeteinfoevent.cpp.

QString Kopete::InfoEvent::title ( ) const
Returns
the Info Event title

Definition at line 56 of file kopeteinfoevent.cpp.


The documentation for this class was generated from the following files:
  • kopeteinfoevent.h
  • kopeteinfoevent.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:20 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