-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 @@ -104,4 +104,5 @@ public: QWidget* presswidget; int kbgrabber; + QString kbgrabber_appname; QPoint presspos; @@ -1065,4 +1066,6 @@ void QPEApplication::systemMessage( const QCString& msg, const QByteArray& data else d->kbgrabber = 2; + + d-> kbgrabber_appname = who; } else if ( msg == "language(QString)" ) { @@ -1625,4 +1628,12 @@ bool QPEApplication::keyboardGrabbed() const } +/*! + \internal +*/ +QString QPEApplication::keyboardGrabbedBy() const +{ + return d->kbgrabber_appname; +} + /*! |