summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qkeymapper_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qkeymapper_p.h')
-rw-r--r--src/gui/kernel/qkeymapper_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/kernel/qkeymapper_p.h b/src/gui/kernel/qkeymapper_p.h
index 2607c2a1a9..35f2a63345 100644
--- a/src/gui/kernel/qkeymapper_p.h
+++ b/src/gui/kernel/qkeymapper_p.h
@@ -67,7 +67,7 @@
QT_BEGIN_NAMESPACE
class QKeyMapperPrivate;
-class QKeyMapper : public QObject
+class Q_GUI_EXPORT QKeyMapper : public QObject
{
Q_OBJECT
public:
@@ -76,11 +76,13 @@ public:
static QKeyMapper *instance();
static void changeKeyboard();
+#ifndef Q_WS_QPA
static bool sendKeyEvent(QWidget *widget, bool grab,
QEvent::Type type, int code, Qt::KeyboardModifiers modifiers,
const QString &text, bool autorepeat, int count,
quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers,
bool *unusedExceptForCocoa = 0);
+#endif
static QList<int> possibleKeys(QKeyEvent *e);
private: