kio Library API Documentation

kbookmarkmanager_skel.cc

00001 /**************************************************************************** 00002 ** 00003 ** DCOP Skeleton created 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 arg >> arg0; 00032 replyType = KBookmarkManager_ftable[0][0]; 00033 notifyCompleteChange(arg0 ); 00034 } else if ( fun == KBookmarkManager_ftable[1][1] ) { // void notifyChanged(QString) 00035 QString arg0; 00036 QDataStream arg( data, IO_ReadOnly ); 00037 arg >> arg0; 00038 replyType = KBookmarkManager_ftable[1][0]; 00039 notifyChanged(arg0 ); 00040 } else if ( fun == KBookmarkManager_ftable[2][1] ) { // void notifyConfigChanged() 00041 replyType = KBookmarkManager_ftable[2][0]; 00042 notifyConfigChanged( ); 00043 } else { 00044 return DCOPObject::process( fun, data, replyType, replyData ); 00045 } 00046 return true; 00047 } 00048 00049 QCStringList KBookmarkManager::interfaces() 00050 { 00051 QCStringList ifaces = DCOPObject::interfaces(); 00052 ifaces += "KBookmarkManager"; 00053 return ifaces; 00054 } 00055 00056 QCStringList KBookmarkManager::functions() 00057 { 00058 QCStringList funcs = DCOPObject::functions(); 00059 for ( int i = 0; KBookmarkManager_ftable[i][2]; i++ ) { 00060 if (KBookmarkManager_ftable_hiddens[i]) 00061 continue; 00062 QCString func = KBookmarkManager_ftable[i][0]; 00063 func += ' '; 00064 func += KBookmarkManager_ftable[i][2]; 00065 funcs << func; 00066 } 00067 return funcs; 00068 } 00069 00070
KDE Logo
This file is part of the documentation for kio Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Oct 10 18:55:25 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003