Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

QCopChannel Class Reference

#include </home/clem/local/src/opie/x11/libqpe-x11/qt/qcopchannel_qws.h>

Inheritance diagram for QCopChannel:

Inheritance graph
[legend]
Collaboration diagram for QCopChannel:

Collaboration graph
[legend]
List of all members.

Signals

void received (const QCString &msg, const QByteArray &)

Public Member Functions

 QCopChannel (const QCString &channel, QObject *parent=0, const char *name=0)
virtual ~QCopChannel ()
QCString channel () const
void receive (const QCString &msg, const QByteArray &ar)

Static Public Member Functions

static bool isRegistered (const QCString &channel)
static bool send (const QCString &channel, const QCString &msg)
static bool send (const QCString &channel, const QCString &msg, const QByteArray &)
static bool sendLocally (const QCString &chan, const QCString &msg, const QByteArray &data)

Private Slots

void rev (const QCString &chan, const QCString &, const QByteArray &)

Private Member Functions

bool isRegisteredLocally (const QCString &str)

Private Attributes

QCString m_chan
Private * d

Static Private Attributes

static QList< QCopChannel > * m_list = 0
static QMap< QCString, int > m_refCount

Constructor & Destructor Documentation

QCopChannel::QCopChannel const QCString channel,
QObject *  parent = 0,
const char *  name = 0
 

Definition at line 9 of file qcopchannel_qws.cpp.

References QMap< Key, T >::contains(), m_chan, m_list, m_refCount, qWarning(), rev(), and OCOPClient::self().

Referenced by NetworkServer::NetworkServer().

QCopChannel::~QCopChannel  )  [virtual]
 

Definition at line 33 of file qcopchannel_qws.cpp.

References m_chan, m_list, m_refCount, and OCOPClient::self().


Member Function Documentation

QCString QCopChannel::channel  )  const
 

Definition at line 48 of file qcopchannel_qws.cpp.

References m_chan.

Referenced by sendLocally().

bool QCopChannel::isRegistered const QCString channel  )  [static]
 

Definition at line 51 of file qcopchannel_qws.cpp.

References QMap< Key, T >::contains(), m_refCount, qDebug(), and OCOPClient::self().

Referenced by OPimResolver::add(), Opie::OPimResolver::add(), AppLauncher::execute(), Global::invoke(), OpieStumbler::OpieStumbler(), QCopBridgePI::process(), OpieObex::SendWidget::scan_for_receivers(), KeyAction::sendKeyEvent(), MainWindow::slotLoad(), Ir::supported(), and Global::terminate().

bool QCopChannel::isRegisteredLocally const QCString str  )  [private]
 

void QCopChannel::receive const QCString msg,
const QByteArray ar
 

Reimplemented in NetworkEmitter, and NetworkServer.

Definition at line 30 of file qcopchannel_qws.cpp.

References received().

Referenced by sendLocally().

void QCopChannel::received const QCString msg,
const QByteArray
[signal]
 

Referenced by NetworkServer::NetworkServer(), and receive().

void QCopChannel::rev const QCString chan,
const QCString ,
const QByteArray
[private, slot]
 

Definition at line 81 of file qcopchannel_qws.cpp.

References sendLocally().

Referenced by QCopChannel().

bool QCopChannel::send const QCString channel,
const QCString msg,
const QByteArray
[static]
 

Definition at line 62 of file qcopchannel_qws.cpp.

References OCOPClient::self().

bool QCopChannel::send const QCString channel,
const QCString msg
[static]
 

Definition at line 58 of file qcopchannel_qws.cpp.

Referenced by Global::applyStyle(), AppLauncher::execute(), Global::hideInputMethod(), Opie::Core::Internal::Zaurus::hingeSensorTriggered(), QCopBridgePI::process(), Global::restart(), Global::showInputMethod(), Global::shutdown(), Opie::Core::Internal::Zaurus::suspend(), Opie::Core::OAbstractMobileDevice::suspend(), ButtonSettings::~ButtonSettings(), and QCopEnvelope::~QCopEnvelope().

bool QCopChannel::sendLocally const QCString chan,
const QCString msg,
const QByteArray data
[static]
 

Definition at line 67 of file qcopchannel_qws.cpp.

References channel(), m_list, qWarning(), and receive().

Referenced by rev(), and QPEApplication::Private::sendQCopQ().


Member Data Documentation

Private* QCopChannel::d [private]
 

Definition at line 39 of file qcopchannel_qws.h.

QCString QCopChannel::m_chan [private]
 

Definition at line 38 of file qcopchannel_qws.h.

Referenced by channel(), QCopChannel(), and ~QCopChannel().

QList< QCopChannel > * QCopChannel::m_list = 0 [static, private]
 

Definition at line 6 of file qcopchannel_qws.cpp.

Referenced by QCopChannel(), sendLocally(), and ~QCopChannel().

QMap< QCString, int > QCopChannel::m_refCount [static, private]
 

Definition at line 7 of file qcopchannel_qws.cpp.

Referenced by isRegistered(), QCopChannel(), and ~QCopChannel().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:46:24 2005 for OPIE by  doxygen 1.4.2