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

#include "tellico_config.h"

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

using namespace Tellico;

namespace Tellico {

class ConfigHelper
{
  public:
    ConfigHelper() : q(0) {}
    ~ConfigHelper() { delete q; }
    Config *q;
};
}

K_GLOBAL_STATIC(ConfigHelper, s_globalConfig)
Config *Config::self()
{
  if (!s_globalConfig->q) {
    new Config;
    s_globalConfig->q->readConfig();
  }

  return s_globalConfig->q;
}

Config::Config(  )
  : KConfigSkeleton( QLatin1String( "tellicorc" ) )
{
  Q_ASSERT(!s_globalConfig->q);
  s_globalConfig->q = this;
  setCurrentGroup( QLatin1String( "TipOfDay" ) );

  KConfigSkeleton::ItemBool  *itemShowTipOfDay;
  itemShowTipOfDay = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "RunOnStart" ), mShowTipOfDay, true );
  addItem( itemShowTipOfDay, QLatin1String( "showTipOfDay" ) );

  setCurrentGroup( QLatin1String( "Main Window Options" ) );

  QList<int> defaultMainSplitterSizes;

  KConfigSkeleton::ItemIntList  *itemMainSplitterSizes;
  itemMainSplitterSizes = new KConfigSkeleton::ItemIntList( currentGroup(), QLatin1String( "Main Splitter Sizes" ), mMainSplitterSizes, defaultMainSplitterSizes );
  addItem( itemMainSplitterSizes, QLatin1String( "MainSplitterSizes" ) );
  QList<int> defaultSecondarySplitterSizes;

  KConfigSkeleton::ItemIntList  *itemSecondarySplitterSizes;
  itemSecondarySplitterSizes = new KConfigSkeleton::ItemIntList( currentGroup(), QLatin1String( "Secondary Splitter Sizes" ), mSecondarySplitterSizes, defaultSecondarySplitterSizes );
  addItem( itemSecondarySplitterSizes, QLatin1String( "SecondarySplitterSizes" ) );

  setCurrentGroup( QLatin1String( "Detailed View Options" ) );

  KConfigSkeleton::ItemInt  *itemMaxPixmapWidth;
  itemMaxPixmapWidth = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "MaxPixmapWidth" ), mMaxPixmapWidth, 50 );
  addItem( itemMaxPixmapWidth, QLatin1String( "MaxPixmapWidth" ) );
  KConfigSkeleton::ItemInt  *itemMaxPixmapHeight;
  itemMaxPixmapHeight = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "MaxPixmapHeight" ), mMaxPixmapHeight, 50 );
  addItem( itemMaxPixmapHeight, QLatin1String( "MaxPixmapHeight" ) );

  setCurrentGroup( QLatin1String( "Group View Options" ) );

  KConfigSkeleton::ItemInt  *itemGroupViewSortColumn;
  itemGroupViewSortColumn = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "SortColumn" ), mGroupViewSortColumn, 0 );
  addItem( itemGroupViewSortColumn, QLatin1String( "groupViewSortColumn" ) );
  KConfigSkeleton::ItemBool  *itemGroupViewSortAscending;
  itemGroupViewSortAscending = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SortAscending" ), mGroupViewSortAscending, true );
  addItem( itemGroupViewSortAscending, QLatin1String( "groupViewSortAscending" ) );

  setCurrentGroup( QLatin1String( "Filter View Options" ) );

  KConfigSkeleton::ItemInt  *itemFilterViewSortColumn;
  itemFilterViewSortColumn = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "SortColumn" ), mFilterViewSortColumn, 0 );
  addItem( itemFilterViewSortColumn, QLatin1String( "filterViewSortColumn" ) );
  KConfigSkeleton::ItemBool  *itemFilterViewSortAscending;
  itemFilterViewSortAscending = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SortAscending" ), mFilterViewSortAscending, true );
  addItem( itemFilterViewSortAscending, QLatin1String( "filterViewSortAscending" ) );

  setCurrentGroup( QLatin1String( "Loan View Options" ) );

  KConfigSkeleton::ItemInt  *itemLoanViewSortColumn;
  itemLoanViewSortColumn = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "SortColumn" ), mLoanViewSortColumn, 0 );
  addItem( itemLoanViewSortColumn, QLatin1String( "loanViewSortColumn" ) );
  KConfigSkeleton::ItemBool  *itemLoanViewSortAscending;
  itemLoanViewSortAscending = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SortAscending" ), mLoanViewSortAscending, true );
  addItem( itemLoanViewSortAscending, QLatin1String( "loanViewSortAscending" ) );

  setCurrentGroup( QLatin1String( "Export Options - Bibtex" ) );

  KConfigSkeleton::ItemBool  *itemUseBraces;
  itemUseBraces = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Use Braces" ), mUseBraces, true );
  addItem( itemUseBraces, QLatin1String( "UseBraces" ) );

  setCurrentGroup( QLatin1String( "General Options" ) );

  KConfigSkeleton::ItemBool  *itemShowGroupWidget;
  itemShowGroupWidget = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Show Group Widget" ), mShowGroupWidget, true );
  addItem( itemShowGroupWidget, QLatin1String( "ShowGroupWidget" ) );
  KConfigSkeleton::ItemBool  *itemShowEditWidget;
  itemShowEditWidget = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Show Edit Widget" ), mShowEditWidget, false );
  addItem( itemShowEditWidget, QLatin1String( "ShowEditWidget" ) );
  KConfigSkeleton::ItemBool  *itemShowEntryView;
  itemShowEntryView = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Show Entry View" ), mShowEntryView, true );
  addItem( itemShowEntryView, QLatin1String( "ShowEntryView" ) );
  QList<KConfigSkeleton::ItemEnum::Choice2> valuesImageLocation;
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("ImagesInFile");
    valuesImageLocation.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("ImagesInAppDir");
    valuesImageLocation.append( choice );
  }
  {
    KConfigSkeleton::ItemEnum::Choice2 choice;
    choice.name = QLatin1String("ImagesInLocalDir");
    valuesImageLocation.append( choice );
  }
  KConfigSkeleton::ItemEnum  *itemImageLocation;
  itemImageLocation = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "Image Location" ), mImageLocation, valuesImageLocation, ImagesInFile );
  addItem( itemImageLocation, QLatin1String( "ImageLocation" ) );
  KConfigSkeleton::ItemBool  *itemAskWriteImagesInFile;
  itemAskWriteImagesInFile = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Ask Write Images In File" ), mAskWriteImagesInFile, true );
  addItem( itemAskWriteImagesInFile, QLatin1String( "AskWriteImagesInFile" ) );
  KConfigSkeleton::ItemBool  *itemReopenLastFile;
  itemReopenLastFile = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Reopen Last File" ), mReopenLastFile, true );
  addItem( itemReopenLastFile, QLatin1String( "ReopenLastFile" ) );
  KConfigSkeleton::ItemBool  *itemAutoCapitalization;
  itemAutoCapitalization = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Auto Capitalization" ), mAutoCapitalization, true );
  addItem( itemAutoCapitalization, QLatin1String( "AutoCapitalization" ) );
  KConfigSkeleton::ItemBool  *itemAutoFormat;
  itemAutoFormat = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Auto Format" ), mAutoFormat, true );
  addItem( itemAutoFormat, QLatin1String( "AutoFormat" ) );
  KConfigSkeleton::ItemString  *itemLastOpenFile;
  itemLastOpenFile = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Last Open File" ), mLastOpenFile );
  addItem( itemLastOpenFile, QLatin1String( "LastOpenFile" ) );
  KConfigSkeleton::ItemString  *itemNoCapitalizationString;
  itemNoCapitalizationString = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "No Capitalization" ), mNoCapitalizationString, i18nc("comma-separated list of words ignored by auto-capitalize", "a,an,and,as,at,but,by,for,from,in,into,nor,of,off,on,onto,or,out,over,the,to,up,with") );
  addItem( itemNoCapitalizationString, QLatin1String( "noCapitalizationString" ) );
  KConfigSkeleton::ItemString  *itemArticlesString;
  itemArticlesString = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Articles" ), mArticlesString, i18nc("comma-separated list of articles ignored for title sorting", "the") );
  addItem( itemArticlesString, QLatin1String( "articlesString" ) );
  KConfigSkeleton::ItemString  *itemNameSuffixesString;
  itemNameSuffixesString = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Name Suffixes" ), mNameSuffixesString, i18nc("comma-separated list of common surname suffixes, used for sorting", "jr.,jr,iii,iv") );
  addItem( itemNameSuffixesString, QLatin1String( "nameSuffixesString" ) );
  KConfigSkeleton::ItemString  *itemSurnamePrefixesString;
  itemSurnamePrefixesString = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Surname Prefixes" ), mSurnamePrefixesString, i18nc("comma-separated list of common surname prefixes, used for sorting", "de,van,der,van der,von") );
  addItem( itemSurnamePrefixesString, QLatin1String( "surnamePrefixesString" ) );
  KConfigSkeleton::ItemInt  *itemMaxIconSize;
  itemMaxIconSize = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Max Icon Size" ), mMaxIconSize, 96 );
  addItem( itemMaxIconSize, QLatin1String( "MaxIconSize" ) );
  KConfigSkeleton::ItemInt  *itemIconCacheSize;
  itemIconCacheSize = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Icon Cache Size" ), mIconCacheSize, 1000 );
  addItem( itemIconCacheSize, QLatin1String( "IconCacheSize" ) );
  KConfigSkeleton::ItemInt  *itemImageCacheSize;
  itemImageCacheSize = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Image Cache Size" ), mImageCacheSize, (64 * 1024 * 1024) );
  addItem( itemImageCacheSize, QLatin1String( "ImageCacheSize" ) );
  KConfigSkeleton::ItemInt  *itemMaxCustomURLSettings;
  itemMaxCustomURLSettings = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Max Custom URL Settings" ), mMaxCustomURLSettings, 9 );
  addItem( itemMaxCustomURLSettings, QLatin1String( "MaxCustomURLSettings" ) );
  KConfigSkeleton::ItemBool  *itemEnableWebcam;
  itemEnableWebcam = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Enable Webcam" ), mEnableWebcam, true );
  addItem( itemEnableWebcam, QLatin1String( "EnableWebcam" ) );

  setCurrentGroup( QLatin1String( "Printing" ) );

  KConfigSkeleton::ItemBool  *itemPrintFieldHeaders;
  itemPrintFieldHeaders = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Print Field Headers" ), mPrintFieldHeaders, true );
  addItem( itemPrintFieldHeaders, QLatin1String( "PrintFieldHeaders" ) );
  KConfigSkeleton::ItemBool  *itemPrintFormatted;
  itemPrintFormatted = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Print Formatted" ), mPrintFormatted, true );
  addItem( itemPrintFormatted, QLatin1String( "PrintFormatted" ) );
  KConfigSkeleton::ItemBool  *itemPrintGrouped;
  itemPrintGrouped = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Print Grouped" ), mPrintGrouped, true );
  addItem( itemPrintGrouped, QLatin1String( "PrintGrouped" ) );
  KConfigSkeleton::ItemInt  *itemMaxImageWidth;
  itemMaxImageWidth = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Max Image Width" ), mMaxImageWidth, 50 );
  addItem( itemMaxImageWidth, QLatin1String( "MaxImageWidth" ) );
  KConfigSkeleton::ItemInt  *itemMaxImageHeight;
  itemMaxImageHeight = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Max Image Height" ), mMaxImageHeight, 50 );
  addItem( itemMaxImageHeight, QLatin1String( "MaxImageHeight" ) );

  setCurrentGroup( QLatin1String( "Options - book" ) );

  KConfigSkeleton::ItemString  *itemTemplateBook;
  itemTemplateBook = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Entry Template" ), mTemplateBook, QLatin1String( "Fancy" ) );
  addItem( itemTemplateBook, QLatin1String( "templateBook" ) );
  KConfigSkeleton::ItemFont  *itemFontBook;
  itemFontBook = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Template Font" ), mFontBook, KGlobalSettings::generalFont() );
  addItem( itemFontBook, QLatin1String( "fontBook" ) );
  KConfigSkeleton::ItemColor  *itemBaseColorBook;
  itemBaseColorBook = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Base Color" ), mBaseColorBook, KColorScheme(QPalette::Active).background().color() );
  addItem( itemBaseColorBook, QLatin1String( "baseColorBook" ) );
  KConfigSkeleton::ItemColor  *itemTextColorBook;
  itemTextColorBook = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Text Color" ), mTextColorBook, KColorScheme(QPalette::Active).foreground().color() );
  addItem( itemTextColorBook, QLatin1String( "textColorBook" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedBaseColorBook;
  itemHighlightedBaseColorBook = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlight Color" ), mHighlightedBaseColorBook, KColorScheme(QPalette::Active, KColorScheme::Selection).background().color() );
  addItem( itemHighlightedBaseColorBook, QLatin1String( "highlightedBaseColorBook" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedTextColorBook;
  itemHighlightedTextColorBook = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlighted Text Color" ), mHighlightedTextColorBook, KColorScheme(QPalette::Active, KColorScheme::Selection).foreground().color() );
  addItem( itemHighlightedTextColorBook, QLatin1String( "highlightedTextColorBook" ) );

  setCurrentGroup( QLatin1String( "Options - video" ) );

  KConfigSkeleton::ItemString  *itemTemplateVideo;
  itemTemplateVideo = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Entry Template" ), mTemplateVideo, QLatin1String( "Video" ) );
  addItem( itemTemplateVideo, QLatin1String( "templateVideo" ) );
  KConfigSkeleton::ItemFont  *itemFontVideo;
  itemFontVideo = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Template Font" ), mFontVideo, KGlobalSettings::generalFont() );
  addItem( itemFontVideo, QLatin1String( "fontVideo" ) );
  KConfigSkeleton::ItemColor  *itemBaseColorVideo;
  itemBaseColorVideo = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Base Color" ), mBaseColorVideo, KColorScheme(QPalette::Active).background().color() );
  addItem( itemBaseColorVideo, QLatin1String( "baseColorVideo" ) );
  KConfigSkeleton::ItemColor  *itemTextColorVideo;
  itemTextColorVideo = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Text Color" ), mTextColorVideo, KColorScheme(QPalette::Active).foreground().color() );
  addItem( itemTextColorVideo, QLatin1String( "textColorVideo" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedBaseColorVideo;
  itemHighlightedBaseColorVideo = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlight Color" ), mHighlightedBaseColorVideo, KColorScheme(QPalette::Active, KColorScheme::Selection).background().color() );
  addItem( itemHighlightedBaseColorVideo, QLatin1String( "highlightedBaseColorVideo" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedTextColorVideo;
  itemHighlightedTextColorVideo = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlighted Text Color" ), mHighlightedTextColorVideo, KColorScheme(QPalette::Active, KColorScheme::Selection).foreground().color() );
  addItem( itemHighlightedTextColorVideo, QLatin1String( "highlightedTextColorVideo" ) );

  setCurrentGroup( QLatin1String( "Options - album" ) );

  KConfigSkeleton::ItemString  *itemTemplateAlbum;
  itemTemplateAlbum = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Entry Template" ), mTemplateAlbum, QLatin1String( "Album" ) );
  addItem( itemTemplateAlbum, QLatin1String( "templateAlbum" ) );
  KConfigSkeleton::ItemFont  *itemFontAlbum;
  itemFontAlbum = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Template Font" ), mFontAlbum, KGlobalSettings::generalFont() );
  addItem( itemFontAlbum, QLatin1String( "fontAlbum" ) );
  KConfigSkeleton::ItemColor  *itemBaseColorAlbum;
  itemBaseColorAlbum = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Base Color" ), mBaseColorAlbum, KColorScheme(QPalette::Active).background().color() );
  addItem( itemBaseColorAlbum, QLatin1String( "baseColorAlbum" ) );
  KConfigSkeleton::ItemColor  *itemTextColorAlbum;
  itemTextColorAlbum = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Text Color" ), mTextColorAlbum, KColorScheme(QPalette::Active).foreground().color() );
  addItem( itemTextColorAlbum, QLatin1String( "textColorAlbum" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedBaseColorAlbum;
  itemHighlightedBaseColorAlbum = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlight Color" ), mHighlightedBaseColorAlbum, KColorScheme(QPalette::Active, KColorScheme::Selection).background().color() );
  addItem( itemHighlightedBaseColorAlbum, QLatin1String( "highlightedBaseColorAlbum" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedTextColorAlbum;
  itemHighlightedTextColorAlbum = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlighted Text Color" ), mHighlightedTextColorAlbum, KColorScheme(QPalette::Active, KColorScheme::Selection).foreground().color() );
  addItem( itemHighlightedTextColorAlbum, QLatin1String( "highlightedTextColorAlbum" ) );

  setCurrentGroup( QLatin1String( "Options - bibtex" ) );

  KConfigSkeleton::ItemPath  *itemLyxpipe;
  itemLyxpipe = new KConfigSkeleton::ItemPath( currentGroup(), QLatin1String( "lyxpipe" ), mLyxpipe, QLatin1String( "$HOME/.lyx/lyxpipe" ) );
  addItem( itemLyxpipe, QLatin1String( "lyxpipe" ) );
  KConfigSkeleton::ItemString  *itemTemplateBibtex;
  itemTemplateBibtex = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Entry Template" ), mTemplateBibtex, QLatin1String( "Fancy" ) );
  addItem( itemTemplateBibtex, QLatin1String( "templateBibtex" ) );
  KConfigSkeleton::ItemFont  *itemFontBibtex;
  itemFontBibtex = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Template Font" ), mFontBibtex, KGlobalSettings::generalFont() );
  addItem( itemFontBibtex, QLatin1String( "fontBibtex" ) );
  KConfigSkeleton::ItemColor  *itemBaseColorBibtex;
  itemBaseColorBibtex = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Base Color" ), mBaseColorBibtex, KColorScheme(QPalette::Active).background().color() );
  addItem( itemBaseColorBibtex, QLatin1String( "baseColorBibtex" ) );
  KConfigSkeleton::ItemColor  *itemTextColorBibtex;
  itemTextColorBibtex = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Text Color" ), mTextColorBibtex, KColorScheme(QPalette::Active).foreground().color() );
  addItem( itemTextColorBibtex, QLatin1String( "textColorBibtex" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedBaseColorBibtex;
  itemHighlightedBaseColorBibtex = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlight Color" ), mHighlightedBaseColorBibtex, KColorScheme(QPalette::Active, KColorScheme::Selection).background().color() );
  addItem( itemHighlightedBaseColorBibtex, QLatin1String( "highlightedBaseColorBibtex" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedTextColorBibtex;
  itemHighlightedTextColorBibtex = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlighted Text Color" ), mHighlightedTextColorBibtex, KColorScheme(QPalette::Active, KColorScheme::Selection).foreground().color() );
  addItem( itemHighlightedTextColorBibtex, QLatin1String( "highlightedTextColorBibtex" ) );

  setCurrentGroup( QLatin1String( "Options - comic" ) );

  KConfigSkeleton::ItemString  *itemTemplateComicBook;
  itemTemplateComicBook = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Entry Template" ), mTemplateComicBook, QLatin1String( "Fancy" ) );
  addItem( itemTemplateComicBook, QLatin1String( "templateComicBook" ) );
  KConfigSkeleton::ItemFont  *itemFontComicBook;
  itemFontComicBook = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Template Font" ), mFontComicBook, KGlobalSettings::generalFont() );
  addItem( itemFontComicBook, QLatin1String( "fontComicBook" ) );
  KConfigSkeleton::ItemColor  *itemBaseColorComicBook;
  itemBaseColorComicBook = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Base Color" ), mBaseColorComicBook, KColorScheme(QPalette::Active).background().color() );
  addItem( itemBaseColorComicBook, QLatin1String( "baseColorComicBook" ) );
  KConfigSkeleton::ItemColor  *itemTextColorComicBook;
  itemTextColorComicBook = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Text Color" ), mTextColorComicBook, KColorScheme(QPalette::Active).foreground().color() );
  addItem( itemTextColorComicBook, QLatin1String( "textColorComicBook" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedBaseColorComicBook;
  itemHighlightedBaseColorComicBook = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlight Color" ), mHighlightedBaseColorComicBook, KColorScheme(QPalette::Active, KColorScheme::Selection).background().color() );
  addItem( itemHighlightedBaseColorComicBook, QLatin1String( "highlightedBaseColorComicBook" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedTextColorComicBook;
  itemHighlightedTextColorComicBook = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlighted Text Color" ), mHighlightedTextColorComicBook, KColorScheme(QPalette::Active, KColorScheme::Selection).foreground().color() );
  addItem( itemHighlightedTextColorComicBook, QLatin1String( "highlightedTextColorComicBook" ) );

  setCurrentGroup( QLatin1String( "Options - wine" ) );

  KConfigSkeleton::ItemString  *itemTemplateWine;
  itemTemplateWine = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Entry Template" ), mTemplateWine, QLatin1String( "Fancy" ) );
  addItem( itemTemplateWine, QLatin1String( "templateWine" ) );
  KConfigSkeleton::ItemFont  *itemFontWine;
  itemFontWine = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Template Font" ), mFontWine, KGlobalSettings::generalFont() );
  addItem( itemFontWine, QLatin1String( "fontWine" ) );
  KConfigSkeleton::ItemColor  *itemBaseColorWine;
  itemBaseColorWine = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Base Color" ), mBaseColorWine, KColorScheme(QPalette::Active).background().color() );
  addItem( itemBaseColorWine, QLatin1String( "baseColorWine" ) );
  KConfigSkeleton::ItemColor  *itemTextColorWine;
  itemTextColorWine = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Text Color" ), mTextColorWine, KColorScheme(QPalette::Active).foreground().color() );
  addItem( itemTextColorWine, QLatin1String( "textColorWine" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedBaseColorWine;
  itemHighlightedBaseColorWine = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlight Color" ), mHighlightedBaseColorWine, KColorScheme(QPalette::Active, KColorScheme::Selection).background().color() );
  addItem( itemHighlightedBaseColorWine, QLatin1String( "highlightedBaseColorWine" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedTextColorWine;
  itemHighlightedTextColorWine = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlighted Text Color" ), mHighlightedTextColorWine, KColorScheme(QPalette::Active, KColorScheme::Selection).foreground().color() );
  addItem( itemHighlightedTextColorWine, QLatin1String( "highlightedTextColorWine" ) );

  setCurrentGroup( QLatin1String( "Options - coin" ) );

  KConfigSkeleton::ItemString  *itemTemplateCoin;
  itemTemplateCoin = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Entry Template" ), mTemplateCoin, QLatin1String( "Fancy" ) );
  addItem( itemTemplateCoin, QLatin1String( "templateCoin" ) );
  KConfigSkeleton::ItemFont  *itemFontCoin;
  itemFontCoin = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Template Font" ), mFontCoin, KGlobalSettings::generalFont() );
  addItem( itemFontCoin, QLatin1String( "fontCoin" ) );
  KConfigSkeleton::ItemColor  *itemBaseColorCoin;
  itemBaseColorCoin = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Base Color" ), mBaseColorCoin, KColorScheme(QPalette::Active).background().color() );
  addItem( itemBaseColorCoin, QLatin1String( "baseColorCoin" ) );
  KConfigSkeleton::ItemColor  *itemTextColorCoin;
  itemTextColorCoin = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Text Color" ), mTextColorCoin, KColorScheme(QPalette::Active).foreground().color() );
  addItem( itemTextColorCoin, QLatin1String( "textColorCoin" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedBaseColorCoin;
  itemHighlightedBaseColorCoin = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlight Color" ), mHighlightedBaseColorCoin, KColorScheme(QPalette::Active, KColorScheme::Selection).background().color() );
  addItem( itemHighlightedBaseColorCoin, QLatin1String( "highlightedBaseColorCoin" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedTextColorCoin;
  itemHighlightedTextColorCoin = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlighted Text Color" ), mHighlightedTextColorCoin, KColorScheme(QPalette::Active, KColorScheme::Selection).foreground().color() );
  addItem( itemHighlightedTextColorCoin, QLatin1String( "highlightedTextColorCoin" ) );

  setCurrentGroup( QLatin1String( "Options - stamp" ) );

  KConfigSkeleton::ItemString  *itemTemplateStamp;
  itemTemplateStamp = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Entry Template" ), mTemplateStamp, QLatin1String( "Fancy" ) );
  addItem( itemTemplateStamp, QLatin1String( "templateStamp" ) );
  KConfigSkeleton::ItemFont  *itemFontStamp;
  itemFontStamp = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Template Font" ), mFontStamp, KGlobalSettings::generalFont() );
  addItem( itemFontStamp, QLatin1String( "fontStamp" ) );
  KConfigSkeleton::ItemColor  *itemBaseColorStamp;
  itemBaseColorStamp = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Base Color" ), mBaseColorStamp, KColorScheme(QPalette::Active).background().color() );
  addItem( itemBaseColorStamp, QLatin1String( "baseColorStamp" ) );
  KConfigSkeleton::ItemColor  *itemTextColorStamp;
  itemTextColorStamp = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Text Color" ), mTextColorStamp, KColorScheme(QPalette::Active).foreground().color() );
  addItem( itemTextColorStamp, QLatin1String( "textColorStamp" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedBaseColorStamp;
  itemHighlightedBaseColorStamp = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlight Color" ), mHighlightedBaseColorStamp, KColorScheme(QPalette::Active, KColorScheme::Selection).background().color() );
  addItem( itemHighlightedBaseColorStamp, QLatin1String( "highlightedBaseColorStamp" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedTextColorStamp;
  itemHighlightedTextColorStamp = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlighted Text Color" ), mHighlightedTextColorStamp, KColorScheme(QPalette::Active, KColorScheme::Selection).foreground().color() );
  addItem( itemHighlightedTextColorStamp, QLatin1String( "highlightedTextColorStamp" ) );

  setCurrentGroup( QLatin1String( "Options - card" ) );

  KConfigSkeleton::ItemString  *itemTemplateCard;
  itemTemplateCard = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Entry Template" ), mTemplateCard, QLatin1String( "Fancy" ) );
  addItem( itemTemplateCard, QLatin1String( "templateCard" ) );
  KConfigSkeleton::ItemFont  *itemFontCard;
  itemFontCard = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Template Font" ), mFontCard, KGlobalSettings::generalFont() );
  addItem( itemFontCard, QLatin1String( "fontCard" ) );
  KConfigSkeleton::ItemColor  *itemBaseColorCard;
  itemBaseColorCard = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Base Color" ), mBaseColorCard, KColorScheme(QPalette::Active).background().color() );
  addItem( itemBaseColorCard, QLatin1String( "baseColorCard" ) );
  KConfigSkeleton::ItemColor  *itemTextColorCard;
  itemTextColorCard = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Text Color" ), mTextColorCard, KColorScheme(QPalette::Active).foreground().color() );
  addItem( itemTextColorCard, QLatin1String( "textColorCard" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedBaseColorCard;
  itemHighlightedBaseColorCard = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlight Color" ), mHighlightedBaseColorCard, KColorScheme(QPalette::Active, KColorScheme::Selection).background().color() );
  addItem( itemHighlightedBaseColorCard, QLatin1String( "highlightedBaseColorCard" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedTextColorCard;
  itemHighlightedTextColorCard = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlighted Text Color" ), mHighlightedTextColorCard, KColorScheme(QPalette::Active, KColorScheme::Selection).foreground().color() );
  addItem( itemHighlightedTextColorCard, QLatin1String( "highlightedTextColorCard" ) );

  setCurrentGroup( QLatin1String( "Options - game" ) );

  KConfigSkeleton::ItemString  *itemTemplateGame;
  itemTemplateGame = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Entry Template" ), mTemplateGame, QLatin1String( "Fancy" ) );
  addItem( itemTemplateGame, QLatin1String( "templateGame" ) );
  KConfigSkeleton::ItemFont  *itemFontGame;
  itemFontGame = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Template Font" ), mFontGame, KGlobalSettings::generalFont() );
  addItem( itemFontGame, QLatin1String( "fontGame" ) );
  KConfigSkeleton::ItemColor  *itemBaseColorGame;
  itemBaseColorGame = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Base Color" ), mBaseColorGame, KColorScheme(QPalette::Active).background().color() );
  addItem( itemBaseColorGame, QLatin1String( "baseColorGame" ) );
  KConfigSkeleton::ItemColor  *itemTextColorGame;
  itemTextColorGame = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Text Color" ), mTextColorGame, KColorScheme(QPalette::Active).foreground().color() );
  addItem( itemTextColorGame, QLatin1String( "textColorGame" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedBaseColorGame;
  itemHighlightedBaseColorGame = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlight Color" ), mHighlightedBaseColorGame, KColorScheme(QPalette::Active, KColorScheme::Selection).background().color() );
  addItem( itemHighlightedBaseColorGame, QLatin1String( "highlightedBaseColorGame" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedTextColorGame;
  itemHighlightedTextColorGame = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlighted Text Color" ), mHighlightedTextColorGame, KColorScheme(QPalette::Active, KColorScheme::Selection).foreground().color() );
  addItem( itemHighlightedTextColorGame, QLatin1String( "highlightedTextColorGame" ) );

  setCurrentGroup( QLatin1String( "Options - file" ) );

  KConfigSkeleton::ItemString  *itemTemplateFile;
  itemTemplateFile = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Entry Template" ), mTemplateFile, QLatin1String( "Fancy" ) );
  addItem( itemTemplateFile, QLatin1String( "templateFile" ) );
  KConfigSkeleton::ItemFont  *itemFontFile;
  itemFontFile = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Template Font" ), mFontFile, KGlobalSettings::generalFont() );
  addItem( itemFontFile, QLatin1String( "fontFile" ) );
  KConfigSkeleton::ItemColor  *itemBaseColorFile;
  itemBaseColorFile = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Base Color" ), mBaseColorFile, KColorScheme(QPalette::Active).background().color() );
  addItem( itemBaseColorFile, QLatin1String( "baseColorFile" ) );
  KConfigSkeleton::ItemColor  *itemTextColorFile;
  itemTextColorFile = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Text Color" ), mTextColorFile, KColorScheme(QPalette::Active).foreground().color() );
  addItem( itemTextColorFile, QLatin1String( "textColorFile" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedBaseColorFile;
  itemHighlightedBaseColorFile = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlight Color" ), mHighlightedBaseColorFile, KColorScheme(QPalette::Active, KColorScheme::Selection).background().color() );
  addItem( itemHighlightedBaseColorFile, QLatin1String( "highlightedBaseColorFile" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedTextColorFile;
  itemHighlightedTextColorFile = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlighted Text Color" ), mHighlightedTextColorFile, KColorScheme(QPalette::Active, KColorScheme::Selection).foreground().color() );
  addItem( itemHighlightedTextColorFile, QLatin1String( "highlightedTextColorFile" ) );

  setCurrentGroup( QLatin1String( "Options - boardgame" ) );

  KConfigSkeleton::ItemString  *itemTemplateBoardGame;
  itemTemplateBoardGame = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Entry Template" ), mTemplateBoardGame, QLatin1String( "Fancy" ) );
  addItem( itemTemplateBoardGame, QLatin1String( "templateBoardGame" ) );
  KConfigSkeleton::ItemFont  *itemFontBoardGame;
  itemFontBoardGame = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Template Font" ), mFontBoardGame, KGlobalSettings::generalFont() );
  addItem( itemFontBoardGame, QLatin1String( "fontBoardGame" ) );
  KConfigSkeleton::ItemColor  *itemBaseColorBoardGame;
  itemBaseColorBoardGame = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Base Color" ), mBaseColorBoardGame, KColorScheme(QPalette::Active).background().color() );
  addItem( itemBaseColorBoardGame, QLatin1String( "baseColorBoardGame" ) );
  KConfigSkeleton::ItemColor  *itemTextColorBoardGame;
  itemTextColorBoardGame = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Text Color" ), mTextColorBoardGame, KColorScheme(QPalette::Active).foreground().color() );
  addItem( itemTextColorBoardGame, QLatin1String( "textColorBoardGame" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedBaseColorBoardGame;
  itemHighlightedBaseColorBoardGame = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlight Color" ), mHighlightedBaseColorBoardGame, KColorScheme(QPalette::Active, KColorScheme::Selection).background().color() );
  addItem( itemHighlightedBaseColorBoardGame, QLatin1String( "highlightedBaseColorBoardGame" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedTextColorBoardGame;
  itemHighlightedTextColorBoardGame = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlighted Text Color" ), mHighlightedTextColorBoardGame, KColorScheme(QPalette::Active, KColorScheme::Selection).foreground().color() );
  addItem( itemHighlightedTextColorBoardGame, QLatin1String( "highlightedTextColorBoardGame" ) );

  setCurrentGroup( QLatin1String( "Options - entry" ) );

  KConfigSkeleton::ItemString  *itemTemplateBase;
  itemTemplateBase = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Entry Template" ), mTemplateBase, QLatin1String( "Fancy" ) );
  addItem( itemTemplateBase, QLatin1String( "templateBase" ) );
  KConfigSkeleton::ItemFont  *itemFontBase;
  itemFontBase = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "Template Font" ), mFontBase, KGlobalSettings::generalFont() );
  addItem( itemFontBase, QLatin1String( "fontBase" ) );
  KConfigSkeleton::ItemColor  *itemBaseColorBase;
  itemBaseColorBase = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Base Color" ), mBaseColorBase, KColorScheme(QPalette::Active).background().color() );
  addItem( itemBaseColorBase, QLatin1String( "baseColorBase" ) );
  KConfigSkeleton::ItemColor  *itemTextColorBase;
  itemTextColorBase = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Text Color" ), mTextColorBase, KColorScheme(QPalette::Active).foreground().color() );
  addItem( itemTextColorBase, QLatin1String( "textColorBase" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedBaseColorBase;
  itemHighlightedBaseColorBase = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlight Color" ), mHighlightedBaseColorBase, KColorScheme(QPalette::Active, KColorScheme::Selection).background().color() );
  addItem( itemHighlightedBaseColorBase, QLatin1String( "highlightedBaseColorBase" ) );
  KConfigSkeleton::ItemColor  *itemHighlightedTextColorBase;
  itemHighlightedTextColorBase = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "Template Highlighted Text Color" ), mHighlightedTextColorBase, KColorScheme(QPalette::Active, KColorScheme::Selection).foreground().color() );
  addItem( itemHighlightedTextColorBase, QLatin1String( "highlightedTextColorBase" ) );
}

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

