183
183
KConfigGroup input(&_input, name);
184
184
QHash<QString, QString> defMap;
186
defMap.insert( "Group", input.readEntry( "Group", group ).replace( "\"", "\\\"" ) );
186
defMap.insert( "Group", input.readEntry( "Group", group ).replace( '\"', "\\\"" ) );
187
187
defMap.insert( "IconSet", input.readEntry( "IconSet", name.toLower() + ".png" ).replace( ':', '_' ) );
188
defMap.insert( "Pixmap", name.toLower().replace( ":", "_" ) + "_xpm" );
188
defMap.insert( "Pixmap", name.toLower().replace( ':', '_' ) + "_xpm" );
189
189
defMap.insert( "IncludeFile", input.readEntry( "IncludeFile", name.toLower() + ".h" ).remove( ':' ) );
190
defMap.insert( "ToolTip", input.readEntry( "ToolTip", name + " Widget" ).replace( "\"", "\\\"" ) );
191
defMap.insert( "WhatsThis", input.readEntry( "WhatsThis", name + " Widget" ).replace( "\"", "\\\"" ) );
190
defMap.insert( "ToolTip", input.readEntry( "ToolTip", name + " Widget" ).replace( '\"', "\\\"" ) );
191
defMap.insert( "WhatsThis", input.readEntry( "WhatsThis", name + " Widget" ).replace( '\"', "\\\"" ) );
192
192
defMap.insert( "IsContainer", input.readEntry( "IsContainer", "false" ) );
193
193
defMap.insert( "IconName", input.readEntry( "IconName", QString(":/pics/%1.png").arg( denamespace( name ).toLower() ) ) );
194
194
defMap.insert( "Class", name );