19 static const QString uninstalled(
"UNINSTALLED");
20 static const QString installed(
"INSTALLED");
21 static const QString resolved(
"RESOLVED");
22 static const QString starting(
"STARTING");
23 static const QString stopping(
"STOPPING");
24 static const QString active(
"ACTIVE");
31 case ctkPlugin::UNINSTALLED:
return uninstalled;
32 case ctkPlugin::INSTALLED:
return installed;
33 case ctkPlugin::RESOLVED:
return resolved;
34 case ctkPlugin::STARTING:
return starting;
35 case ctkPlugin::STOPPING:
return stopping;
36 case ctkPlugin::ACTIVE:
return active;
37 default:
return QString(
"unknown");
43 text = text.toUpper();
45 if (text==uninstalled)
46 return ctkPlugin::UNINSTALLED;
48 return ctkPlugin::INSTALLED;
50 return ctkPlugin::RESOLVED;
52 return ctkPlugin::STARTING;
54 return ctkPlugin::STOPPING;
56 return ctkPlugin::ACTIVE;
58 return ctkPlugin::UNINSTALLED;
QString getStringForctkPluginState(const ctkPlugin::State state)
ctkPlugin::State getctkPluginStateForString(QString text)
Namespace for all CustusX production code.