summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qsoftkeystack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/qsoftkeystack.cpp')
-rw-r--r--src/gui/widgets/qsoftkeystack.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/widgets/qsoftkeystack.cpp b/src/gui/widgets/qsoftkeystack.cpp
index 61f7b64..fc6e107 100644
--- a/src/gui/widgets/qsoftkeystack.cpp
+++ b/src/gui/widgets/qsoftkeystack.cpp
@@ -75,6 +75,11 @@ void QSoftKeyStackPrivate::pop()
setNativeSoftKeys();
}
+const QSoftkeySet& QSoftKeyStackPrivate::top()
+{
+ return softKeyStack.top();
+}
+
QSoftKeyStack::QSoftKeyStack(QWidget *parent)
: QObject(*new QSoftKeyStackPrivate, parent)
{
@@ -103,6 +108,12 @@ void QSoftKeyStack::pop()
d->pop();
}
+const QSoftkeySet& QSoftKeyStack::top()
+{
+ Q_D(QSoftKeyStack);
+ return d->top();
+}
+
void QSoftKeyStack::handleFocusChanged(QWidget *old, QWidget *now)
{
if (!now)