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

QCopBridge Class Reference

#include </home/clem/local/src/opie/core/launcher/qcopbridge.h>

Collaboration diagram for QCopBridge:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Mode { Qtopia1_7 = 0x01, Sharp = 0x02, IntelliSync = 0x04 }

Public Slots

void closed (QCopBridgePI *pi)
void desktopMessage (const QCString &call, const QByteArray &)
void connectionClosed (QCopBridgePI *pi)
void desktopMessage (const QCString &call, const QByteArray &)

Signals

void connectionClosed (const QHostAddress &)

Public Member Functions

 QCopBridge (Q_UINT16 port, QObject *parent=0, const char *name=0)
virtual ~QCopBridge ()
void newConnection (int socket)
void closeOpenConnections ()
void authorizeConnections ()
 QCopBridge (Q_UINT16 port, QObject *parent=0, const char *name=0)
virtual ~QCopBridge ()
void newConnection (int socket)
void closeOpenConnections ()

Protected Member Functions

void timerEvent (QTimerEvent *)
void sendDesktopMessageOld (const QCString &, const QByteArray &)
void timerEvent (QTimerEvent *)

Private Attributes

QCopChanneldesktopChannel
QCopChannelcardChannel
QList< QCopBridgePIopenConnections
bool sendSync
Mode m_mode
QCopChanneldesktopChannel
QCopChannelcardChannel
QList< QCopBridgePIopenConnections

Member Enumeration Documentation

enum QCopBridge::Mode
 

Enumeration values:
Qtopia1_7 
Sharp 
IntelliSync 

Definition at line 41 of file qcopbridge.h.


Constructor & Destructor Documentation

QCopBridge::QCopBridge Q_UINT16  port,
QObject *  parent = 0,
const char *  name = 0
 

Definition at line 58 of file qcopbridge.cpp.

References authorizeConnections(), cardChannel, desktopChannel, desktopMessage(), FALSE, oendl, openConnections, owarn, sendSync, and TRUE.

QCopBridge::~QCopBridge  )  [virtual]
 

Definition at line 82 of file qcopbridge.cpp.

References desktopChannel.

QCopBridge::QCopBridge Q_UINT16  port,
QObject *  parent = 0,
const char *  name = 0
 

virtual QCopBridge::~QCopBridge  )  [virtual]
 


Member Function Documentation

void QCopBridge::authorizeConnections  ) 
 

Definition at line 89 of file qcopbridge.cpp.

References closed(), connectionClosed(), m_mode, openConnections, Config::readNumEntry(), Config::setGroup(), and Sharp.

Referenced by QCopBridge().

void QCopBridge::closed QCopBridgePI pi  )  [slot]
 

Definition at line 124 of file qcopbridge.cpp.

References connectionClosed(), QPEApplication::Enable, and openConnections.

Referenced by authorizeConnections(), and newConnection().

void QCopBridge::closeOpenConnections  ) 
 

void QCopBridge::closeOpenConnections  ) 
 

Definition at line 139 of file qcopbridge.cpp.

References openConnections.

void QCopBridge::connectionClosed QCopBridgePI pi  )  [slot]
 

Definition at line 93 of file qcopbridge.cpp.

References QPEApplication::Enable, and openConnections.

void QCopBridge::connectionClosed const QHostAddress &   )  [signal]
 

Referenced by authorizeConnections(), closed(), and newConnection().

void QCopBridge::desktopMessage const QCString call,
const QByteArray
[slot]
 

void QCopBridge::desktopMessage const QCString call,
const QByteArray
[slot]
 

Definition at line 147 of file qcopbridge.cpp.

References IntelliSync, m_mode, openConnections, Qtopia1_7, QCopBridgePI::sendDesktopMessage(), sendDesktopMessageOld(), sendSync, Sharp, and TRUE.

Referenced by QCopBridge().

void QCopBridge::newConnection int  socket  ) 
 

void QCopBridge::newConnection int  socket  ) 
 

Definition at line 104 of file qcopbridge.cpp.

References closed(), connectionClosed(), QPEApplication::DisableSuspend, FALSE, openConnections, and sendSync.

void QCopBridge::sendDesktopMessageOld const QCString ,
const QByteArray
[protected]
 

Definition at line 170 of file qcopbridge.cpp.

References QString::append(), QValueList< T >::begin(), QChar::cell(), QValueList< T >::count(), data, QValueList< T >::end(), QCString::find(), QString::fromLocal8Bit(), i, IO_ReadOnly, QString::length(), QCString::mid(), QString::number(), odebug, oendl, openConnections, QChar::row(), QCopBridgePI::sendDesktopMessage(), QStringList::split(), str, stream, QCString::stripWhiteSpace(), and QString::truncate().

Referenced by desktopMessage().

void QCopBridge::timerEvent QTimerEvent *   )  [protected]
 

void QCopBridge::timerEvent QTimerEvent *   )  [protected]
 

Definition at line 248 of file qcopbridge.cpp.

References FALSE, and sendSync.


Member Data Documentation

QCopChannel* QCopBridge::cardChannel [private]
 

Definition at line 53 of file qcopbridge.h.

QCopChannel* QCopBridge::cardChannel [private]
 

Definition at line 62 of file qcopbridge.h.

Referenced by QCopBridge().

QCopChannel* QCopBridge::desktopChannel [private]
 

Definition at line 52 of file qcopbridge.h.

QCopChannel* QCopBridge::desktopChannel [private]
 

Definition at line 61 of file qcopbridge.h.

Referenced by QCopBridge(), and ~QCopBridge().

Mode QCopBridge::m_mode [private]
 

Definition at line 65 of file qcopbridge.h.

Referenced by authorizeConnections(), and desktopMessage().

QList<QCopBridgePI> QCopBridge::openConnections [private]
 

Definition at line 54 of file qcopbridge.h.

QList<QCopBridgePI> QCopBridge::openConnections [private]
 

Definition at line 63 of file qcopbridge.h.

Referenced by authorizeConnections(), closed(), closeOpenConnections(), connectionClosed(), desktopMessage(), newConnection(), QCopBridge(), and sendDesktopMessageOld().

bool QCopBridge::sendSync [private]
 

Definition at line 55 of file qcopbridge.h.

Referenced by desktopMessage(), newConnection(), QCopBridge(), and timerEvent().


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