Logo Search packages:      
Sourcecode: palapeli version File versions  Download package

void Palapeli::PatternConfiguration::readArguments ( KConfigGroup *  config  )  [inherited]

Loads parameters from a configuration. This function reads all defined properties from the passed config.

config the KConfigGroup to read from
See also:

Definition at line 117 of file pattern-configuration.cpp.

      QMutableMapIterator<QByteArray, QVariant> iterConfigValues(p->m_configurationValues);
      while (iterConfigValues.hasNext())
            QByteArray key = iterConfigValues.next().key();
            if (p->m_configurationCaptions.contains(key)) //do not read internal values (PatternName, DisplayName, IconName)
                  iterConfigValues.value() = config->readEntry(key.data(), QString());

Generated by  Doxygen 1.6.0   Back to index