Debian Codegraph @

qt6/platforminputcontext/main.h

raw
1 /*
2 * Copyright (C) 2012~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 MAIN_H
22 #define MAIN_H
23
24 #include <QtCore/QStringList>
25 #include <qpa/qplatforminputcontextplugin_p.h>
26
27 #include "qfcitxplatforminputcontext.h"
28
29 class QFcitxPlatformInputContextPlugin : public QPlatformInputContextPlugin {
30 Q_OBJECT
31 public:
32 Q_PLUGIN_METADATA(IID QPlatformInputContextFactoryInterface_iid FILE
33 "fcitx.json")
34 QStringList keys() const;
35 QFcitxPlatformInputContext *create(const QString &system,
36 const QStringList &paramList);
37 };
38
39 #endif // MAIN_H