kopete/libkopete
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 64 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 98 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 90 of file kopeteutils.cpp.
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.