QTransportAuth::Data Struct Reference


Detailed Description

Definition at line 108 of file qtransportauth_qws.h.

#include <qtransportauth_qws.h>

List of all members.

Public Member Functions

  Data ()
  Data (unsigned char p, int d)
bool  trusted () const
void  setTrusted (bool)
bool  connection () const
void  setConnection (bool)

Public Attributes

unsigned char  properties
unsigned char  progId
unsigned char  status
unsigned int  descriptor
pid_t  processId

Constructor & Destructor Documentation

Data ( ) [inline]

Definition at line 110 of file qtransportauth_qws.h.

{ processId = -1; }
Data ( unsigned char  p,
int  d 
) [inline]

Definition at line 111 of file qtransportauth_qws.h.

            : properties( p )
            , descriptor( d )
            , processId( -1 )
        {
            if (( properties & TransportType ) == TCP ||
                ( properties & TransportType ) == UnixStreamSock )
                properties |= Connection;
        }

Member Function Documentation

bool trusted ( ) const
void setTrusted ( bool  )
bool connection ( ) const
void setConnection ( bool  )

Member Data Documentation

unsigned char properties
unsigned char progId
unsigned char status
unsigned int descriptor

The documentation for this struct was generated from the following file: