Logo Search packages:      
Sourcecode: kbfx version File versions  Download package

kbfxvista_skel.cc

/****************************************************************************
**
** DCOP Skeleton generated by dcopidl2cpp from kbfxvista.kidl
**
** WARNING! All changes made in this file will be lost!
**
*****************************************************************************/

#include "./kbfxvista.h"

#include <kdatastream.h>


static const char* const kbfxvista_ftable[4][3] = {
    { "ASYNC", "showMenu()", "showMenu()" },
    { "ASYNC", "showKbfxMenu(QPoint)", "showKbfxMenu(QPoint x)" },
    { "ASYNC", "notifyConfigChange()", "notifyConfigChange()" },
    { 0, 0, 0 }
};
static const int kbfxvista_ftable_hiddens[3] = {
    0,
    0,
    0,
};

bool kbfxvista::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
{
    if ( fun == kbfxvista_ftable[0][1] ) { // void showMenu()
      replyType = kbfxvista_ftable[0][0]; 
      showMenu( );
    } else if ( fun == kbfxvista_ftable[1][1] ) { // void showKbfxMenu(QPoint)
      QPoint arg0;
      QDataStream arg( data, IO_ReadOnly );
      if (arg.atEnd()) return false;
      arg >> arg0;
      replyType = kbfxvista_ftable[1][0]; 
      showKbfxMenu(arg0 );
    } else if ( fun == kbfxvista_ftable[2][1] ) { // void notifyConfigChange()
      replyType = kbfxvista_ftable[2][0]; 
      notifyConfigChange( );
    } else {
      return DCOPObject::process( fun, data, replyType, replyData );
    }
    return true;
}

QCStringList kbfxvista::interfaces()
{
    QCStringList ifaces = DCOPObject::interfaces();
    ifaces += "kbfxvista";
    return ifaces;
}

QCStringList kbfxvista::functions()
{
    QCStringList funcs = DCOPObject::functions();
    for ( int i = 0; kbfxvista_ftable[i][2]; i++ ) {
      if (kbfxvista_ftable_hiddens[i])
          continue;
      QCString func = kbfxvista_ftable[i][0];
      func += ' ';
      func += kbfxvista_ftable[i][2];
      funcs << func;
    }
    return funcs;
}



Generated by  Doxygen 1.6.0   Back to index