blob: 0b9e45768987b6354e142c6184494a42717edb62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include <kapplication.h>
#include <dcopclient.h>
#include "KIDLTest_stub.h"
int main( int argc, char** argv )
{
KApplication app( argc, argv, "KIDLTestClient", false /* No GUI */ );
kapp->dcopClient()->attach();
// kapp->dcopClient()->registerAs( "kidlclienttest" );
KIDLTest_stub* t = new KIDLTest_stub( "kidlservertest", "Hello" );
QString ret = t->hello("Torben");
qDebug("Server says: %s", ret.latin1() );
}
|