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

#include "/tmp/buildd/tde-packaging/arch/tde-core/tde-tdebase/src/tdebase-trinity-14.1.6/khelpcenter/searchwidget.h"

#include <kdatastream.h>

namespace KHC {

static const char* const SearchWidget_ftable[2][3] = {
    { "ASYNC", "searchIndexUpdated()", "searchIndexUpdated()" },
    { 0, 0, 0 }
};
static const int SearchWidget_ftable_hiddens[1] = {
    0,
};

bool SearchWidget::process(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData)
{
    if ( fun == SearchWidget_ftable[0][1] ) { // void searchIndexUpdated()
	replyType = SearchWidget_ftable[0][0]; 
	searchIndexUpdated( );
    } else {
	return DCOPObject::process( fun, data, replyType, replyData );
    }
    return true;
}

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

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

} // namespace

