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

#include "/tmp/buildd/tde-packaging/arch/tde-core/tde-tdelibs/src/tdelibs-trinity-14.1.6/tdeio/bookmarks/kbookmarknotifier.h"

#include <kdatastream.h>


static const char* const KBookmarkNotifier_ftable[1][3] = {
    { 0, 0, 0 }
};

bool KBookmarkNotifier::process(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData)
{
	return DCOPObject::process( fun, data, replyType, replyData );
}

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

QCStringList KBookmarkNotifier::functions()
{
    QCStringList funcs = DCOPObject::functions();
    for ( int i = 0; KBookmarkNotifier_ftable[i][2]; i++ ) {
	TQCString func = KBookmarkNotifier_ftable[i][0];
	func += ' ';
	func += KBookmarkNotifier_ftable[i][2];
	funcs << func;
    }
    return funcs;
}

void KBookmarkNotifier::addedBookmark( TQString arg0, TQString arg1, TQString arg2, TQString arg3, TQString arg4 )
{
    TQByteArray data;
    TQDataStream arg( data, IO_WriteOnly );
    arg << arg0;
    arg << arg1;
    arg << arg2;
    arg << arg3;
    arg << arg4;
    emitDCOPSignal( "addedBookmark(TQString,TQString,TQString,TQString,TQString)", data );
}

void KBookmarkNotifier::createdNewFolder( TQString arg0, TQString arg1, TQString arg2 )
{
    TQByteArray data;
    TQDataStream arg( data, IO_WriteOnly );
    arg << arg0;
    arg << arg1;
    arg << arg2;
    emitDCOPSignal( "createdNewFolder(TQString,TQString,TQString)", data );
}

void KBookmarkNotifier::updatedAccessMetadata( TQString arg0, TQString arg1 )
{
    TQByteArray data;
    TQDataStream arg( data, IO_WriteOnly );
    arg << arg0;
    arg << arg1;
    emitDCOPSignal( "updatedAccessMetadata(TQString,TQString)", data );
}


