2
kircsocket.cpp - IRC socket.
4
Copyright (c) 2002 by Nick Betcher <nbetcher@kde.org>
5
Copyright (c) 2003-2007 by Michel Hermier <michel.hermier@gmail.com>
6
Copyright (c) 2006 by Tommi Rantala <tommi.rantala@cs.helsinki.fi>
8
Kopete (c) 2002-2007 by the Kopete developers <kopete-devel@kde.org>
10
*************************************************************************
12
* This program is free software; you can redistribute it and/or modify *
13
* it under the terms of the GNU General Public License as published by *
14
* the Free Software Foundation; either version 2 of the License, or *
15
* (at your option) any later version. *
17
*************************************************************************
20
#ifndef KIRCSOCKET_P_H
21
#define KIRCSOCKET_P_H
23
#include "kircsocket.h"
31
class KIRC_EXPORT SocketPrivate
35
Q_DECLARE_PUBLIC(KIrc::Socket)
38
explicit SocketPrivate(KIrc::Socket *socket);
41
void socketGotError(QAbstractSocket::SocketError);
42
void socketReadyRead();
47
KIrc::Context *context;
48
QAbstractSocket *socket;
49
KIrc::Socket::ConnectionState state;
50
KIrc::EntityPtr owner;