You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
442 B
18 lines
442 B
#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() );
|
|
}
|