QtGui/qtransportauth_qws.h Source File
Go to the documentation of this file.
42 #ifndef QTRANSPORTAUTH_QWS_H
43 #define QTRANSPORTAUTH_QWS_H
47 #if !defined(QT_NO_SXE) || defined(SXE_INSTALLER)
55 #include <sys/types.h>
66 class QTransportAuthPrivate;
99 UnixStreamSock = 0x04,
116 if (( properties & TransportType ) == TCP ||
117 ( properties & TransportType ) == UnixStreamSock )
118 properties |= Connection;
127 bool trusted()
const;
128 void setTrusted(
bool );
129 bool connection()
const;
130 void setConnection(
bool );
139 QIODevice *passThroughByClient( QWSClient * )
const;
141 void setKeyFilePath(
const QString & );
143 const unsigned char *getClientKey(
unsigned char progId );
144 void invalidateClientKeyCache();
145 QMutex *getKeyFileMutex();
146 void setLogFilePath(
const QString & );
148 void setPackageRegistry( QObject *registry );
149 bool isDiscoveryMode()
const;
150 void setProcessKey(
const char * );
151 void setProcessKey(
const char *,
const char * );
152 void registerPolicyReceiver( QObject * );
153 void unregisterPolicyReceiver( QObject * );
164 void bufferDestroyed( QObject * );
171 friend class QAuthDevice;
224 void recvReadyRead();
225 void targetBytesWritten(
qint64 );
227 bool authorizeMessage();
258 return m_bytesAvailable;
265 return msgQueue.
size();
281 #endif // QTRANSPORTAUTH_QWS_H
QIODevice * target() const
QString operator()(QByteArray *data)
bool requireMoreData() const
Data(unsigned char p, int d)
qint64 bytesToWrite() const
virtual bool isSequential() const
virtual qint64 writeData(const char *data, qint64 len)=0
qint64 bytesAvailable() const
virtual qint64 bytesToWrite() const
virtual qint64 readData(char *data, qint64 maxlen)=0
#define QT_BEGIN_NAMESPACE
GLsizei GLsizei GLenum GLenum const GLvoid * data
qint64 bytesAnalyzed() const
void setTarget(QIODevice *t)
virtual qint64 bytesAvailable() const
virtual bool atEnd() const
Pass-through QIODevice sub-class for authentication.
bool isSequential() const
virtual bool seek(qint64 pos)