MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / initializeExtensions

Method initializeExtensions

lib/extensionsystem/pluginspec.cpp:1029–1048  ·  view source on GitHub ↗

! \internal */

Source from the content-addressed store, hash-verified

1027 \internal
1028*/
1029bool PluginSpecPrivate::initializeExtensions()
1030{
1031 if (hasError)
1032 return false;
1033 if (state != PluginSpec::Initialized) {
1034 if (state == PluginSpec::Running)
1035 return true;
1036 errorString = QCoreApplication::translate("PluginSpec", "Cannot perform extensionsInitialized because state != Initialized");
1037 hasError = true;
1038 return false;
1039 }
1040 if (!plugin) {
1041 errorString = QCoreApplication::translate("PluginSpec", "Internal error: have no plugin instance to perform extensionsInitialized");
1042 hasError = true;
1043 return false;
1044 }
1045 plugin->extensionsInitialized();
1046 state = PluginSpec::Running;
1047 return true;
1048}
1049
1050/*!
1051 \internal

Callers 1

loadPluginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected