MyDCOPObject Class Reference
$QTDIR/bin/moc testdcop.cpp -o testdcop.moc g++ -o testdcop testdcop.cpp -I$KDEDIR/include -I$QTDIR/include -L$KDEDIR/lib -L$QTDIR/lib -lkdecore -ldl More...
#include <testdcop.h>
Inheritance diagram for MyDCOPObject:


Public Slots | |
void | registered (const QCString &appName) |
void | unregistered (const QCString &appName) |
QCStringList | functions () |
Returns the list of functions understood by the object. | |
Public Member Functions | |
MyDCOPObject (const QCString &name) | |
bool | process (const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &replyData) |
Dispatches a message. | |
void | function (const QString &arg1, int arg2) |
Detailed Description
$QTDIR/bin/moc testdcop.cpp -o testdcop.moc g++ -o testdcop testdcop.cpp -I$KDEDIR/include -I$QTDIR/include -L$KDEDIR/lib -L$QTDIR/lib -lkdecore -ldl
Definition at line 45 of file testdcop.h.
Member Function Documentation
|
Dispatches a message. Usually you want to use an IDL compiler to automatically generate an implementation for this function. If this function returns false, then processDynamic() is called. Note to implementators: remember to call the baseclasses implementation. It handles the functions "functions()" and "interfaces()" which return the lists of supported functions and interfaces, respectively.
Reimplemented from DCOPObject. Definition at line 28 of file testdcop.cpp. References DCOPObject::objId(), and DCOPObject::process(). |
|
Returns the list of functions understood by the object. It gets reimplemented by the IDL compiler. If you don't use the IDL compiler, consider implementing this function manually if you want your object to be easily scriptable. Rationale: functions() allows an interpreter to do client-side type-casting properly. Note to implementators: remember to call the baseclasses implementation.
Reimplemented from DCOPObject. Definition at line 67 of file testdcop.cpp. References DCOPObject::functions(). |
The documentation for this class was generated from the following files: