kio Library API Documentation

kbookmarkmanager_skel.cc

00001 /**************************************************************************** 00002 ** 00003 ** DCOP Skeleton generated by dcopidl2cpp from kbookmarkmanager.kidl 00004 ** 00005 ** WARNING! All changes made in this file will be lost! 00006 ** 00007 *****************************************************************************/ 00008 00009 #include "./kbookmarkmanager.h" 00010 00011 #include <kdatastream.h> 00012 00013 00014 static const char* const KBookmarkManager_ftable[4][3] = { 00015 { "ASYNC", "notifyCompleteChange(QString)", "notifyCompleteChange(QString caller)" }, 00016 { "ASYNC", "notifyChanged(QString)", "notifyChanged(QString groupAddress)" }, 00017 { "ASYNC", "notifyConfigChanged()", "notifyConfigChanged()" }, 00018 { 0, 0, 0 } 00019 }; 00020 static const int KBookmarkManager_ftable_hiddens[3] = { 00021 0, 00022 0, 00023 0, 00024 }; 00025 00026 bool KBookmarkManager::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData) 00027 { 00028 if ( fun == KBookmarkManager_ftable[0][1] ) { // void notifyCompleteChange(QString) 00029 QString arg0; 00030 QDataStream arg( data, IO_ReadOnly ); 00031 if (arg.atEnd()) return false; 00032 arg >> arg0; 00033 replyType = KBookmarkManager_ftable[0][0]; 00034 notifyCompleteChange(arg0 ); 00035 } else if ( fun == KBookmarkManager_ftable[1][1] ) { // void notifyChanged(QString) 00036 QString arg0; 00037 QDataStream arg( data, IO_ReadOnly ); 00038 if (arg.atEnd()) return false; 00039 arg >> arg0; 00040 replyType = KBookmarkManager_ftable[1][0]; 00041 notifyChanged(arg0 ); 00042 } else if ( fun == KBookmarkManager_ftable[2][1] ) { // void notifyConfigChanged() 00043 replyType = KBookmarkManager_ftable[2][0]; 00044 notifyConfigChanged( ); 00045 } else { 00046 return DCOPObject::process( fun, data, replyType, replyData ); 00047 } 00048 return true; 00049 } 00050 00051 QCStringList KBookmarkManager::interfaces() 00052 { 00053 QCStringList ifaces = DCOPObject::interfaces(); 00054 ifaces += "KBookmarkManager"; 00055 return ifaces; 00056 } 00057 00058 QCStringList KBookmarkManager::functions() 00059 { 00060 QCStringList funcs = DCOPObject::functions(); 00061 for ( int i = 0; KBookmarkManager_ftable[i][2]; i++ ) { 00062 if (KBookmarkManager_ftable_hiddens[i]) 00063 continue; 00064 QCString func = KBookmarkManager_ftable[i][0]; 00065 func += ' '; 00066 func += KBookmarkManager_ftable[i][2]; 00067 funcs << func; 00068 } 00069 return funcs; 00070 } 00071 00072
KDE Logo
This file is part of the documentation for kio Library Version 3.4.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Apr 12 23:09:07 2005 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003