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

kopete/libkopete

  • Kopete
  • Utils
Classes | Functions
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 65 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
accountThe account that cannot establish a connection and want to notify the user about that.
explanationA long description on how the error occurred and what the user can do about it.
debugInfoDebug 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 99 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
accountThe account that lost the connection and wants to notify the user.
captionA brief subject line, used where possible if the presentation allows it.
messageA short description of the error.
explanationA long description on how the error occurred and what the user can do about it.
debugInfoDebug 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 91 of file kopeteutils.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