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 0000000..563fe8c
--- /dev/null
+++ b/examples/network/remotecontrol/main.cpp
@@ -0,0 +1,11 @@
+#include <qapplication.h>
+
+#include "startup.h"
+
+int main( int argc, char **argv )
+{
+ QApplication a( argc, argv );
+ StartUp s;
+ QObject::connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) );
+ return a.exec();
+}