kontact
summarywidget_skel.cpp00001
00002
00003
00004
00005
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", "slotUnreadCountChanged()", "slotUnreadCountChanged()" },
00016 { 0, 0, 0 }
00017 };
00018 static const int SummaryWidget_ftable_hiddens[1] = {
00019 1,
00020 };
00021
00022 bool SummaryWidget::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
00023 {
00024 if ( fun == SummaryWidget_ftable[0][1] ) {
00025 replyType = SummaryWidget_ftable[0][0];
00026 slotUnreadCountChanged( );
00027 } else {
00028 return DCOPObject::process( fun, data, replyType, replyData );
00029 }
00030 return true;
00031 }
00032
00033 QCStringList SummaryWidget::interfaces()
00034 {
00035 QCStringList ifaces = DCOPObject::interfaces();
00036 ifaces += "SummaryWidget";
00037 return ifaces;
00038 }
00039
00040 QCStringList SummaryWidget::functions()
00041 {
00042 QCStringList funcs = DCOPObject::functions();
00043 for ( int i = 0; SummaryWidget_ftable[i][2]; i++ ) {
00044 if (SummaryWidget_ftable_hiddens[i])
00045 continue;
00046 QCString func = SummaryWidget_ftable[i][0];
00047 func += ' ';
00048 func += SummaryWidget_ftable[i][2];
00049 funcs << func;
00050 }
00051 return funcs;
00052 }
00053
00054
|