summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise/securestream.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/securestream.h')
-rw-r--r--kopete/protocols/groupwise/libgroupwise/securestream.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/securestream.h b/kopete/protocols/groupwise/libgroupwise/securestream.h
index 36999b14..82752cea 100644
--- a/kopete/protocols/groupwise/libgroupwise/securestream.h
+++ b/kopete/protocols/groupwise/libgroupwise/securestream.h
@@ -39,11 +39,11 @@ public:
SecureStream(ByteStream *s);
~SecureStream();
- void startTLSClient(QCA::TLS *t, const QByteArray &spare=QByteArray());
- void startTLSServer(QCA::TLS *t, const QByteArray &spare=QByteArray());
- void setLayerSASL(QCA::SASL *s, const QByteArray &spare=QByteArray());
+ void startTLSClient(QCA::TLS *t, const TQByteArray &spare=TQByteArray());
+ void startTLSServer(QCA::TLS *t, const TQByteArray &spare=TQByteArray());
+ void setLayerSASL(QCA::SASL *s, const TQByteArray &spare=TQByteArray());
#ifdef USE_TLSHANDLER
- void startTLSClient(TLSHandler *t, const QString &server, const QByteArray &spare=QByteArray());
+ void startTLSClient(TLSHandler *t, const TQString &server, const TQByteArray &spare=TQByteArray());
#endif
void closeTLS();
@@ -51,7 +51,7 @@ public:
// reimplemented
bool isOpen() const;
- void write(const QByteArray &);
+ void write(const TQByteArray &);
int bytesToWrite() const;
signals:
@@ -63,17 +63,17 @@ private slots:
void bs_bytesWritten(int);
void layer_tlsHandshaken();
- void layer_tlsClosed(const QByteArray &);
- void layer_readyRead(const QByteArray &);
- void layer_needWrite(const QByteArray &);
+ void layer_tlsClosed(const TQByteArray &);
+ void layer_readyRead(const TQByteArray &);
+ void layer_needWrite(const TQByteArray &);
void layer_error(int);
private:
- void linkLayer(QObject *);
+ void linkLayer(TQObject *);
int calcPrebytes() const;
- void insertData(const QByteArray &a);
- void writeRawData(const QByteArray &a);
- void incomingData(const QByteArray &a);
+ void insertData(const TQByteArray &a);
+ void writeRawData(const TQByteArray &a);
+ void incomingData(const TQByteArray &a);
class Private;
Private *d;
@@ -96,7 +96,7 @@ USE_TLSHANDLER
int finished(int encoded);
int p;
- QValueList<Item> list;
+ TQValueList<Item> list;
};
@@ -110,8 +110,8 @@ public:
SecureLayer(TLSHandler *t);
#endif
void init();
- void write(const QByteArray &a);
- void writeIncoming(const QByteArray &a);
+ void write(const TQByteArray &a);
+ void writeIncoming(const TQByteArray &a);
int finished(int plain);
enum { TLS, SASL, TLSH };
@@ -129,9 +129,9 @@ public:
signals:
void tlsHandshaken();
- void tlsClosed(const QByteArray &);
- void readyRead(const QByteArray &);
- void needWrite(const QByteArray &);
+ void tlsClosed(const TQByteArray &);
+ void readyRead(const TQByteArray &);
+ void needWrite(const TQByteArray &);
void error(int);
private slots:
@@ -147,8 +147,8 @@ private slots:
void tlsHandler_success();
void tlsHandler_fail();
void tlsHandler_closed();
- void tlsHandler_readyRead(const QByteArray &a);
- void tlsHandler_readyReadOutgoing(const QByteArray &a, int plainBytes);
+ void tlsHandler_readyRead(const TQByteArray &a);
+ void tlsHandler_readyReadOutgoing(const TQByteArray &a, int plainBytes);
#endif
};