21 #include "realfactory.h"
22 #include <QStringList>
27 m_configurationParameters(configurationParameters),
29 m_createRecursionLevel(0),
30 m_objectsConfiguredNotInitialized()
41 m_observers.insert(observer);
46 m_observers.unite(observers);
61 m_objectsConfiguredNotInitialized.append(
object);
66 return (m_createRecursionLevel == 0);
71 for (QList<ParameterSettable*>::iterator it = m_objectsConfiguredNotInitialized.begin(); it != m_objectsConfiguredNotInitialized.end(); it++) {
72 (*it)->postConfigureInitialization();
76 bool RealFactory::orderByNumberAfterColon(
const QString& s1,
const QString& s2)
80 QStringList list = s1.split(
':', QString::SkipEmptyParts);
81 if (list.size() < 2) {
84 const double ns1 = list[1].toDouble();
85 list = s2.split(
':', QString::SkipEmptyParts);
86 if (list.size() < 2) {
89 const double ns2 = list[1].toDouble();