| 1 |
/* |
| 2 |
* Copyright (C) 2017~2017 by CSSlayer |
| 3 |
* [email protected] |
| 4 |
* |
| 5 |
* Redistribution and use in source and binary forms, with or without |
| 6 |
* modification, are permitted provided that the following conditions |
| 7 |
* are met: |
| 8 |
* |
| 9 |
* 1. Redistributions of source code must retain the above Copyright |
| 10 |
* notice, this list of conditions and the following disclaimer. |
| 11 |
* |
| 12 |
* 2. Redistributions in binary form must reproduce the above Copyright |
| 13 |
* notice, this list of conditions and the following disclaimer in the |
| 14 |
* documentation and/or other materials provided with the distribution. |
| 15 |
* |
| 16 |
* 3. Neither the name of the authors nor the names of its contributors |
| 17 |
* may be used to endorse or promote products derived from this |
| 18 |
* software without specific prior written permission. |
| 19 |
*/ |
| 20 |
|
| 21 |
#ifndef _PLATFORMINPUTCONTEXT_QTKEY_H_ |
| 22 |
#define _PLATFORMINPUTCONTEXT_QTKEY_H_ |
| 23 |
|
| 24 |
#include <QString> |
| 25 |
|
| 26 |
int keysymToQtKey(uint32_t keysym, const QString &text); |
| 27 |
|
| 28 |
#endif // _PLATFORMINPUTCONTEXT_QTKEY_H_ |