diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-02-12 06:10:01 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-02-12 06:10:01 +0000 |
| commit | 64f348f2e215e69d567ed5313a901838aef3b620 (patch) | |
| tree | 5dd49b8822decc8a344984bba3340130e88401f0 /src/plugins/General/hotkey/hotkeymanager.h | |
| parent | e2034145c9c2a79a393716c750fc89fe4f1ff099 (diff) | |
| download | qmmp-64f348f2e215e69d567ed5313a901838aef3b620.tar.gz qmmp-64f348f2e215e69d567ed5313a901838aef3b620.tar.bz2 qmmp-64f348f2e215e69d567ed5313a901838aef3b620.zip | |
hotkey plugin: added windows support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3229 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/hotkey/hotkeymanager.h')
| -rw-r--r-- | src/plugins/General/hotkey/hotkeymanager.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/plugins/General/hotkey/hotkeymanager.h b/src/plugins/General/hotkey/hotkeymanager.h index 753b24393..f892d0969 100644 --- a/src/plugins/General/hotkey/hotkeymanager.h +++ b/src/plugins/General/hotkey/hotkeymanager.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009-2012 by Ilya Kotov * + * Copyright (C) 2009-2013 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -26,6 +26,7 @@ #include <qmmpui/general.h> class QEvent; +class QWidget; /** @author Ilya Kotov <forkotov02@hotmail.ru> @@ -78,10 +79,13 @@ public: static QList<long> ignModifiersList(); static quint32 keycodeToKeysym(quint32 keycode); +#ifdef Q_WS_X11 protected: virtual bool eventFilter(QObject* o, QEvent* e); +#endif private: +#ifdef Q_WS_X11 static void ensureModifiers(); QList <Hotkey *> m_grabbedKeys; static long m_alt_mask; @@ -90,6 +94,11 @@ private: static long m_hyper_mask; static long m_numlock_mask; static bool m_haveMods; +#endif + +#ifdef Q_OS_WIN + QList<QWidget *> m_filters; +#endif }; #endif |
