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
443 B
18 lines
443 B
15 years ago
|
#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" );
|
||
|
|
||
15 years ago
|
TQString ret = t->hello("Torben");
|
||
15 years ago
|
qDebug("Server says: %s", ret.latin1() );
|
||
|
}
|