kontact Library API Documentation

summarywidget_skel.cpp

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