|
|
typedef void (*dcop_callback_t) ( const char * object_id, const char * function, const char * data, unsigned int data_length ) | (*dcop_callback_t) |
#include <dcopc.h>
Bool dcop_attach (void)
| dcop_attach |
#include <dcopc.h>
Attach to the DCOP server. This registers you as anonymous-pid - you may then register with a 'real' name with dcop_register().
char * dcop_register (const char * app_name, Bool add_pid)
| dcop_register |
#include <dcopc.h>
Register as app 'app_name'. If add_pid is true, you will be registered as app_name-pid.
It might not be possible to give you the exact name you requested. In this case, the retval will be different to what you expect, so you should not rely on getting 'app_name'.
If it was not possible to register, retval is 0.
Parameters:
app_name | the name of the application. |
add_pid | the process id of the application |
Returns: the registered name, or 0 when the registration failed
Bool dcop_detach (void)
| dcop_detach |
#include <dcopc.h>
Detach from the DCOP server.
Returns: true if successful, false otherwise
Bool dcop_register_callback (const char * object_id, dcop_callback_t callback)
| dcop_register_callback |
#include <dcopc.h>
Register the callback function for an object id. This function should have signature dcop_callback_t. The name of the actual function that should be called is passed in the struct.
Parameters:
object_id | the object id to register |
callback | the callback for the object id |
Returns: true if successful, false otherwise
Bool dcop_send_signal (
const char * receiving_app,
const char * object,
const char * function,
char * data,
int data_length
)
| dcop_send_signal |
#include <dcopc.h>
Send a signal to a DCOP object.
Parameters:
receiving_app | Name the target application is registered under. Note that you may use wildcards here. For example, you could send to all 'konsole' objects that are registered using the '-pid' extension with "konsole-*". |
object | Name of the remote object. |
function | Name of the function to call. |
data | Marshalled arguments to pass to function. |
data_length | Number of octets in data. |
Returns: true if successful, false otherwise
Bool dcop_call (
const char * app_name,
const char * remote_app_name,
const char * remote_object_id,
const char * remote_function,
const char * data,
int data_length,
char ** reply_type,
char ** reply_data,
int * reply_data_length
)
| dcop_call |
#include <dcopc.h>
Call a function of a DCOP object.
Parameters:
app_name | Name this application is registered under. |
remote_app_name | Name the target application is registered under. |
remote_object_id | Name of the remote object. |
remote_function | Name of the function to call. |
data | Marshalled arguments to pass to function. |
data_length | Number of octets in data. |
reply_type | Will be set to type of retval, represented as a string. |
reply_data | Will be set to retval (marshalled). |
reply_data_length | Will be set to number of octets in retval. |
Returns: true if successful, false otherwise
typedef QValueList<QCString> QCStringList | QCStringList |
#include <dcopclient.h>
extern IcePoAuthStatus _KDE_IcePoMagicCookie1Proc (IceConn, void **, int, int, int, void *, int *, void **, char **)
| _KDE_IcePoMagicCookie1Proc |
#include <dcopglobal.h>
extern IcePaAuthStatus _KDE_IcePaMagicCookie1Proc (IceConn, void **, int, int, void *, int *, void **, char **)
| _KDE_IcePaMagicCookie1Proc |
#include <dcopglobal.h>
typedef QValueList<QCString> QCStringList | QCStringList |
#include <dcopobject.h>
inline const char* dcopTypeName ( const DCOPArg &arg )
| dcopTypeName |
#include <dcopref.h>
inline QDataStream & operator << (QDataStream & str, const DCOPArg& arg )
| operator << |
#include <dcopref.h>
QDataStream& operator<< ( QDataStream&, const DCOPRef& ref )
| operator<< |
#include <dcopref.h>
Writes the reference (NOT the object itself) to the stream.
QDataStream& operator>> ( QDataStream&, DCOPRef& ref )
| operator>> |
#include <dcopref.h>
Reads a reference from the stream.
typedef QValueList<QCString> QCStringList | QCStringList |
#include <dcopserver.h>
inline const char* dcopTypeName ( bool )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( char )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( uchar )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( int )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( uint )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( long )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( ulong )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( double )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( float )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const char* )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const DCOPRef& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QString& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QCString& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QFont& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QPixmap& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QBrush& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QRect& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QPoint& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QImage& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QSize& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QColor& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QPalette& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QColorGroup& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QIconSet& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QDataStream& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QPointArray& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QRegion& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QBitmap& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QCursor& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QStringList& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QSizePolicy& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QDate& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QTime& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QDateTime& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QBitArray& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QKeySequence& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const QVariant& )
| dcopTypeName |
#include <dcoptypes.h>
inline const char* dcopTypeName ( const KURL& )
| dcopTypeName |
#include <dcoptypes.h>
template | dcopTypeName |
#include <dcoptypes.h>
inline void dcopTypeInit (bool& b)
| dcopTypeInit |
#include <dcoptypes.h>
inline void dcopTypeInit (char& c)
| dcopTypeInit |
#include <dcoptypes.h>
inline void dcopTypeInit (uchar& c)
| dcopTypeInit |
#include <dcoptypes.h>
inline void dcopTypeInit (int& i)
| dcopTypeInit |
#include <dcoptypes.h>
inline void dcopTypeInit (uint& i)
| dcopTypeInit |
#include <dcoptypes.h>
inline void dcopTypeInit (long& l)
| dcopTypeInit |
#include <dcoptypes.h>
inline void dcopTypeInit (ulong& l)
| dcopTypeInit |
#include <dcoptypes.h>
inline void dcopTypeInit (float& f)
| dcopTypeInit |
#include <dcoptypes.h>
inline void dcopTypeInit (double& d)
| dcopTypeInit |
#include <dcoptypes.h>
inline void dcopTypeInit (const char* s )
| dcopTypeInit |
#include <dcoptypes.h>
template | dcopTypeInit |
#include <dcoptypes.h>
inline QDataStream & operator << (QDataStream & str, bool b)
| operator << |
#include <kdatastream.h>
inline QDataStream & operator >> (QDataStream & str, bool & b)
| operator >> |
#include <kdatastream.h>
inline QDataStream & operator << (QDataStream & str, long long int ll)
| operator << |
#include <kdatastream.h>
inline QDataStream & operator >> (QDataStream & str, long long int&ll)
| operator >> |
#include <kdatastream.h>
inline QDataStream & operator << (QDataStream & str, unsigned long long int ll)
| operator << |
#include <kdatastream.h>
inline QDataStream & operator >> (QDataStream & str, unsigned long long int &ll)
| operator >> |
#include <kdatastream.h>
Generated by: caleb on tcdevel on Tue Jan 28 12:54:00 2003, using kdoc $. |