kitchensync Library API Documentation

ksharedfile_skel.cpp

00001 /**************************************************************************** 00002 ** 00003 ** DCOP Skeleton created by dcopidl2cpp from ksharedfile.kidl 00004 ** 00005 ** WARNING! All changes made in this file will be lost! 00006 ** 00007 *****************************************************************************/ 00008 00009 #include "./ksharedfile.h" 00010 00011 #include <kdatastream.h> 00012 00013 00014 static const char* const KSharedFile_ftable[2][3] = { 00015 { "ASYNC", "slotFileChanged(QString)", "slotFileChanged(QString)" }, 00016 { 0, 0, 0 } 00017 }; 00018 static const int KSharedFile_ftable_hiddens[1] = { 00019 0, 00020 }; 00021 00022 bool KSharedFile::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData) 00023 { 00024 if ( fun == KSharedFile_ftable[0][1] ) { // void slotFileChanged(QString) 00025 QString arg0; 00026 QDataStream arg( data, IO_ReadOnly ); 00027 arg >> arg0; 00028 replyType = KSharedFile_ftable[0][0]; 00029 slotFileChanged(arg0 ); 00030 } else { 00031 return DCOPObject::process( fun, data, replyType, replyData ); 00032 } 00033 return true; 00034 } 00035 00036 QCStringList KSharedFile::interfaces() 00037 { 00038 QCStringList ifaces = DCOPObject::interfaces(); 00039 ifaces += "KSharedFile"; 00040 return ifaces; 00041 } 00042 00043 QCStringList KSharedFile::functions() 00044 { 00045 QCStringList funcs = DCOPObject::functions(); 00046 for ( int i = 0; KSharedFile_ftable[i][2]; i++ ) { 00047 if (KSharedFile_ftable_hiddens[i]) 00048 continue; 00049 QCString func = KSharedFile_ftable[i][0]; 00050 func += ' '; 00051 func += KSharedFile_ftable[i][2]; 00052 funcs << func; 00053 } 00054 return funcs; 00055 } 00056 00057
KDE Logo
This file is part of the documentation for kitchensync Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 1 15:18:59 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003