kopete/protocols/messenger/libpapillon
Papillon::Global Namespace Reference
Functions | |
| QString PAPILLON_EXPORT | presenceToString (Papillon::Presence::Status presence) |
| Papillon::Presence::Status PAPILLON_EXPORT | stringToPresence (const QString &presence) |
Function Documentation
| QString Papillon::Global::presenceToString | ( | Papillon::Presence::Status | presence | ) |
Convert a numeric presence to string.
Handy function to get the string represention of Papillon::OnlineStatus.
- Parameters:
-
presence Presence enum value to convert to string
Definition at line 22 of file papillonglobal.cpp.
| Papillon::Presence::Status Papillon::Global::stringToPresence | ( | const QString & | presence | ) |
Convert a string presence to enum value Handy function to get the enum value representation of a string.
- Parameters:
-
presence Presence string to convert to enum value
Definition at line 59 of file papillonglobal.cpp.
KDE 4.2 API Reference