Home · Modules · Classes · Namespaces · Functions

QxtLineSocket Class Reference
[QxtCore module]

The QxtLineSocket class acts on a QIODevice as baseclass for line-based protocols More...

    #include <QxtLineSocket>

Inherits QObject.

Public Functions

Public Slots

Signals

Protected Functions

Additional Inherited Members


Detailed Description

The QxtLineSocket class acts on a QIODevice as baseclass for line-based protocols


Member Function Documentation

QxtLineSocket::QxtLineSocket ( QObject * parent = 0 )

Constructs a new QxtLineSocket with parent.

QxtLineSocket::QxtLineSocket ( QIODevice * socket, QObject * parent = 0 )

Constructs a new QxtLineSocket with socket and parent.

void QxtLineSocket::newLine ( const QByteArray & line )   [virtual protected]

This virtual function is called by QxtLineSocket whenever a line was received. Reimplement this function when creating a subclass of QxtLineSocket.

\noteThe default implementation does nothing.

void QxtLineSocket::newLineReceived ( const QByteArray & line )   [signal]

This signal is emitted whenever a new line is received.

void QxtLineSocket::sendLine ( const QByteArray & line )   [slot]

Sends a line.

void QxtLineSocket::setSocket ( QIODevice * socket )

Sets the socket.

See also socket().

QIODevice * QxtLineSocket::socket () const

Returns the socket.

See also setSocket().


Copyright © 2007-2011 Qxt Foundation
Qxt 0.6.2