libkdegames/kggzmod
KGGZMod::ModulePrivate Class Reference
#include <module_private.h>

Detailed Description
Definition at line 35 of file module_private.h.
Public Types | |
| enum | GGZEvents { msglaunch = 0, msgserver = 1, msgserverfd = 2, msgplayer = 3, msgseat = 4, msgspectatorseat = 5, msgchat = 6, msgstats = 7, msginfo = 8, msgrankings = 9 } |
Public Slots | |
| void | slotGGZError () |
| void | slotGGZEvent () |
Signals | |
| void | signalError () |
| void | signalEvent (const KGGZMod::Event &event) |
| void | signalNetwork (int fd) |
Public Member Functions | |
| void | connect () |
| void | disconnect () |
| Player * | findPlayer (Player::Type seattype, const QString &name) |
| void | insertPlayer (Player::Type seattype, const QString &name, int seat) |
| QString | opcodeString (GGZEvents opcode) |
| QString | requestString (Request::Type requestcode) |
| Player * | self () const |
| void | sendRequest (Request request) |
Public Attributes | |
| int | m_fd |
| QSocketNotifier * | m_gnotifier |
| int | m_myseat |
| bool | m_myspectator |
| QString | m_name |
| KGGZRaw * | m_net |
| QSocketNotifier * | m_notifier |
| QList< Player * > | m_players |
| int | m_playerseats |
| QList< Player * > | m_spectators |
| int | m_spectatorseats |
| Module::State | m_state |
Member Enumeration Documentation
- Enumerator:
-
msglaunch msgserver msgserverfd msgplayer msgseat msgspectatorseat msgchat msgstats msginfo msgrankings
Definition at line 39 of file module_private.h.
Member Function Documentation
| void ModulePrivate::connect | ( | ) |
Definition at line 480 of file module.cpp.
| void ModulePrivate::disconnect | ( | ) |
Definition at line 514 of file module.cpp.
| Player * ModulePrivate::findPlayer | ( | Player::Type | seattype, | |
| const QString & | name | |||
| ) |
Definition at line 546 of file module.cpp.
| void ModulePrivate::insertPlayer | ( | Player::Type | seattype, | |
| const QString & | name, | |||
| int | seat | |||
| ) |
Definition at line 574 of file module.cpp.
Definition at line 191 of file module.cpp.
| QString ModulePrivate::requestString | ( | Request::Type | requestcode | ) |
Definition at line 162 of file module.cpp.
| Player * ModulePrivate::self | ( | ) | const |
Definition at line 527 of file module.cpp.
| void ModulePrivate::sendRequest | ( | Request | request | ) |
Definition at line 103 of file module.cpp.
| void KGGZMod::ModulePrivate::signalError | ( | ) | [signal] |
| void KGGZMod::ModulePrivate::signalEvent | ( | const KGGZMod::Event & | event | ) | [signal] |
| void KGGZMod::ModulePrivate::signalNetwork | ( | int | fd | ) | [signal] |
| void ModulePrivate::slotGGZError | ( | ) | [slot] |
Definition at line 221 of file module.cpp.
| void ModulePrivate::slotGGZEvent | ( | ) | [slot] |
Definition at line 228 of file module.cpp.
Member Data Documentation
Definition at line 63 of file module_private.h.
Definition at line 69 of file module_private.h.
Definition at line 75 of file module_private.h.
Definition at line 76 of file module_private.h.
Definition at line 62 of file module_private.h.
| KGGZRaw* KGGZMod::ModulePrivate::m_net |
Definition at line 70 of file module_private.h.
Definition at line 68 of file module_private.h.
Definition at line 65 of file module_private.h.
Definition at line 72 of file module_private.h.
Definition at line 66 of file module_private.h.
Definition at line 73 of file module_private.h.
Definition at line 64 of file module_private.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference