dcop
dcopclient.cpp File Reference
#include <qobjectlist.h>
#include <qmetaobject.h>
#include <qvariant.h>
#include <qtimer.h>
#include <qintdict.h>
#include <qeventloop.h>
#include "config.h"
#include <dcopref.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <unistd.h>
#include <ctype.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <qguardedptr.h>
#include <qtextstream.h>
#include <qfile.h>
#include <qdir.h>
#include <qapplication.h>
#include <qsocketnotifier.h>
#include <qregexp.h>
#include <private/qucomextra_p.h>
#include <dcopglobal.h>
#include <dcopclient.h>
#include <dcopobject.h>
#include <KDE-ICE/ICElib.h>
#include <KDE-ICE/ICEutil.h>
#include <KDE-ICE/ICEmsg.h>
#include <KDE-ICE/ICEproto.h>
#include <dcopclient.moc>
Go to the source code of this file.
Typedefs | |
typedef QAsciiDict< DCOPClient > | client_map_t |
Functions | |
static client_map_t * | cliMap () |
static void | DCOPProcessInternal (DCOPClientPrivate *d, int opcode, CARD32 key, const QByteArray &dataReceived, bool canPost) |
static void | DCOPProcessMessage (IceConn iceConn, IcePointer clientObject, int opcode, unsigned long length, Bool, IceReplyWaitInfo *replyWait, Bool *replyWaitRet) |
static QCString | dcopServerFile (const QCString &hostname, bool old) |
static void | fillQtObjects (QCStringList &l, QObject *o, QCString path) |
static void | fillQtObjectsEx (QValueList< O > &l, QObject *o, QCString path) |
static QObject * | findQtObject (QCString id) |
static QCStringList | findQtObjects (QCString id) |
static bool | findResultOk (QCString &replyType, QByteArray &replyData) |
static bool | findSuccess (const QCString &app, const QCString objId, QCString &replyType, QByteArray &replyData) |
static bool | isIdentChar (char x) |
static bool | isServerSocketOwnedByUser (const char *server) |
static bool | receiveQtObject (const QCString &objId, const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &replyData) |
static void | registerLocalClient (const QCString &_appId, DCOPClient *client) |
static void | unregisterLocalClient (const QCString &_appId) |
Variables | |
static DCOPClient * | dcop_main_client = 0 |
static client_map_t * | DCOPClient_CliMap = 0 |
static IcePoVersionRec | DCOPClientVersions [] |
QMap< QCString, DCOPObject * > * | kde_dcopObjMap |
Typedef Documentation
typedef QAsciiDict<DCOPClient> client_map_t |
Definition at line 87 of file dcopclient.cpp.
Function Documentation
static client_map_t* cliMap | ( | ) | [static] |
Definition at line 91 of file dcopclient.cpp.
void DCOPProcessInternal | ( | DCOPClientPrivate * | d, | |
int | opcode, | |||
CARD32 | key, | |||
const QByteArray & | dataReceived, | |||
bool | canPost | |||
) | [static] |
static void DCOPProcessMessage | ( | IceConn | iceConn, | |
IcePointer | clientObject, | |||
int | opcode, | |||
unsigned long | length, | |||
Bool | , | |||
IceReplyWaitInfo * | replyWait, | |||
Bool * | replyWaitRet | |||
) | [static] |
Definition at line 242 of file dcopclient.cpp.
static void fillQtObjects | ( | QCStringList & | l, | |
QObject * | o, | |||
QCString | path | |||
) | [static] |
Definition at line 1326 of file dcopclient.cpp.
static void fillQtObjectsEx | ( | QValueList< O > & | l, | |
QObject * | o, | |||
QCString | path | |||
) | [static] |
Definition at line 1363 of file dcopclient.cpp.
Definition at line 1390 of file dcopclient.cpp.
static QCStringList findQtObjects | ( | QCString | id | ) | [static] |
Definition at line 1407 of file dcopclient.cpp.
static bool findResultOk | ( | QCString & | replyType, | |
QByteArray & | replyData | |||
) | [static] |
Definition at line 1655 of file dcopclient.cpp.
static bool findSuccess | ( | const QCString & | app, | |
const QCString | objId, | |||
QCString & | replyType, | |||
QByteArray & | replyData | |||
) | [static] |
Definition at line 1669 of file dcopclient.cpp.
static bool isIdentChar | ( | char | x | ) | [inline, static] |
Definition at line 1008 of file dcopclient.cpp.
static bool isServerSocketOwnedByUser | ( | const char * | server | ) | [static] |
Definition at line 726 of file dcopclient.cpp.
static bool receiveQtObject | ( | const QCString & | objId, | |
const QCString & | fun, | |||
const QByteArray & | data, | |||
QCString & | replyType, | |||
QByteArray & | replyData | |||
) | [static] |
Definition at line 1420 of file dcopclient.cpp.
static void registerLocalClient | ( | const QCString & | _appId, | |
DCOPClient * | client | |||
) | [static] |
Definition at line 104 of file dcopclient.cpp.
static void unregisterLocalClient | ( | const QCString & | _appId | ) | [static] |
Definition at line 110 of file dcopclient.cpp.
Variable Documentation
DCOPClient* dcop_main_client = 0 [static] |
Definition at line 581 of file dcopclient.cpp.
client_map_t* DCOPClient_CliMap = 0 [static] |
Definition at line 88 of file dcopclient.cpp.
IcePoVersionRec DCOPClientVersions[] [static] |
Initial value:
Definition at line 576 of file dcopclient.cpp.
Definition at line 28 of file dcopobject.cpp.