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.
tdelibs/tdecore/tests/KIDLTestClient.cpp

18 lines
446 B

#include <kapplication.h>
#include <dcopclient.h>
#include "KIDLTest_stub.h"
int main( int argc, char** argv )
{
TDEApplication app( argc, argv, "KIDLTestClient", false /* No GUI */ );
kapp->dcopClient()->attach();
// kapp->dcopClient()->registerAs( "kidlclienttest" );
KIDLTest_stub* t = new KIDLTest_stub( "kidlservertest", "Hello" );
TQString ret = t->hello("Torben");
tqDebug("Server says: %s", ret.latin1() );
}