.TH "KNetwork::KUnixSocketAddress" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KNetwork::KUnixSocketAddress \- A Unix (local) socket address.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <ksocketaddress.h>\fP
.PP
Inherits \fBKNetwork::KSocketAddress\fP.
.PP
Inherited by KNetwork::KSocketAddressData::QMixSocketAddressRef.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKUnixSocketAddress\fP ()"
.br
.ti -1c
.RI "\fBKUnixSocketAddress\fP (const sockaddr *sa, Q_UINT16 len)"
.br
.ti -1c
.RI "\fBKUnixSocketAddress\fP (const \fBKUnixSocketAddress\fP &other)"
.br
.ti -1c
.RI "\fBKUnixSocketAddress\fP (const \fBQString\fP &pathname)"
.br
.ti -1c
.RI "virtual \fB~KUnixSocketAddress\fP ()"
.br
.ti -1c
.RI "\fBKUnixSocketAddress\fP & \fBoperator=\fP (const \fBKUnixSocketAddress\fP &other)"
.br
.ti -1c
.RI "\fBoperator const sockaddr_un *\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBpathname\fP () const "
.br
.ti -1c
.RI "\fBKUnixSocketAddress\fP & \fBsetPathname\fP (const \fBQString\fP &path)"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "\fBKUnixSocketAddress\fP (KSocketAddressData *d)"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBKSocketAddress\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
A Unix (local) socket address. 

This is a Unix socket address.
.PP
Note that this class uses QStrings to represent filenames, which means the proper encoding is used to translate into valid filesystem file names.
.PP
\fBAuthor:\fP
.RS 4
Thiago Macieira <thiago.macieira@kdemail.net> 
.RE
.PP

.PP
Definition at line 830 of file ksocketaddress.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KUnixSocketAddress::KUnixSocketAddress ()"
.PP
Default constructor. 
.PP
Creates an empty object. 
.PP
Definition at line 895 of file ksocketaddress.cpp.
.SS "KUnixSocketAddress::KUnixSocketAddress (const sockaddr * sa, Q_UINT16 len)"
.PP
Creates this object with the given raw data. 
.PP
If the sockaddr structure does not contain a Local namespace (Unix) socket, this object will be created empty.
.PP
\fBParameters:\fP
.RS 4
\fIsa\fP the socket address structure 
.br
\fIlen\fP the structure's length 
.RE
.PP

.PP
Definition at line 899 of file ksocketaddress.cpp.
.SS "KUnixSocketAddress::KUnixSocketAddress (const \fBKUnixSocketAddress\fP & other)"
.PP
Copy constructor. 
.PP
Creates a copy of the other object, sharing the data explicitly.
.PP
\fBParameters:\fP
.RS 4
\fIother\fP the other object 
.RE
.PP

.PP
Definition at line 906 of file ksocketaddress.cpp.
.SS "KUnixSocketAddress::KUnixSocketAddress (const \fBQString\fP & pathname)"
.PP
Constructs an object from the given pathname. 
.PP
Definition at line 911 of file ksocketaddress.cpp.
.PP
References pathname(), and setPathname().
.SS "KUnixSocketAddress::~\fBKUnixSocketAddress\fP ()\fC [virtual]\fP"
.PP
Destructor. 
.PP
Definition at line 921 of file ksocketaddress.cpp.
.SH "Member Function Documentation"
.PP 
.SS "\fBKUnixSocketAddress\fP & KUnixSocketAddress::operator= (const \fBKUnixSocketAddress\fP & other)"
.PP
Copy operator. 
.PP
Copies the contents of the other object into this one. Data is explicitly shared.
.PP
\fBParameters:\fP
.RS 4
\fIother\fP the other 
.RE
.PP

.PP
Definition at line 925 of file ksocketaddress.cpp.
.SS "KNetwork::KUnixSocketAddress::operator const sockaddr_un * () const\fC [inline]\fP"
.PP
Cast operator to sockaddr_un. 
.PP
Definition at line 878 of file ksocketaddress.h.
.PP
References KSocketAddress::address().
.SS "\fBQString\fP KUnixSocketAddress::pathname () const"
.PP
Returns the pathname associated with this object. 
.PP
Will return QString::null if this object is empty. 
.PP
Definition at line 931 of file ksocketaddress.cpp.
.PP
References QFile::decodeName().
.PP
Referenced by KUnixSocketAddress().
.SS "\fBKUnixSocketAddress\fP & KUnixSocketAddress::setPathname (const \fBQString\fP & path)"
.PP
Sets the pathname for the object. 
.PP
\fBReturns:\fP
.RS 4
a reference to itself 
.RE
.PP

.PP
Definition at line 938 of file ksocketaddress.cpp.
.PP
Referenced by KUnixSocketAddress().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdecore Library from the source code.
