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