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

kopete/libkopete

Kopete::Utils

Kopete::Utils Namespace Reference


Classes

struct  ErrorNotificationInfo
class  NotifyHelper

Functions

void notify (QPixmap pic, const QString &eventid, const QString &caption, const QString &message, const QString explanation, const QString debugInfo)
void notifyCannotConnect (const Account *account, const QString explanation=QString(), const QString debugInfo=QString())
void notifyConnectionLost (const Account *account, const QString caption=QString(), const QString message=QString(), const QString explanation=QString(), const QString debugInfo=QString())

Function Documentation

void Kopete::Utils::notify ( QPixmap  pic,
const QString &  eventid,
const QString &  caption,
const QString &  message,
const QString  explanation,
const QString  debugInfo 
)

Definition at line 50 of file kopeteutils.cpp.

void KOPETE_EXPORT Kopete::Utils::notifyCannotConnect ( const Account *  account,
const QString  explanation = QString(),
const QString  debugInfo = QString() 
)

Notifies the user the server is not reachable without coupling plugins with GUI code.

Parameters:
account The account that cannot establish a connection and want to notify the user about that.
explanation A long description on how the error occurred and what the user can do about it.
debugInfo Debug info that can be sent to the developers or to the network service owners.
You cannot provide debugInfo without an user explanation. If you don't provide a caption, message, or explanation, Kopete will use a default explanation.

Definition at line 81 of file kopeteutils.cpp.

void KOPETE_EXPORT Kopete::Utils::notifyConnectionLost ( const Account *  account,
const QString  caption = QString(),
const QString  message = QString(),
const QString  explanation = QString(),
const QString  debugInfo = QString() 
)

Notifies the user connection has been lost without coupling plugins with GUI code.

Parameters:
account The account that lost the connection and wants to notify the user.
caption A brief subject line, used where possible if the presentation allows it.
message A short description of the error.
explanation A long description on how the error occurred and what the user can do about it.
debugInfo Debug info that can be sent to the developers or to the network service owners.
You cannot provide debugInfo without an user explanation. If you don't provide a caption, message, or explanation, Kopete will use a default explanation.

Definition at line 73 of file kopeteutils.cpp.

kopete/libkopete

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