libkdegames/libkdegamesprivate/kgame
#include <KGame/KGameError>
Public Types | |
enum | ErrorCodes { Cookie = 0, Version = 1 } |
Public Member Functions | |
KGameError () | |
~KGameError () | |
Static Public Member Functions | |
static QByteArray | errCookie (int localCookie, int remoteCookie) |
static QString | errorText (int errorCode, QDataStream &message) |
static QString | errorText (int errorCode, const QByteArray &message) |
static QByteArray | errVersion (int remoteVersion) |
Detailed Description
Definition at line 29 of file kgameerror.h.
Member Enumeration Documentation
Enumerator | |
---|---|
Cookie | |
Version |
Definition at line 35 of file kgameerror.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 32 of file kgameerror.h.
|
inline |
Definition at line 33 of file kgameerror.h.
Member Function Documentation
|
static |
Generate an error message with Erorr Code = ErrCookie.
Definition at line 35 of file kgameerror.cpp.
|
static |
Create an erorr text using a QDataStream (QByteArray) which was created using KGameError.
This is the opposite function to all the errXYZ() function (e.g. errVersion). You want to use this to generate the message that shall be displayed to the user.
- Returns
- an error message
Definition at line 50 of file kgameerror.cpp.
|
static |
Definition at line 44 of file kgameerror.cpp.
|
static |
Definition at line 26 of file kgameerror.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.