! * returns the config object for the given template name \c name. */
| 145 | * returns the config object for the given template name \c name. |
| 146 | */ |
| 147 | KConfig TemplateHandler::config(const QString& name) { |
| 148 | QString configFile = m_dirName + m_className + QLatin1Char('/') + name; |
| 149 | return KConfig(configFile, KConfig::SimpleConfig); |
| 150 | } |
| 151 | |
| 152 | /*! |
| 153 | * returns the name of the template for the config object \c config. |
no test coverage detected