kontact

summarywidget_skel.cpp

00001 /****************************************************************************
00002 **
00003 ** DCOP Skeleton generated 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[2][3] = {
00015     { "void", "receiveDaemonStatusDetails(QDateTime,QString,QStringList,QString,QString,QString,bool)", "receiveDaemonStatusDetails(QDateTime,QString,QStringList,QString,QString,QString,bool)" },
00016     { 0, 0, 0 }
00017 };
00018 static const int SummaryWidget_ftable_hiddens[1] = {
00019     0,
00020 };
00021 
00022 bool SummaryWidget::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
00023 {
00024     if ( fun == SummaryWidget_ftable[0][1] ) { // void receiveDaemonStatusDetails(QDateTime,QString,QStringList,QString,QString,QString,bool)
00025     QDateTime arg0;
00026     QString arg1;
00027     QStringList arg2;
00028     QString arg3;
00029     QString arg4;
00030     QString arg5;
00031     bool arg6;
00032     QDataStream arg( data, IO_ReadOnly );
00033     if (arg.atEnd()) return false;
00034     arg >> arg0;
00035     if (arg.atEnd()) return false;
00036     arg >> arg1;
00037     if (arg.atEnd()) return false;
00038     arg >> arg2;
00039     if (arg.atEnd()) return false;
00040     arg >> arg3;
00041     if (arg.atEnd()) return false;
00042     arg >> arg4;
00043     if (arg.atEnd()) return false;
00044     arg >> arg5;
00045     if (arg.atEnd()) return false;
00046     arg >> arg6;
00047     replyType = SummaryWidget_ftable[0][0]; 
00048     receiveDaemonStatusDetails(arg0, arg1, arg2, arg3, arg4, arg5, arg6 );
00049     } else {
00050     return DCOPObject::process( fun, data, replyType, replyData );
00051     }
00052     return true;
00053 }
00054 
00055 QCStringList SummaryWidget::interfaces()
00056 {
00057     QCStringList ifaces = DCOPObject::interfaces();
00058     ifaces += "SummaryWidget";
00059     return ifaces;
00060 }
00061 
00062 QCStringList SummaryWidget::functions()
00063 {
00064     QCStringList funcs = DCOPObject::functions();
00065     for ( int i = 0; SummaryWidget_ftable[i][2]; i++ ) {
00066     if (SummaryWidget_ftable_hiddens[i])
00067         continue;
00068     QCString func = SummaryWidget_ftable[i][0];
00069     func += ' ';
00070     func += SummaryWidget_ftable[i][2];
00071     funcs << func;
00072     }
00073     return funcs;
00074 }
00075 
00076 
KDE Home | KDE Accessibility Home | Description of Access Keys