// This file is generated by kconfig_compiler from umbrello.kcfg.
// All changes you do to this file will be lost.

#include "umbrellosettings.h"

#include <kglobal.h>
#include <QtCore/QFile>

class UmbrelloSettingsHelper
{
  public:
    UmbrelloSettingsHelper() : q(0) {}
    ~UmbrelloSettingsHelper() { delete q; }
    UmbrelloSettings *q;
};
K_GLOBAL_STATIC(UmbrelloSettingsHelper, s_globalUmbrelloSettings)
UmbrelloSettings *UmbrelloSettings::self()
{
  if (!s_globalUmbrelloSettings->q) {
    new UmbrelloSettings;
    s_globalUmbrelloSettings->q->readConfig();
  }

  return s_globalUmbrelloSettings->q;
}

UmbrelloSettings::UmbrelloSettings(  )
  : KConfigSkeleton( QLatin1String( "umbrellorc" ) )
{
  Q_ASSERT(!s_globalUmbrelloSettings->q);
  s_globalUmbrelloSettings->q = this;
  setCurrentGroup( QLatin1String( "General Options" ) );

  KConfigSkeleton::ItemSize  *itemGeometry;
  itemGeometry = new KConfigSkeleton::ItemSize( currentGroup(), QLatin1String( "Geometry" ), mGeometry );
  addItem( itemGeometry, QLatin1String( "Geometry" ) );
  KConfigSkeleton::ItemString  *itemImageMimeType;
  itemImageMimeType = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "imageMimeType" ), mImageMimeType, QLatin1String( "image/png" ) );
  addItem( itemImageMimeType, QLatin1String( "imageMimeType" ) );
  KConfigSkeleton::ItemBool  *itemUndo;
  itemUndo = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "undo" ), mUndo, true );
  addItem( itemUndo, QLatin1String( "undo" ) );
  KConfigSkeleton::ItemBool  *itemTabdiagrams;
  itemTabdiagrams = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "tabdiagrams" ), mTabdiagrams, true );
  addItem( itemTabdiagrams, QLatin1String( "tabdiagrams" ) );
  KConfigSkeleton::ItemBool  *itemNewcodegen;
  itemNewcodegen = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "newcodegen" ), mNewcodegen, false );
  addItem( itemNewcodegen, QLatin1String( "newcodegen" ) );
  KConfigSkeleton::ItemBool  *itemAngularlines;
  itemAngularlines = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "angularlines" ), mAngularlines, true );
  addItem( itemAngularlines, QLatin1String( "angularlines" ) );
  KConfigSkeleton::ItemBool  *itemFooterPrinting;
  itemFooterPrinting = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "footerPrinting" ), mFooterPrinting, true );
  addItem( itemFooterPrinting, QLatin1String( "footerPrinting" ) );
  KConfigSkeleton::ItemBool  *itemAutosave;
  itemAutosave = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "autosave" ), mAutosave, true );
  addItem( itemAutosave, QLatin1String( "autosave" ) );
  KConfigSkeleton::ItemInt  *itemTime;
  itemTime = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "time" ), mTime, 0 );
  itemTime->setMinValue(0);
  itemTime->setMaxValue(25);
  addItem( itemTime, QLatin1String( "time" ) );
  KConfigSkeleton::ItemInt  *itemAutosavetime;
  itemAutosavetime = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "autosavetime" ), mAutosavetime, 0 );
  itemAutosavetime->setMinValue(0);
  itemAutosavetime->setMaxValue(25);
  addItem( itemAutosavetime, QLatin1String( "autosavetime" ) );
  KConfigSkeleton::ItemString  *itemAutosavesuffix;
  itemAutosavesuffix = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "autosavesuffix" ), mAutosavesuffix, QLatin1String( ".xmi" ) );
  addItem( itemAutosavesuffix, QLatin1String( "autosavesuffix" ) );
  KConfigSkeleton::ItemBool  *itemLoadlast;
  itemLoadlast = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "loadlast" ), mLoadlast, false );
  addItem( itemLoadlast, QLatin1String( "loadlast" ) );
  QList<KConfigSkeleton::ItemEnum::Choice2> valuesdiagram;
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Undefined");
    valuesdiagram.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Class");
    valuesdiagram.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("UseCase");
    valuesdiagram.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Sequence");
    valuesdiagram.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Collaboration");
    valuesdiagram.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("State");
    valuesdiagram.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Activity");
    valuesdiagram.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Component");
    valuesdiagram.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Deployment");
    valuesdiagram.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("EntityRelationship");
    valuesdiagram.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("N_DIAGRAMTYPES");
    valuesdiagram.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemDiagram;
  itemDiagram = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "diagram" ), mDiagram, valuesdiagram, Uml::DiagramType::Class );
  addItem( itemDiagram, QLatin1String( "diagram" ) );
  QList<KConfigSkeleton::ItemEnum::Choice2> valuesdefaultLanguage;
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("ActionScript");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Ada");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Cpp");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("CSharp");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("D");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("IDL");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Java");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("JavaScript");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("MySQL");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Pascal");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Perl");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("PHP");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("PHP5");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("PostgreSQL");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Python");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Ruby");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("SQL");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Tcl");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Vala");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("XMLSchema");
    valuesdefaultLanguage.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Reserved");
    valuesdefaultLanguage.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemDefaultLanguage;
  itemDefaultLanguage = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "defaultLanguage" ), mDefaultLanguage, valuesdefaultLanguage, Uml::ProgrammingLanguage::Cpp );
  addItem( itemDefaultLanguage, QLatin1String( "defaultLanguage" ) );
  KConfigSkeleton::ItemString  *itemLastFile;
  itemLastFile = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "lastFile" ), mLastFile );
  addItem( itemLastFile, QLatin1String( "lastFile" ) );
  KConfigSkeleton::ItemBool  *itemUml2;
  itemUml2 = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "uml2" ), mUml2, true );
  addItem( itemUml2, QLatin1String( "uml2" ) );

  setCurrentGroup( QLatin1String( "UI Options" ) );

  KConfigSkeleton::ItemBool  *itemUseFillColor;
  itemUseFillColor = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "useFillColor" ), mUseFillColor, true );
  addItem( itemUseFillColor, QLatin1String( "useFillColor" ) );
  KConfigSkeleton::ItemColor  *itemFillColor;
  itemFillColor = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "fillColor" ), mFillColor, QColor( "yellow" ) );
  addItem( itemFillColor, QLatin1String( "fillColor" ) );
  KConfigSkeleton::ItemColor  *itemLineColor;
  itemLineColor = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "lineColor" ), mLineColor, QColor( "red" ) );
  addItem( itemLineColor, QLatin1String( "lineColor" ) );
  KConfigSkeleton::ItemUInt  *itemLineWidth;
  itemLineWidth = new KConfigSkeleton::ItemUInt( currentGroup(), QLatin1String( "lineWidth" ), mLineWidth, 0 );
  addItem( itemLineWidth, QLatin1String( "lineWidth" ) );
  KConfigSkeleton::ItemColor  *itemTextColor;
  itemTextColor = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "textColor" ), mTextColor, QColor( "black" ) );
  addItem( itemTextColor, QLatin1String( "textColor" ) );
  KConfigSkeleton::ItemBool  *itemShowDocWindow;
  itemShowDocWindow = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showDocWindow" ), mShowDocWindow, true );
  addItem( itemShowDocWindow, QLatin1String( "showDocWindow" ) );
  KConfigSkeleton::ItemFont  *itemUiFont;
  itemUiFont = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "font" ), mUiFont, Uml::systemFont() );
  addItem( itemUiFont, QLatin1String( "uiFont" ) );
  KConfigSkeleton::ItemColor  *itemBackgroundColor;
  itemBackgroundColor = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "backgroundColor" ), mBackgroundColor, QColor( "white" ) );
  addItem( itemBackgroundColor, QLatin1String( "backgroundColor" ) );
  KConfigSkeleton::ItemColor  *itemGridDotColor;
  itemGridDotColor = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "gridDotColor" ), mGridDotColor, QColor( "lightGray" ) );
  addItem( itemGridDotColor, QLatin1String( "gridDotColor" ) );

  setCurrentGroup( QLatin1String( "Class Options" ) );

  KConfigSkeleton::ItemBool  *itemShowVisibility;
  itemShowVisibility = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showVisibility" ), mShowVisibility, true );
  addItem( itemShowVisibility, QLatin1String( "showVisibility" ) );
  KConfigSkeleton::ItemBool  *itemShowAtts;
  itemShowAtts = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showAtts" ), mShowAtts, true );
  addItem( itemShowAtts, QLatin1String( "showAtts" ) );
  KConfigSkeleton::ItemBool  *itemShowOps;
  itemShowOps = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showOps" ), mShowOps, true );
  addItem( itemShowOps, QLatin1String( "showOps" ) );
  KConfigSkeleton::ItemBool  *itemShowPackage;
  itemShowPackage = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showPackage" ), mShowPackage, true );
  addItem( itemShowPackage, QLatin1String( "showPackage" ) );
  KConfigSkeleton::ItemBool  *itemShowStereoType;
  itemShowStereoType = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showStereoType" ), mShowStereoType, true );
  addItem( itemShowStereoType, QLatin1String( "showStereoType" ) );
  KConfigSkeleton::ItemBool  *itemShowAttribAssocs;
  itemShowAttribAssocs = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showAttribAssocs" ), mShowAttribAssocs, true );
  addItem( itemShowAttribAssocs, QLatin1String( "showAttribAssocs" ) );
  KConfigSkeleton::ItemBool  *itemShowPublicOnly;
  itemShowPublicOnly = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showPublicOnly" ), mShowPublicOnly, false );
  addItem( itemShowPublicOnly, QLatin1String( "showPublicOnly" ) );
  KConfigSkeleton::ItemBool  *itemShowAttSig;
  itemShowAttSig = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showAttSig" ), mShowAttSig, true );
  addItem( itemShowAttSig, QLatin1String( "showAttSig" ) );
  KConfigSkeleton::ItemBool  *itemShowOpSig;
  itemShowOpSig = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showOpSig" ), mShowOpSig, true );
  addItem( itemShowOpSig, QLatin1String( "showOpSig" ) );
  QList<KConfigSkeleton::ItemEnum::Choice2> valuesdefaultAttributeScope;
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Public");
    valuesdefaultAttributeScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Private");
    valuesdefaultAttributeScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Protected");
    valuesdefaultAttributeScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Implementation");
    valuesdefaultAttributeScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("FromParent");
    valuesdefaultAttributeScope.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemDefaultAttributeScope;
  itemDefaultAttributeScope = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "defaultAttributeScope" ), mDefaultAttributeScope, valuesdefaultAttributeScope, Uml::Visibility::Public );
  addItem( itemDefaultAttributeScope, QLatin1String( "defaultAttributeScope" ) );
  QList<KConfigSkeleton::ItemEnum::Choice2> valuesdefaultOperationScope;
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Public");
    valuesdefaultOperationScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Private");
    valuesdefaultOperationScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Protected");
    valuesdefaultOperationScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Implementation");
    valuesdefaultOperationScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("FromParent");
    valuesdefaultOperationScope.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemDefaultOperationScope;
  itemDefaultOperationScope = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "defaultOperationScope" ), mDefaultOperationScope, valuesdefaultOperationScope, Uml::Visibility::Public );
  addItem( itemDefaultOperationScope, QLatin1String( "defaultOperationScope" ) );

  setCurrentGroup( QLatin1String( "Code Viewer Options" ) );

  KConfigSkeleton::ItemInt  *itemHeight;
  itemHeight = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "height" ), mHeight, 40 );
  itemHeight->setMaxValue(100);
  addItem( itemHeight, QLatin1String( "height" ) );
  KConfigSkeleton::ItemInt  *itemWidth;
  itemWidth = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "width" ), mWidth, 80 );
  itemWidth->setMaxValue(100);
  addItem( itemWidth, QLatin1String( "width" ) );
  KConfigSkeleton::ItemBool  *itemShowHiddenBlocks;
  itemShowHiddenBlocks = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showHiddenBlocks" ), mShowHiddenBlocks, true );
  addItem( itemShowHiddenBlocks, QLatin1String( "showHiddenBlocks" ) );
  KConfigSkeleton::ItemBool  *itemBlocksAreHighlighted;
  itemBlocksAreHighlighted = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "blocksAreHighlighted" ), mBlocksAreHighlighted, true );
  addItem( itemBlocksAreHighlighted, QLatin1String( "blocksAreHighlighted" ) );
  KConfigSkeleton::ItemFont  *itemCodeViewerFont;
  itemCodeViewerFont = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "font" ), mCodeViewerFont, Uml::systemFont() );
  addItem( itemCodeViewerFont, QLatin1String( "codeViewerFont" ) );
  KConfigSkeleton::ItemColor  *itemPaperColor;
  itemPaperColor = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "paperColor" ), mPaperColor, QColor( "white" ) );
  addItem( itemPaperColor, QLatin1String( "paperColor" ) );
  KConfigSkeleton::ItemColor  *itemFontColor;
  itemFontColor = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "fontColor" ), mFontColor, QColor( "black" ) );
  addItem( itemFontColor, QLatin1String( "fontColor" ) );
  KConfigSkeleton::ItemColor  *itemSelectedColor;
  itemSelectedColor = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "selectedColor" ), mSelectedColor, QColor( "yellow" ) );
  addItem( itemSelectedColor, QLatin1String( "selectedColor" ) );
  KConfigSkeleton::ItemColor  *itemEditBlockColor;
  itemEditBlockColor = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "editBlockColor" ), mEditBlockColor, QColor( "pink" ) );
  addItem( itemEditBlockColor, QLatin1String( "editBlockColor" ) );
  KConfigSkeleton::ItemColor  *itemNonEditBlockColor;
  itemNonEditBlockColor = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "nonEditBlockColor" ), mNonEditBlockColor, QColor( "pink" ) );
  addItem( itemNonEditBlockColor, QLatin1String( "nonEditBlockColor" ) );
  KConfigSkeleton::ItemColor  *itemUmlObjectColor;
  itemUmlObjectColor = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "umlObjectColor" ), mUmlObjectColor, QColor( "grey" ) );
  addItem( itemUmlObjectColor, QLatin1String( "umlObjectColor" ) );
  KConfigSkeleton::ItemColor  *itemHiddenColor;
  itemHiddenColor = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "hiddenColor" ), mHiddenColor, QColor( "grey" ) );
  addItem( itemHiddenColor, QLatin1String( "hiddenColor" ) );

  setCurrentGroup( QLatin1String( "Code Importer" ) );

  KConfigSkeleton::ItemBool  *itemCreateArtifacts;
  itemCreateArtifacts = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "createArtifacts" ), mCreateArtifacts, true );
  addItem( itemCreateArtifacts, QLatin1String( "createArtifacts" ) );
  KConfigSkeleton::ItemBool  *itemResolveDependencies;
  itemResolveDependencies = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "resolveDependencies" ), mResolveDependencies, true );
  addItem( itemResolveDependencies, QLatin1String( "resolveDependencies" ) );
  KConfigSkeleton::ItemBool  *itemSupportCPP11;
  itemSupportCPP11 = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "supportCPP11" ), mSupportCPP11, true );
  addItem( itemSupportCPP11, QLatin1String( "supportCPP11" ) );

  setCurrentGroup( QLatin1String( "Code Generation" ) );

  KConfigSkeleton::ItemBool  *itemAutoGenEmptyConstructors;
  itemAutoGenEmptyConstructors = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "autoGenEmptyConstructors" ), mAutoGenEmptyConstructors, true );
  addItem( itemAutoGenEmptyConstructors, QLatin1String( "autoGenEmptyConstructors" ) );
  QList<KConfigSkeleton::ItemEnum::Choice2> valuescommentStyle;
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("SingleLine");
    valuescommentStyle.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("MultiLine");
    valuescommentStyle.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemCommentStyle;
  itemCommentStyle = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "commentStyle" ), mCommentStyle, valuescommentStyle, CodeGenerationPolicy::SingleLine );
  addItem( itemCommentStyle, QLatin1String( "commentStyle" ) );
  QList<KConfigSkeleton::ItemEnum::Choice2> valuesdefaultAssocFieldScope;
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Public");
    valuesdefaultAssocFieldScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Private");
    valuesdefaultAssocFieldScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Protected");
    valuesdefaultAssocFieldScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Implementation");
    valuesdefaultAssocFieldScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("FromParent");
    valuesdefaultAssocFieldScope.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemDefaultAssocFieldScope;
  itemDefaultAssocFieldScope = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "defaultAssocFieldScope" ), mDefaultAssocFieldScope, valuesdefaultAssocFieldScope, Uml::Visibility::FromParent );
  addItem( itemDefaultAssocFieldScope, QLatin1String( "defaultAssocFieldScope" ) );
  QList<KConfigSkeleton::ItemEnum::Choice2> valuesdefaultAttributeAccessorScope;
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Public");
    valuesdefaultAttributeAccessorScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Private");
    valuesdefaultAttributeAccessorScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Protected");
    valuesdefaultAttributeAccessorScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Implementation");
    valuesdefaultAttributeAccessorScope.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("FromParent");
    valuesdefaultAttributeAccessorScope.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemDefaultAttributeAccessorScope;
  itemDefaultAttributeAccessorScope = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "defaultAttributeAccessorScope" ), mDefaultAttributeAccessorScope, valuesdefaultAttributeAccessorScope, Uml::Visibility::FromParent );
  addItem( itemDefaultAttributeAccessorScope, QLatin1String( "defaultAttributeAccessorScope" ) );
  KConfigSkeleton::ItemBool  *itemForceDoc;
  itemForceDoc = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "forceDoc" ), mForceDoc, true );
  addItem( itemForceDoc, QLatin1String( "forceDoc" ) );
  KConfigSkeleton::ItemBool  *itemForceSections;
  itemForceSections = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "forceSections" ), mForceSections, true );
  addItem( itemForceSections, QLatin1String( "forceSections" ) );
  KConfigSkeleton::ItemPath  *itemHeadingsDirectory;
  itemHeadingsDirectory = new KConfigSkeleton::ItemPath( currentGroup(), QLatin1String( "headingsDirectory" ), mHeadingsDirectory, QLatin1String( "$HOME/kde/share/apps/umbrello/headings" ) );
  addItem( itemHeadingsDirectory, QLatin1String( "headingsDirectory" ) );
  KConfigSkeleton::ItemBool  *itemIncludeHeadings;
  itemIncludeHeadings = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "includeHeadings" ), mIncludeHeadings, true );
  addItem( itemIncludeHeadings, QLatin1String( "includeHeadings" ) );
  KConfigSkeleton::ItemInt  *itemIndentationAmount;
  itemIndentationAmount = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "indentationAmount" ), mIndentationAmount, 2 );
  itemIndentationAmount->setMaxValue(10);
  addItem( itemIndentationAmount, QLatin1String( "indentationAmount" ) );
  QList<KConfigSkeleton::ItemEnum::Choice2> valuesindentationType;
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("NONE");
    valuesindentationType.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("TAB");
    valuesindentationType.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("SPACE");
    valuesindentationType.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemIndentationType;
  itemIndentationType = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "indentationType" ), mIndentationType, valuesindentationType, CodeGenerationPolicy::SPACE );
  addItem( itemIndentationType, QLatin1String( "indentationType" ) );
  QList<KConfigSkeleton::ItemEnum::Choice2> valueslineEndingType;
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("UNIX");
    valueslineEndingType.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("DOS");
    valueslineEndingType.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("MAC");
    valueslineEndingType.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemLineEndingType;
  itemLineEndingType = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "lineEndingType" ), mLineEndingType, valueslineEndingType, CodeGenerationPolicy::UNIX );
  addItem( itemLineEndingType, QLatin1String( "lineEndingType" ) );
  QList<KConfigSkeleton::ItemEnum::Choice2> valuesmodnamePolicy;
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("No");
    valuesmodnamePolicy.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Underscore");
    valuesmodnamePolicy.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Capitalise");
    valuesmodnamePolicy.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemModnamePolicy;
  itemModnamePolicy = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "modnamePolicy" ), mModnamePolicy, valuesmodnamePolicy, CodeGenerationPolicy::Capitalise );
  addItem( itemModnamePolicy, QLatin1String( "modnamePolicy" ) );
  KConfigSkeleton::ItemPath  *itemOutputDirectory;
  itemOutputDirectory = new KConfigSkeleton::ItemPath( currentGroup(), QLatin1String( "outputDirectory" ), mOutputDirectory, QLatin1String( "$HOME/uml-generated-code" ) );
  addItem( itemOutputDirectory, QLatin1String( "outputDirectory" ) );
  QList<KConfigSkeleton::ItemEnum::Choice2> valuesoverwritePolicy;
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Ok");
    valuesoverwritePolicy.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Ask");
    valuesoverwritePolicy.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Never");
    valuesoverwritePolicy.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("Cancel");
    valuesoverwritePolicy.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemOverwritePolicy;
  itemOverwritePolicy = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "overwritePolicy" ), mOverwritePolicy, valuesoverwritePolicy, CodeGenerationPolicy::Ask );
  addItem( itemOverwritePolicy, QLatin1String( "overwritePolicy" ) );

  setCurrentGroup( QLatin1String( "CPP Code Generation" ) );

  KConfigSkeleton::ItemBool  *itemAutoGenAccessors;
  itemAutoGenAccessors = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "autoGenAccessors" ), mAutoGenAccessors, true );
  addItem( itemAutoGenAccessors, QLatin1String( "autoGenAccessors" ) );
  KConfigSkeleton::ItemBool  *itemInlineAccessors;
  itemInlineAccessors = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "inlineAccessors" ), mInlineAccessors, true );
  addItem( itemInlineAccessors, QLatin1String( "inlineAccessors" ) );
  KConfigSkeleton::ItemBool  *itemInlineOps;
  itemInlineOps = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "inlineOps" ), mInlineOps, true );
  addItem( itemInlineOps, QLatin1String( "inlineOps" ) );
  KConfigSkeleton::ItemBool  *itemPackageIsNamespace;
  itemPackageIsNamespace = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "packageIsNamespace" ), mPackageIsNamespace, true );
  addItem( itemPackageIsNamespace, QLatin1String( "packageIsNamespace" ) );
  KConfigSkeleton::ItemBool  *itemPublicAccessors;
  itemPublicAccessors = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "publicAccessors" ), mPublicAccessors, true );
  addItem( itemPublicAccessors, QLatin1String( "publicAccessors" ) );
  KConfigSkeleton::ItemString  *itemStringClassName;
  itemStringClassName = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "stringClassName" ), mStringClassName, QLatin1String( "std::string" ) );
  addItem( itemStringClassName, QLatin1String( "stringClassName" ) );
  KConfigSkeleton::ItemString  *itemStringClassNameInclude;
  itemStringClassNameInclude = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "stringClassNameInclude" ), mStringClassNameInclude, QLatin1String( "<string>" ) );
  addItem( itemStringClassNameInclude, QLatin1String( "stringClassNameInclude" ) );
  KConfigSkeleton::ItemBool  *itemStringIncludeIsGlobal;
  itemStringIncludeIsGlobal = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "stringIncludeIsGlobal" ), mStringIncludeIsGlobal, true );
  addItem( itemStringIncludeIsGlobal, QLatin1String( "stringIncludeIsGlobal" ) );
  KConfigSkeleton::ItemString  *itemVectorClassName;
  itemVectorClassName = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "vectorClassName" ), mVectorClassName, QLatin1String( "std::vector" ) );
  addItem( itemVectorClassName, QLatin1String( "vectorClassName" ) );
  KConfigSkeleton::ItemString  *itemVectorClassNameInclude;
  itemVectorClassNameInclude = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "vectorClassNameInclude" ), mVectorClassNameInclude, QLatin1String( "<vector>" ) );
  addItem( itemVectorClassNameInclude, QLatin1String( "vectorClassNameInclude" ) );
  KConfigSkeleton::ItemBool  *itemVectorIncludeIsGlobal;
  itemVectorIncludeIsGlobal = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "vectorIncludeIsGlobal" ), mVectorIncludeIsGlobal, true );
  addItem( itemVectorIncludeIsGlobal, QLatin1String( "vectorIncludeIsGlobal" ) );
  KConfigSkeleton::ItemBool  *itemVirtualDestructors;
  itemVirtualDestructors = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "virtualDestructors" ), mVirtualDestructors, true );
  addItem( itemVirtualDestructors, QLatin1String( "virtualDestructors" ) );
  KConfigSkeleton::ItemString  *itemDocToolTag;
  itemDocToolTag = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "docToolTag" ), mDocToolTag, QLatin1String( "@" ) );
  addItem( itemDocToolTag, QLatin1String( "docToolTag" ) );

  setCurrentGroup( QLatin1String( "D Code Generation" ) );

  KConfigSkeleton::ItemBool  *itemAutoGenerateAttributeAccessorsD;
  itemAutoGenerateAttributeAccessorsD = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "autoGenerateAttributeAccessors" ), mAutoGenerateAttributeAccessorsD, true );
  addItem( itemAutoGenerateAttributeAccessorsD, QLatin1String( "autoGenerateAttributeAccessorsD" ) );
  KConfigSkeleton::ItemBool  *itemAutoGenerateAssocAccessorsD;
  itemAutoGenerateAssocAccessorsD = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "autoGenerateAssocAccessors" ), mAutoGenerateAssocAccessorsD, true );
  addItem( itemAutoGenerateAssocAccessorsD, QLatin1String( "autoGenerateAssocAccessorsD" ) );
  KConfigSkeleton::ItemBool  *itemBuildANTDocumentD;
  itemBuildANTDocumentD = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "buildANTDocument" ), mBuildANTDocumentD, false );
  addItem( itemBuildANTDocumentD, QLatin1String( "buildANTDocumentD" ) );

  setCurrentGroup( QLatin1String( "Java Code Generation" ) );

  KConfigSkeleton::ItemBool  *itemAutoGenerateAttributeAccessorsJava;
  itemAutoGenerateAttributeAccessorsJava = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "autoGenerateAttributeAccessors" ), mAutoGenerateAttributeAccessorsJava, true );
  addItem( itemAutoGenerateAttributeAccessorsJava, QLatin1String( "autoGenerateAttributeAccessorsJava" ) );
  KConfigSkeleton::ItemBool  *itemAutoGenerateAssocAccessorsJava;
  itemAutoGenerateAssocAccessorsJava = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "autoGenerateAssocAccessors" ), mAutoGenerateAssocAccessorsJava, true );
  addItem( itemAutoGenerateAssocAccessorsJava, QLatin1String( "autoGenerateAssocAccessorsJava" ) );
  KConfigSkeleton::ItemBool  *itemBuildANTDocumentJava;
  itemBuildANTDocumentJava = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "buildANTDocument" ), mBuildANTDocumentJava, false );
  addItem( itemBuildANTDocumentJava, QLatin1String( "buildANTDocumentJava" ) );

  setCurrentGroup( QLatin1String( "Ruby Code Generation" ) );

  KConfigSkeleton::ItemBool  *itemAutoGenerateAttributeAccessorsRuby;
  itemAutoGenerateAttributeAccessorsRuby = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "autoGenerateAttributeAccessors" ), mAutoGenerateAttributeAccessorsRuby, true );
  addItem( itemAutoGenerateAttributeAccessorsRuby, QLatin1String( "autoGenerateAttributeAccessorsRuby" ) );
  KConfigSkeleton::ItemBool  *itemAutoGenerateAssocAccessorsRuby;
  itemAutoGenerateAssocAccessorsRuby = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "autoGenerateAssocAccessors" ), mAutoGenerateAssocAccessorsRuby, true );
  addItem( itemAutoGenerateAssocAccessorsRuby, QLatin1String( "autoGenerateAssocAccessorsRuby" ) );

  setCurrentGroup( QLatin1String( "Auto Layout" ) );

  KConfigSkeleton::ItemBool  *itemAutoDotPath;
  itemAutoDotPath = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "autoDotPath" ), mAutoDotPath, true );
  addItem( itemAutoDotPath, QLatin1String( "autoDotPath" ) );
  KConfigSkeleton::ItemString  *itemDotPath;
  itemDotPath = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "dotPath" ), mDotPath );
  addItem( itemDotPath, QLatin1String( "dotPath" ) );
  KConfigSkeleton::ItemBool  *itemShowExportLayout;
  itemShowExportLayout = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "showExportLayout" ), mShowExportLayout, false );
  addItem( itemShowExportLayout, QLatin1String( "showExportLayout" ) );
}

UmbrelloSettings::~UmbrelloSettings()
{
  if (!s_globalUmbrelloSettings.isDestroyed()) {
    s_globalUmbrelloSettings->q = 0;
  }
}

