7 #include "inputcontextmanager.h" 8 #include "inputcontextproperty_p.h" 12 InputContextPropertyFactory::InputContextPropertyFactory()
13 : d_ptr(
std::make_unique<InputContextPropertyFactoryPrivate>(this)) {}
15 InputContextPropertyFactory::~InputContextPropertyFactory() { unregister(); }
25 d->manager_->unregisterProperty(d->name_);
bool registered() const
Return whether the factory is already registered with an InputContextManager.
void unregister()
Unregister the factory from current InputContextManager.