1
/****************************************************************************
3
** DCOP Stub Implementation created by dcopidl2cpp from basketdcopiface.kidl
5
** WARNING! All changes made in this file will be lost!
7
*****************************************************************************/
9
#include "basketdcopiface_stub.h"
10
#include <dcopclient.h>
12
#include <kdatastream.h>
15
BasketDcopInterface_stub::BasketDcopInterface_stub( const QCString& app, const QCString& obj )
16
: DCOPStub( app, obj )
20
BasketDcopInterface_stub::BasketDcopInterface_stub( DCOPClient* client, const QCString& app, const QCString& obj )
21
: DCOPStub( client, app, obj )
25
BasketDcopInterface_stub::BasketDcopInterface_stub( const DCOPRef& ref )
30
void BasketDcopInterface_stub::newBasket()
32
if ( !dcopClient() ) {
33
setStatus( CallFailed );
37
dcopClient()->send( app(), obj(), "newBasket()", data );
38
setStatus( CallSucceeded );
41
void BasketDcopInterface_stub::handleCommandLine()
43
if ( !dcopClient() ) {
44
setStatus( CallFailed );
47
QByteArray data, replyData;
49
if ( dcopClient()->call( app(), obj(), "handleCommandLine()", data, replyType, replyData ) ) {
50
setStatus( CallSucceeded );