summaryrefslogtreecommitdiffstats
path: root/examples/network/remotecontrol/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/remotecontrol/main.cpp')
-rw-r--r--examples/network/remotecontrol/main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/network/remotecontrol/main.cpp b/examples/network/remotecontrol/main.cpp
new file mode 100644
index 000000000..c153d02d2
--- /dev/null
+++ b/examples/network/remotecontrol/main.cpp
@@ -0,0 +1,11 @@
+#include <qapplication.h>
+
+#include "startup.h"
+
+int main( int argc, char **argv )
+{
+ TQApplication a( argc, argv );
+ StartUp s;
+ TQObject::connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) );
+ return a.exec();
+}