-class EventManager : public QObject {
- Q_OBJECT
- Q_ENUMS(EventType)
-
-public:
-
- enum RegistrationMode {
- Prepend,
- Append
- };
-
- /*
-
- */
- enum EventType {
- Invalid = 0xffffffff,
- GenericEvent = 0x000000,
-
- IrcServerEvent = 0x010000,
- IrcServerLooking = 0x010001,
- IrcServerConnecting = 0x010002,
- IrcServerConnected = 0x010003,
- IrcServerConnectionFailure = 0x010004,
- IrcServerDisconnected = 0x010005,
- IrcServerQuit = 0x010006,
-
- IrcServerIncoming = 0x010007,
-
- IrcEvent = 0x020000,
- IrcEventCap = 0x020001,
- IrcEventCapAuthenticate = 0x020002,
- IrcEventInvite = 0x020003,
- IrcEventJoin = 0x020004,
- IrcEventKick = 0x020005,
- IrcEventMode = 0x020006,
- IrcEventNick = 0x020007,
- IrcEventNotice = 0x020008,
- IrcEventPart = 0x020009,
- IrcEventPing = 0x02000a,
- IrcEventPong = 0x02000b,
- IrcEventPrivmsg = 0x02000c,
- IrcEventQuit = 0x02000d,
- IrcEventTopic = 0x02000e,
-
- IrcEventNumeric = 0x021000 /* needs 1000 (0x03e8) consecutive free values! */
- };
-
- EventManager(QObject *parent = 0);
- //virtual ~EventManager();
-
- QStringList providesEnums();