From e16866e072f94410321d70daedbcb855ea878cac Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 6 Nov 2011 15:56:40 -0600 Subject: Actually move the kde files that were renamed in the last commit --- tdecore/tests/KIDLTestClient.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tdecore/tests/KIDLTestClient.cpp (limited to 'tdecore/tests/KIDLTestClient.cpp') diff --git a/tdecore/tests/KIDLTestClient.cpp b/tdecore/tests/KIDLTestClient.cpp new file mode 100644 index 000000000..21125bff5 --- /dev/null +++ b/tdecore/tests/KIDLTestClient.cpp @@ -0,0 +1,17 @@ +#include +#include + +#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" ); + + TQString ret = t->hello("Torben"); + qDebug("Server says: %s", ret.latin1() ); +} -- cgit v1.2.1