diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2010-08-04 12:51:34 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2010-08-04 13:01:51 (GMT) |
commit | ad1b1fc8c19064601f993010c18adf0a01c5cf92 (patch) | |
tree | 6b701204254065366e78d02a7a54fa766d48d832 /tools/runonphone/runonphone.pro | |
parent | d444ca3cbc4fc3a923e67755d62d52bd5186f2f0 (diff) | |
download | Qt-ad1b1fc8c19064601f993010c18adf0a01c5cf92.zip Qt-ad1b1fc8c19064601f993010c18adf0a01c5cf92.tar.gz Qt-ad1b1fc8c19064601f993010c18adf0a01c5cf92.tar.bz2 |
runonphone - catch ctrl-c and terminate remote process before exit
Trap SIGINT, SIGTERM, SIGHUP, SIGBREAK, SIGQUIT
On receiving one of these signals, we first untrap them (so runonphone
can be killed by a 2nd ctrl-c if needed), and send a terminate to the
TRK launcher.
This will kill the remote process if it's running, then disconnect from
TRK cleanly.
Task-number: QTBUG-12444
Reviewed-by: axis
Diffstat (limited to 'tools/runonphone/runonphone.pro')
-rw-r--r-- | tools/runonphone/runonphone.pro | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/runonphone/runonphone.pro b/tools/runonphone/runonphone.pro index 0c63723..15dff51 100644 --- a/tools/runonphone/runonphone.pro +++ b/tools/runonphone/runonphone.pro @@ -7,10 +7,13 @@ CONFIG -= app_bundle include(symbianutils/symbianutils.pri) SOURCES += main.cpp \ - trksignalhandler.cpp + trksignalhandler.cpp \ + ossignalconverter.cpp HEADERS += trksignalhandler.h \ - serenum.h + serenum.h \ + ossignalconverter.h \ + ossignalconverter_p.h DEFINES += SYMBIANUTILS_INCLUDE_PRI |