kopete/libkopete
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 | notifyConnectionLost (const Account *account, const QString caption=QString(), const QString message=QString(), const QString explanation=QString(), const QString debugInfo=QString()) |
| void | notifyCannotConnect (const Account *account, 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.
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.
Definition at line 73 of file kopeteutils.cpp.
KDE 4.0 API Reference