author | sandman <sandman> | 2002-12-17 00:20:01 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-12-17 00:20:01 (UTC) |
commit | 70090722d240bed8c390281e072c9bcfc5ba7782 (patch) (side-by-side diff) | |
tree | 453b4715acff74889655877a491c6cc3791d5de0 /library/qpeapplication.cpp | |
parent | 79b94019014efe998b126219827f3050395beea7 (diff) | |
download | opie-70090722d240bed8c390281e072c9bcfc5ba7782.zip opie-70090722d240bed8c390281e072c9bcfc5ba7782.tar.gz opie-70090722d240bed8c390281e072c9bcfc5ba7782.tar.bz2 |
small additions to support grabbing the buttons back from a crashed
application
-rw-r--r-- | library/qpeapplication.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 852671a..b26933b 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -105,2 +105,3 @@ public: int kbgrabber; + QString kbgrabber_appname; QPoint presspos; @@ -1066,2 +1067,4 @@ void QPEApplication::systemMessage( const QCString& msg, const QByteArray& data d->kbgrabber = 2; + + d-> kbgrabber_appname = who; } @@ -1626,2 +1629,10 @@ bool QPEApplication::keyboardGrabbed() const +/*! + \internal +*/ +QString QPEApplication::keyboardGrabbedBy() const +{ + return d->kbgrabber_appname; +} + |