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

#include "kmymoneysettings.h"

#include <kstaticdeleter.h>

KMyMoneySettings *KMyMoneySettings::mSelf = 0;
static KStaticDeleter<KMyMoneySettings> staticKMyMoneySettingsDeleter;

KMyMoneySettings *KMyMoneySettings::self()
{
  if ( !mSelf ) {
    staticKMyMoneySettingsDeleter.setObject( mSelf, new KMyMoneySettings() );
    mSelf->readConfig();
  }

  return mSelf;
}

KMyMoneySettings::KMyMoneySettings(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "kmymoney2rc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "General Options" ) );

  TDEConfigSkeleton::ItemBool  *itemAlwaysShowNrField;
  itemAlwaysShowNrField = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AlwaysShowNrField" ), mAlwaysShowNrField, false );
  addItem( itemAlwaysShowNrField, TQString::fromLatin1( "AlwaysShowNrField" ) );
  TDEConfigSkeleton::ItemInt  *itemAutoFillTransaction;
  itemAutoFillTransaction = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "AutoFillTransaction" ), mAutoFillTransaction, 1 );
  addItem( itemAutoFillTransaction, TQString::fromLatin1( "AutoFillTransaction" ) );
  TDEConfigSkeleton::ItemBool  *itemAutoReusePayee;
  itemAutoReusePayee = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AutoReusePayee" ), mAutoReusePayee, true );
  addItem( itemAutoReusePayee, TQString::fromLatin1( "AutoReusePayee" ) );
  TDEConfigSkeleton::ItemInt  *itemAutoFillDifference;
  itemAutoFillDifference = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "AutoFillDifference" ), mAutoFillDifference, 10 );
  addItem( itemAutoFillDifference, TQString::fromLatin1( "AutoFillDifference" ) );
  TDEConfigSkeleton::ItemBool  *itemAutoIncCheckNumber;
  itemAutoIncCheckNumber = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AutoIncCheckNumber" ), mAutoIncCheckNumber, true );
  addItem( itemAutoIncCheckNumber, TQString::fromLatin1( "AutoIncCheckNumber" ) );
  TDEConfigSkeleton::ItemBool  *itemAutoSaveFile;
  itemAutoSaveFile = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "AutoSaveFile" ), mAutoSaveFile, false );
  addItem( itemAutoSaveFile, TQString::fromLatin1( "AutoSaveFile" ) );
  TDEConfigSkeleton::ItemInt  *itemAutoSavePeriod;
  itemAutoSavePeriod = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "AutoSavePeriod" ), mAutoSavePeriod, 10 );
  itemAutoSavePeriod->setMinValue(0);
  itemAutoSavePeriod->setMaxValue(60);
  addItem( itemAutoSavePeriod, TQString::fromLatin1( "AutoSavePeriod" ) );
  TDEConfigSkeleton::ItemBool  *itemCheckSchedule;
  itemCheckSchedule = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CheckSchedule" ), mCheckSchedule, false );
  addItem( itemCheckSchedule, TQString::fromLatin1( "CheckSchedule" ) );
  TDEConfigSkeleton::ItemInt  *itemCheckSchedulePreview;
  itemCheckSchedulePreview = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "CheckSchedulePreview" ), mCheckSchedulePreview, 0 );
  itemCheckSchedulePreview->setMinValue(0);
  itemCheckSchedulePreview->setMaxValue(999);
  addItem( itemCheckSchedulePreview, TQString::fromLatin1( "CheckSchedulePreview" ) );
  TDEConfigSkeleton::ItemString  *itemExternalCalculator;
  itemExternalCalculator = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "ExternalCalculator" ), mExternalCalculator, TQString::fromLatin1( "kcalc" ) );
  addItem( itemExternalCalculator, TQString::fromLatin1( "ExternalCalculator" ) );
  TDEConfigSkeleton::ItemInt  *itemSchedulePreview;
  itemSchedulePreview = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "SchedulePreview" ), mSchedulePreview, 0 );
  itemSchedulePreview->setMinValue(0);
  itemSchedulePreview->setMaxValue(999);
  addItem( itemSchedulePreview, TQString::fromLatin1( "SchedulePreview" ) );
  TDEConfigSkeleton::ItemBool  *itemCopyTypeToNr;
  itemCopyTypeToNr = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CopyTypeToNr" ), mCopyTypeToNr, false );
  addItem( itemCopyTypeToNr, TQString::fromLatin1( "CopyTypeToNr" ) );
  TDEConfigSkeleton::ItemBool  *itemFocusChangeIsEnter;
  itemFocusChangeIsEnter = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "FocusChangeIsEnter" ), mFocusChangeIsEnter, false );
  addItem( itemFocusChangeIsEnter, TQString::fromLatin1( "FocusChangeIsEnter" ) );
  TDEConfigSkeleton::ItemBool  *itemEnterMovesBetweenFields;
  itemEnterMovesBetweenFields = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EnterMovesBetweenFields" ), mEnterMovesBetweenFields, false );
  addItem( itemEnterMovesBetweenFields, TQString::fromLatin1( "EnterMovesBetweenFields" ) );
  TDEConfigSkeleton::ItemBool  *itemLedgerLens;
  itemLedgerLens = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "LedgerLens" ), mLedgerLens, false );
  addItem( itemLedgerLens, TQString::fromLatin1( "LedgerLens" ) );
  TDEConfigSkeleton::ItemInt  *itemPricePrecision;
  itemPricePrecision = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "PricePrecision" ), mPricePrecision, 4 );
  itemPricePrecision->setMinValue(4);
  itemPricePrecision->setMaxValue(10);
  addItem( itemPricePrecision, TQString::fromLatin1( "PricePrecision" ) );
  TDEConfigSkeleton::ItemBool  *itemPriceHistoryUpdate;
  itemPriceHistoryUpdate = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PriceHistoryUpdate" ), mPriceHistoryUpdate, true );
  addItem( itemPriceHistoryUpdate, TQString::fromLatin1( "PriceHistoryUpdate" ) );
  TDEConfigSkeleton::ItemBool  *itemTransactionForm;
  itemTransactionForm = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "TransactionForm" ), mTransactionForm, true );
  addItem( itemTransactionForm, TQString::fromLatin1( "TransactionForm" ) );
  TDEConfigSkeleton::ItemInt  *itemStartLastViewSelected;
  itemStartLastViewSelected = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "StartLastViewSelected" ), mStartLastViewSelected, 0 );
  addItem( itemStartLastViewSelected, TQString::fromLatin1( "StartLastViewSelected" ) );
  TDEConfigSkeleton::ItemBool  *itemWriteDataEncrypted;
  itemWriteDataEncrypted = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "WriteDataEncrypted" ), mWriteDataEncrypted, false );
  addItem( itemWriteDataEncrypted, TQString::fromLatin1( "WriteDataEncrypted" ) );
  TDEConfigSkeleton::ItemBool  *itemEncryptRecover;
  itemEncryptRecover = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "EncryptRecover" ), mEncryptRecover, false );
  addItem( itemEncryptRecover, TQString::fromLatin1( "EncryptRecover" ) );
  TDEConfigSkeleton::ItemString  *itemGpgRecipient;
  itemGpgRecipient = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "GpgRecipient" ), mGpgRecipient );
  addItem( itemGpgRecipient, TQString::fromLatin1( "GpgRecipient" ) );
  TDEConfigSkeleton::ItemStringList  *itemGpgRecipientList;
  itemGpgRecipientList = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "GpgRecipientList" ), mGpgRecipientList );
  addItem( itemGpgRecipientList, TQString::fromLatin1( "GpgRecipientList" ) );
  TDEConfigSkeleton::ItemBool  *itemExpertMode;
  itemExpertMode = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ExpertMode" ), mExpertMode, false );
  addItem( itemExpertMode, TQString::fromLatin1( "ExpertMode" ) );
  TDEConfigSkeleton::ItemBool  *itemShowSplash;
  itemShowSplash = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowSplash" ), mShowSplash, true );
  addItem( itemShowSplash, TQString::fromLatin1( "ShowSplash" ) );
  TDEConfigSkeleton::ItemBool  *itemSyncLedgerInvestment;
  itemSyncLedgerInvestment = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "syncLedgerInvestment" ), mSyncLedgerInvestment, true );
  addItem( itemSyncLedgerInvestment, TQString::fromLatin1( "syncLedgerInvestment" ) );
  TDEConfigSkeleton::ItemInt  *itemIconSize;
  itemIconSize = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "iconSize" ), mIconSize, 2 );
  addItem( itemIconSize, TQString::fromLatin1( "iconSize" ) );
  TDEConfigSkeleton::ItemString  *itemHiddenViews;
  itemHiddenViews = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "hiddenViews" ), mHiddenViews );
  addItem( itemHiddenViews, TQString::fromLatin1( "hiddenViews" ) );
  TDEConfigSkeleton::ItemBool  *itemFirstTimeRun;
  itemFirstTimeRun = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "firstTimeRun" ), mFirstTimeRun, true );
  addItem( itemFirstTimeRun, TQString::fromLatin1( "firstTimeRun" ) );
  TDEConfigSkeleton::ItemBool  *itemShowTitleBar;
  itemShowTitleBar = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "showTitleBar" ), mShowTitleBar, true );
  addItem( itemShowTitleBar, TQString::fromLatin1( "showTitleBar" ) );
  TDEConfigSkeleton::ItemBool  *itemStringMatchFromStart;
  itemStringMatchFromStart = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "stringMatchFromStart" ), mStringMatchFromStart, false );
  addItem( itemStringMatchFromStart, TQString::fromLatin1( "stringMatchFromStart" ) );
  TDEConfigSkeleton::ItemString  *itemStdTransactionFormTabOrder;
  itemStdTransactionFormTabOrder = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "stdTransactionFormTabOrder" ), mStdTransactionFormTabOrder, TQString::fromLatin1( "account,cashflow,payee,category,memo,number,date,amount,state" ) );
  addItem( itemStdTransactionFormTabOrder, TQString::fromLatin1( "stdTransactionFormTabOrder" ) );
  TDEConfigSkeleton::ItemString  *itemStdTransactionRegisterTabOrder;
  itemStdTransactionRegisterTabOrder = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "stdTransactionRegisterTabOrder" ), mStdTransactionRegisterTabOrder, TQString::fromLatin1( "number,date,payee,category,memo,payment,deposit,state" ) );
  addItem( itemStdTransactionRegisterTabOrder, TQString::fromLatin1( "stdTransactionRegisterTabOrder" ) );

  setCurrentGroup( TQString::fromLatin1( "Homepage Options" ) );

  TDEConfigSkeleton::ItemString  *itemItemList;
  itemItemList = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "ItemList" ), mItemList, TQString::fromLatin1( "8,1,2,3,4,5,6,7,-9,10" ) );
  addItem( itemItemList, TQString::fromLatin1( "ItemList" ) );
  TDEConfigSkeleton::ItemInt  *itemFontSizePercentage;
  itemFontSizePercentage = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "FontSizePercentage" ), mFontSizePercentage, 100 );
  addItem( itemFontSizePercentage, TQString::fromLatin1( "FontSizePercentage" ) );
  TDEConfigSkeleton::ItemBool  *itemRememberFontSize;
  itemRememberFontSize = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RememberFontSize" ), mRememberFontSize, true );
  addItem( itemRememberFontSize, TQString::fromLatin1( "RememberFontSize" ) );
  TDEConfigSkeleton::ItemBool  *itemShowLimitInfo;
  itemShowLimitInfo = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowLimitInfo" ), mShowLimitInfo, true );
  addItem( itemShowLimitInfo, TQString::fromLatin1( "ShowLimitInfo" ) );

  setCurrentGroup( TQString::fromLatin1( "List Options" ) );

  TDEConfigSkeleton::ItemBool  *itemHideUnusedCategory;
  itemHideUnusedCategory = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "HideUnusedCategory" ), mHideUnusedCategory, false );
  addItem( itemHideUnusedCategory, TQString::fromLatin1( "HideUnusedCategory" ) );
  TDEConfigSkeleton::ItemBool  *itemHideClosedAccounts;
  itemHideClosedAccounts = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "HideClosedAccounts" ), mHideClosedAccounts, false );
  addItem( itemHideClosedAccounts, TQString::fromLatin1( "HideClosedAccounts" ) );
  TDEConfigSkeleton::ItemBool  *itemHideFinishedSchedules;
  itemHideFinishedSchedules = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "HideFinishedSchedules" ), mHideFinishedSchedules, false );
  addItem( itemHideFinishedSchedules, TQString::fromLatin1( "HideFinishedSchedules" ) );
  TDEConfigSkeleton::ItemBool  *itemHideReconciledTransactions;
  itemHideReconciledTransactions = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "HideReconciledTransactions" ), mHideReconciledTransactions, false );
  addItem( itemHideReconciledTransactions, TQString::fromLatin1( "HideReconciledTransactions" ) );
  TDEConfigSkeleton::ItemBool  *itemShowRegisterDetailed;
  itemShowRegisterDetailed = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowRegisterDetailed" ), mShowRegisterDetailed, false );
  addItem( itemShowRegisterDetailed, TQString::fromLatin1( "ShowRegisterDetailed" ) );
  TDEConfigSkeleton::ItemBool  *itemShowGrid;
  itemShowGrid = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowGrid" ), mShowGrid, true );
  addItem( itemShowGrid, TQString::fromLatin1( "ShowGrid" ) );
  TDEConfigSkeleton::ItemBool  *itemShowFancyMarker;
  itemShowFancyMarker = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowFancyMarker" ), mShowFancyMarker, true );
  addItem( itemShowFancyMarker, TQString::fromLatin1( "ShowFancyMarker" ) );
  TDEConfigSkeleton::ItemBool  *itemShowFiscalMarker;
  itemShowFiscalMarker = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "ShowFiscalMarker" ), mShowFiscalMarker, true );
  addItem( itemShowFiscalMarker, TQString::fromLatin1( "ShowFiscalMarker" ) );
  TDEConfigSkeleton::ItemInt  *itemFiscalYearBegin;
  itemFiscalYearBegin = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "FiscalYearBegin" ), mFiscalYearBegin, 0 );
  itemFiscalYearBegin->setMinValue(0);
  itemFiscalYearBegin->setMaxValue(11);
  addItem( itemFiscalYearBegin, TQString::fromLatin1( "FiscalYearBegin" ) );
  TDEConfigSkeleton::ItemInt  *itemFiscalYearBeginDay;
  itemFiscalYearBeginDay = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "FiscalYearBeginDay" ), mFiscalYearBeginDay, 1 );
  itemFiscalYearBeginDay->setMinValue(1);
  itemFiscalYearBeginDay->setMaxValue(28);
  addItem( itemFiscalYearBeginDay, TQString::fromLatin1( "FiscalYearBeginDay" ) );
  TDEConfigSkeleton::ItemDateTime  *itemStartDate;
  itemStartDate = new TDEConfigSkeleton::ItemDateTime( currentGroup(), TQString::fromLatin1( "StartDate" ), mStartDate, TQDateTime::fromString("1900-01-01T00:00:00", TQt::ISODate) );
  addItem( itemStartDate, TQString::fromLatin1( "StartDate" ) );
  TDEConfigSkeleton::ItemBool  *itemUseSystemColors;
  itemUseSystemColors = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "useSystemColors" ), mUseSystemColors, false );
  addItem( itemUseSystemColors, TQString::fromLatin1( "useSystemColors" ) );
  TDEConfigSkeleton::ItemColor  *itemListColor;
  itemListColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "listColor" ), mListColor, TQColor( 240,240,240 ) );
  addItem( itemListColor, TQString::fromLatin1( "listColor" ) );
  TDEConfigSkeleton::ItemColor  *itemListBGColor;
  itemListBGColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "listBGColor" ), mListBGColor, TQColor( 255,255,255 ) );
  addItem( itemListBGColor, TQString::fromLatin1( "listBGColor" ) );
  TDEConfigSkeleton::ItemColor  *itemListGridColor;
  itemListGridColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "listGridColor" ), mListGridColor, TQColor( 154,154,154 ) );
  addItem( itemListGridColor, TQString::fromLatin1( "listGridColor" ) );
  TDEConfigSkeleton::ItemColor  *itemImportedTransactionColor;
  itemImportedTransactionColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "importedTransactionColor" ), mImportedTransactionColor, TQColor( 255,255,0 ) );
  addItem( itemImportedTransactionColor, TQString::fromLatin1( "importedTransactionColor" ) );
  TDEConfigSkeleton::ItemColor  *itemMatchedTransactionColor;
  itemMatchedTransactionColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "matchedTransactionColor" ), mMatchedTransactionColor, TQColor( 152,251,152 ) );
  addItem( itemMatchedTransactionColor, TQString::fromLatin1( "matchedTransactionColor" ) );
  TDEConfigSkeleton::ItemColor  *itemListErronousTransactionColor;
  itemListErronousTransactionColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "listErronousTransactionColor" ), mListErronousTransactionColor, TQColor( 255,0,0 ) );
  addItem( itemListErronousTransactionColor, TQString::fromLatin1( "listErronousTransactionColor" ) );
  TDEConfigSkeleton::ItemColor  *itemListMissingConversionRate;
  itemListMissingConversionRate = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "listMissingConversionRate" ), mListMissingConversionRate, TQColor( 0,0,255 ) );
  addItem( itemListMissingConversionRate, TQString::fromLatin1( "listMissingConversionRate" ) );
  TDEConfigSkeleton::ItemColor  *itemListNegativeValueColor;
  itemListNegativeValueColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "listNegativeValueColor" ), mListNegativeValueColor, TQColor( 255,0,0 ) );
  addItem( itemListNegativeValueColor, TQString::fromLatin1( "listNegativeValueColor" ) );
  TDEConfigSkeleton::ItemColor  *itemGroupMarkerColor;
  itemGroupMarkerColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "groupMarkerColor" ), mGroupMarkerColor, TQColor( 255,242,155 ) );
  addItem( itemGroupMarkerColor, TQString::fromLatin1( "groupMarkerColor" ) );
  TDEConfigSkeleton::ItemColor  *itemRequiredFieldColor;
  itemRequiredFieldColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "requiredFieldColor" ), mRequiredFieldColor, TQColor( 255,255,221 ) );
  addItem( itemRequiredFieldColor, TQString::fromLatin1( "requiredFieldColor" ) );
  TDEConfigSkeleton::ItemBool  *itemUseSystemFont;
  itemUseSystemFont = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "useSystemFont" ), mUseSystemFont, false );
  addItem( itemUseSystemFont, TQString::fromLatin1( "useSystemFont" ) );
  TDEConfigSkeleton::ItemFont  *itemListCellFont;
  itemListCellFont = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "listCellFont" ), mListCellFont );
  addItem( itemListCellFont, TQString::fromLatin1( "listCellFont" ) );
  TDEConfigSkeleton::ItemFont  *itemListHeaderFont;
  itemListHeaderFont = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "listHeaderFont" ), mListHeaderFont );
  addItem( itemListHeaderFont, TQString::fromLatin1( "listHeaderFont" ) );
  TDEConfigSkeleton::ItemString  *itemSortNormalView;
  itemSortNormalView = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "sortNormalView" ), mSortNormalView, TQString::fromLatin1( "1,-9,-4" ) );
  addItem( itemSortNormalView, TQString::fromLatin1( "sortNormalView" ) );
  TDEConfigSkeleton::ItemString  *itemSortReconcileView;
  itemSortReconcileView = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "sortReconcileView" ), mSortReconcileView, TQString::fromLatin1( "1,-4" ) );
  addItem( itemSortReconcileView, TQString::fromLatin1( "sortReconcileView" ) );
  TDEConfigSkeleton::ItemString  *itemSortSearchView;
  itemSortSearchView = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "sortSearchView" ), mSortSearchView, TQString::fromLatin1( "1,-9,-4" ) );
  addItem( itemSortSearchView, TQString::fromLatin1( "sortSearchView" ) );
  TDEConfigSkeleton::ItemInt  *itemDefaultReconciliationState;
  itemDefaultReconciliationState = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "defaultReconciliationState" ), mDefaultReconciliationState, 0 );
  addItem( itemDefaultReconciliationState, TQString::fromLatin1( "defaultReconciliationState" ) );

  setCurrentGroup( TQString::fromLatin1( "Import options" ) );

  TDEConfigSkeleton::ItemInt  *itemMatchInterval;
  itemMatchInterval = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "matchInterval" ), mMatchInterval, 4 );
  addItem( itemMatchInterval, TQString::fromLatin1( "matchInterval" ) );
  TDEConfigSkeleton::ItemBool  *itemAskForPayeeCategory;
  itemAskForPayeeCategory = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "askForPayeeCategory" ), mAskForPayeeCategory, false );
  addItem( itemAskForPayeeCategory, TQString::fromLatin1( "askForPayeeCategory" ) );

  setCurrentGroup( TQString::fromLatin1( "Forecast Options" ) );

  TDEConfigSkeleton::ItemInt  *itemForecastMethod;
  itemForecastMethod = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "forecastMethod" ), mForecastMethod, 0 );
  addItem( itemForecastMethod, TQString::fromLatin1( "forecastMethod" ) );
  TDEConfigSkeleton::ItemInt  *itemForecastDays;
  itemForecastDays = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "forecastDays" ), mForecastDays, 90 );
  itemForecastDays->setMinValue(1);
  itemForecastDays->setMaxValue(999);
  addItem( itemForecastDays, TQString::fromLatin1( "forecastDays" ) );
  TDEConfigSkeleton::ItemInt  *itemForecastAccountCycle;
  itemForecastAccountCycle = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "forecastAccountCycle" ), mForecastAccountCycle, 30 );
  itemForecastAccountCycle->setMinValue(1);
  itemForecastAccountCycle->setMaxValue(999);
  addItem( itemForecastAccountCycle, TQString::fromLatin1( "forecastAccountCycle" ) );
  TDEConfigSkeleton::ItemInt  *itemForecastCycles;
  itemForecastCycles = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "forecastCycles" ), mForecastCycles, 3 );
  itemForecastCycles->setMinValue(1);
  itemForecastCycles->setMaxValue(999);
  addItem( itemForecastCycles, TQString::fromLatin1( "forecastCycles" ) );
  TDEConfigSkeleton::ItemInt  *itemBeginForecastDay;
  itemBeginForecastDay = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "beginForecastDay" ), mBeginForecastDay, 0 );
  itemBeginForecastDay->setMinValue(0);
  itemBeginForecastDay->setMaxValue(31);
  addItem( itemBeginForecastDay, TQString::fromLatin1( "beginForecastDay" ) );
  TDEConfigSkeleton::ItemInt  *itemHistoryMethod;
  itemHistoryMethod = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "historyMethod" ), mHistoryMethod, 1 );
  addItem( itemHistoryMethod, TQString::fromLatin1( "historyMethod" ) );
  TDEConfigSkeleton::ItemBool  *itemSkipOpeningDate;
  itemSkipOpeningDate = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "skipOpeningDate" ), mSkipOpeningDate, true );
  addItem( itemSkipOpeningDate, TQString::fromLatin1( "skipOpeningDate" ) );
  TDEConfigSkeleton::ItemBool  *itemIncludeFutureTransactions;
  itemIncludeFutureTransactions = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "includeFutureTransactions" ), mIncludeFutureTransactions, true );
  addItem( itemIncludeFutureTransactions, TQString::fromLatin1( "includeFutureTransactions" ) );
  TDEConfigSkeleton::ItemBool  *itemIncludeScheduledTransactions;
  itemIncludeScheduledTransactions = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "includeScheduledTransactions" ), mIncludeScheduledTransactions, true );
  addItem( itemIncludeScheduledTransactions, TQString::fromLatin1( "includeScheduledTransactions" ) );

  setCurrentGroup( TQString::fromLatin1( "QIF Options" ) );

  TDEConfigSkeleton::ItemString  *itemQifCash;
  itemQifCash = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "qifCash" ), mQifCash, TQString::fromLatin1( "Bar" ) );
  addItem( itemQifCash, TQString::fromLatin1( "qifCash" ) );
  TDEConfigSkeleton::ItemString  *itemQifBank;
  itemQifBank = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "qifBank" ), mQifBank, TQString::fromLatin1( "Banca,Banque" ) );
  addItem( itemQifBank, TQString::fromLatin1( "qifBank" ) );
  TDEConfigSkeleton::ItemString  *itemQifCreditCard;
  itemQifCreditCard = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "qifCreditCard" ), mQifCreditCard, TQString::fromLatin1( "Kreditkarte" ) );
  addItem( itemQifCreditCard, TQString::fromLatin1( "qifCreditCard" ) );
  TDEConfigSkeleton::ItemString  *itemQifAsset;
  itemQifAsset = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "qifAsset" ), mQifAsset, TQString::fromLatin1( "And. Kto." ) );
  addItem( itemQifAsset, TQString::fromLatin1( "qifAsset" ) );
  TDEConfigSkeleton::ItemString  *itemQifOpeningBalance;
  itemQifOpeningBalance = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "qifOpeningBalance" ), mQifOpeningBalance, TQString::fromUtf8( "Eröffnungssaldo" ) );
  addItem( itemQifOpeningBalance, TQString::fromLatin1( "qifOpeningBalance" ) );
  TDEConfigSkeleton::ItemString  *itemQifInvoice;
  itemQifInvoice = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "qifInvoice" ), mQifInvoice, TQString::fromLatin1( "Rechnung" ) );
  addItem( itemQifInvoice, TQString::fromLatin1( "qifInvoice" ) );

  setCurrentGroup( TQString::fromLatin1( "Account View Settings" ) );

  TDEConfigSkeleton::ItemBool  *itemShowAccountsExpanded;
  itemShowAccountsExpanded = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "showAccountsExpanded" ), mShowAccountsExpanded, false );
  addItem( itemShowAccountsExpanded, TQString::fromLatin1( "showAccountsExpanded" ) );
}

KMyMoneySettings::~KMyMoneySettings()
{
  if ( mSelf == this )
    staticKMyMoneySettingsDeleter.setObject( mSelf, 0, false );
}

