kdebugdcopiface_skel.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009 #include "./kdebugdcopiface.h"
00010
00011 #include <kdatastream.h>
00012
00013
00014 static const char* const KDebugDCOPIface_ftable[2][3] = {
00015 { "void", "notifyKDebugConfigChanged()", "notifyKDebugConfigChanged()" },
00016 { 0, 0, 0 }
00017 };
00018 static const int KDebugDCOPIface_ftable_hiddens[1] = {
00019 0,
00020 };
00021
00022 bool KDebugDCOPIface::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
00023 {
00024 if ( fun == KDebugDCOPIface_ftable[0][1] ) {
00025 replyType = KDebugDCOPIface_ftable[0][0];
00026 notifyKDebugConfigChanged( );
00027 } else {
00028 return DCOPObject::process( fun, data, replyType, replyData );
00029 }
00030 return true;
00031 }
00032
00033 QCStringList KDebugDCOPIface::interfaces()
00034 {
00035 QCStringList ifaces = DCOPObject::interfaces();
00036 ifaces += "KDebugDCOPIface";
00037 return ifaces;
00038 }
00039
00040 QCStringList KDebugDCOPIface::functions()
00041 {
00042 QCStringList funcs = DCOPObject::functions();
00043 for ( int i = 0; KDebugDCOPIface_ftable[i][2]; i++ ) {
00044 if (KDebugDCOPIface_ftable_hiddens[i])
00045 continue;
00046 QCString func = KDebugDCOPIface_ftable[i][0];
00047 func += ' ';
00048 func += KDebugDCOPIface_ftable[i][2];
00049 funcs << func;
00050 }
00051 return funcs;
00052 }
00053
00054
This file is part of the documentation for kdecore Library Version 3.2.2.