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[3][3] = {
00015     { "ASYNC", "notifyCompleteChange(QString)", "notifyCompleteChange(QString caller)" },
00016     { "ASYNC", "notifyChanged(QString)", "notifyChanged(QString groupAddress)" },
00017     { 0, 0, 0 }
00018 };
00019 
00020 bool KBookmarkManager::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
00021 {
00022     if ( fun == KBookmarkManager_ftable[0][1] ) { // void notifyCompleteChange(QString)
00023     QString arg0;
00024     QDataStream arg( data, IO_ReadOnly );
00025     arg >> arg0;
00026     replyType = KBookmarkManager_ftable[0][0]; 
00027     notifyCompleteChange(arg0 );
00028     } else if ( fun == KBookmarkManager_ftable[1][1] ) { // void notifyChanged(QString)
00029     QString arg0;
00030     QDataStream arg( data, IO_ReadOnly );
00031     arg >> arg0;
00032     replyType = KBookmarkManager_ftable[1][0]; 
00033     notifyChanged(arg0 );
00034     } else {
00035     return DCOPObject::process( fun, data, replyType, replyData );
00036     }
00037     return TRUE;
00038 }
00039 
00040 QCStringList KBookmarkManager::interfaces()
00041 {
00042     QCStringList ifaces = DCOPObject::interfaces();
00043     ifaces += "KBookmarkManager";
00044     return ifaces;
00045 }
00046 
00047 QCStringList KBookmarkManager::functions()
00048 {
00049     QCStringList funcs = DCOPObject::functions();
00050     for ( int i = 0; KBookmarkManager_ftable[i][2]; i++ ) {
00051     QCString func = KBookmarkManager_ftable[i][0];
00052     func += ' ';
00053     func += KBookmarkManager_ftable[i][2];
00054     funcs << func;
00055     }
00056     return funcs;
00057 }
00058 
00059 
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sun Feb 27 22:15:29 2005 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001