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[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     if (arg.atEnd()) return false;
00030     arg >> arg0;
00031     replyType = SummaryWidget_ftable[0][0]; 
00032     refresh(arg0 );
00033     } else if ( fun == SummaryWidget_ftable[1][1] ) { // void stationRemoved(QString)
00034     QString arg0;
00035     QDataStream arg( data, IO_ReadOnly );
00036     if (arg.atEnd()) return false;
00037     arg >> arg0;
00038     replyType = SummaryWidget_ftable[1][0]; 
00039     stationRemoved(arg0 );
00040     } else {
00041     return DCOPObject::process( fun, data, replyType, replyData );
00042     }
00043     return true;
00044 }
00045 
00046 QCStringList SummaryWidget::interfaces()
00047 {
00048     QCStringList ifaces = DCOPObject::interfaces();
00049     ifaces += "SummaryWidget";
00050     return ifaces;
00051 }
00052 
00053 QCStringList SummaryWidget::functions()
00054 {
00055     QCStringList funcs = DCOPObject::functions();
00056     for ( int i = 0; SummaryWidget_ftable[i][2]; i++ ) {
00057     if (SummaryWidget_ftable_hiddens[i])
00058         continue;
00059     QCString func = SummaryWidget_ftable[i][0];
00060     func += ' ';
00061     func += SummaryWidget_ftable[i][2];
00062     funcs << func;
00063     }
00064     return funcs;
00065 }
00066 
00067 
KDE Home | KDE Accessibility Home | Description of Access Keys