QtInputMethod_GooglePinyin/plugin/tgtsmlplatforminputcontextp...

13 lines
330 B
C++
Raw Permalink Normal View History

2020-07-31 06:50:46 +00:00
#include "tgtsmlplatforminputcontextplugin.h"
TgtsmlPlatformInputContext * TgtsmlPlatformInputContextPlugin::create(const QString &key, const QStringList &paramlist)
{
Q_UNUSED(paramlist)
if(key.compare("tgtsml",Qt::CaseInsensitive) == 0)
{
return new TgtsmlPlatformInputContext;
}
return nullptr;
}