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

#include "/tmp/buildd/tde-packaging/arch/tde-devel/tde-tdewebdev/src/tdewebdev-trinity-14.1.6/quanta/src/dcopsettingsif.h"

#include <kdatastream.h>


static const char* const DCOPSettingsIf_ftable[4][3] = {
    { "TQString", "encoding()", "encoding()" },
    { "TQString", "dtep()", "dtep()" },
    { "TQString", "quotationChar()", "quotationChar()" },
    { 0, 0, 0 }
};
static const int DCOPSettingsIf_ftable_hiddens[3] = {
    0,
    0,
    0,
};

bool DCOPSettingsIf::process(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData)
{
    if ( fun == DCOPSettingsIf_ftable[0][1] ) { // TQString encoding()
	replyType = DCOPSettingsIf_ftable[0][0]; 
	TQDataStream _replyStream( replyData, IO_WriteOnly );
	_replyStream << encoding( );
    } else if ( fun == DCOPSettingsIf_ftable[1][1] ) { // TQString dtep()
	replyType = DCOPSettingsIf_ftable[1][0]; 
	TQDataStream _replyStream( replyData, IO_WriteOnly );
	_replyStream << dtep( );
    } else if ( fun == DCOPSettingsIf_ftable[2][1] ) { // TQString quotationChar()
	replyType = DCOPSettingsIf_ftable[2][0]; 
	TQDataStream _replyStream( replyData, IO_WriteOnly );
	_replyStream << quotationChar( );
    } else {
	return DCOPObject::process( fun, data, replyType, replyData );
    }
    return true;
}

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

QCStringList DCOPSettingsIf::functions()
{
    QCStringList funcs = DCOPObject::functions();
    for ( int i = 0; DCOPSettingsIf_ftable[i][2]; i++ ) {
	if (DCOPSettingsIf_ftable_hiddens[i])
	    continue;
	TQCString func = DCOPSettingsIf_ftable[i][0];
	func += ' ';
	func += DCOPSettingsIf_ftable[i][2];
	funcs << func;
    }
    return funcs;
}


