2 qcatlshandler.h - Kopete Groupwise Protocol
4 Copyright (c) 2004 SUSE Linux AG http://www.suse.com
6 Based on Iris, Copyright (C) 2003 Justin Karneges <justin@affinix.com>
8 Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
10 *************************************************************************
12 * This library is free software; you can redistribute it and/or *
13 * modify it under the terms of the GNU Lesser General Public *
14 * License as published by the Free Software Foundation; either *
15 * version 2 of the License, or (at your option) any later version. *
17 *************************************************************************
20 #ifndef GWQCATLSHANDLER_H
21 #define GWQCATLSHANDLER_H
24 #include "libgroupwise_export.h"
25 #include "tlshandler.h"
32 class LIBGROUPWISE_EXPORT QCATLSHandler
: public TLSHandler
36 QCATLSHandler(QCA::TLS
*parent
);
39 QCA::TLS
*tls() const;
43 void startClient(const QString
&host
);
44 void write(const QByteArray
&a
);
45 void writeIncoming(const QByteArray
&a
);
51 void continueAfterHandshake();
54 void tls_handshaken();
56 void tls_readyReadOutgoing();